当前位置:网站首页>[simple understanding of database]
[simple understanding of database]
2022-04-23 17:11:00 【ZHZHK001】
Look at the great God comment , I selectively add
Too complicated , Even if it's too professional
Programming beginners don't just , The level is very low , I hope someone can answer 、 Add .
Update time :2021-12-30
=======================================================================
mysql
MYSQL Is a perfect server database . Comprehensive function , Integration , Pursue maximum concurrency efficiency
Large amount of data 、 Multi function , Need to install
System requirements
It takes... To install Space 【 edition -- 】
The requirements for hardware are relatively low
Data backup and restore
Generally use tools or commands for backup
You can also use the folder method to back up and restore data , It will be more troublesome to operate , Looks like we need two computers mysql Consistent configuration , Never used
application
Website, etc
rest
It seems that there is also a table space , Not enough technology , Think about it later
Start using ( For the first time )
1、 New database
CREATE DATABASE K01;
--( Note that the last semicolon is required for some occasions )【Navicat There is no semicolon in , It is also possible to execute after selecting 】
-- This statement needs to be upgraded Need to add UTF-8, Sorting also needs to specify
2、 A new user
CREATE USER 'K001'@'localhost' IDENTIFIED BY 'K0001';
-- user name K001
--localhost Represents a local user
-- password K0001
3、 Authorized users can use the established database
grant all on K01.* to 'K001'@'localhost' identified by 'K0001';
-- database K01
-- user name K001
-- password K0001
-- The authorized content is all permissions
4、 Build table
=======================================================================
Oracle
Large amount of data 、 Multi function , Need to install
System requirements
It takes... To install 5 individual G Space –11G edition
There are certain requirements for computer configuration
cost
The database is free –11G
Table space – surface -- Field
user
Data backup and restore
The database data file cannot be simply realized by copying the database file
For general data migration, use the command 、 Use tools to achieve
application
Website 、 Banks, etc
Start using ( For the first time )
1、 New tablespace
2、 A new user
3、 Authorization management
4、 Build table ……
=======================================================================
sqlite
It's a file database , Everything , It's all in one file
Not protected by copyright
Can be simple , miniaturization , Pursue maximum disk efficiency
sqlite Is a small database , Simple, portable, no installation, just a few files .
System requirements
It takes... To install 131M Space
Low requirements for hardware
cost
The database is free
Tools :
sqliteexpert There are professional version and paid version
Navicat It can also be used
And Oracle Comparison
sqlite The database doesn't have anything like Oracle Users of 、 Table space or something
sqlite New database Can't design the password when opening , Data is transparent , Anyone can open it , Low safety performance
And Oracle、MySQL、SQL Server When the database is different , It can be embedded in the program , Is an integral part of the program
Data backup and restore
as long as Database file replication Then it can be easily reused
Not affected by the operating system 、 The impact of configuration
Reinstall the system , As long as the data file is
As long as the corresponding version of database software is also installed , Can open data files
application
General cell phones , Terminals are used more
When learning programming, you can use , After all, database files are easy to submit to teachers for viewing
Start using ( For the first time )
1、 Create a new database file
– password-less No users No tablespace There are database files No database selection
2、 Build table
=======================================================================
Access
Large amount of data 、 Multi function , Need to install
It seems that you can also learn from excel Read data from , I don't know how to update data ! It should be possible
System requirements
It takes... To install Space 【 edition -- 】
The requirements for hardware depend on the software version ,access2003、2007 Lower requirements for computers
And sqlite Comparison
sqlite Database has no password
access You can set the password
Data backup and restore
As long as the database file is copied, it can be easily reused
Not affected by the operating system 、 The impact of configuration
Reinstall the system , As long as the data file is
As long as the corresponding version of database software is also installed , Can open data files
application
Website, etc
=======================================================================
Excel
There is a limit on the number of lines
xls----------65536 That's ok --------6W
xlsx-----1048576 That's ok -----100W【2007 And above 】
System requirements
It takes... To install Space 【 edition -- 】
The computer is basically OK , The hardware requirements are not high
cost
WPS It's free. , Many specific functions need to be charged
Msoffice Is the charge
Many free software also use this format , evermore office、openoffice
A file , The data is all in it
Direct copy 、 edit 、 open
But how to add, delete, change and check in the program , I haven't thought about how to write code yet !
Data backup and restore
As long as the database file is copied, it can be easily reused
Not affected by the operating system 、 The impact of configuration
Reinstall the system , As long as the data file is
As long as the corresponding version of database software is also installed , Can open data files
According to the distribution of 、 share 、 Printing is very convenient
application
Office software
=======================================================================
SQL Server
No contact with For the time being
=======================================================================
版权声明
本文为[ZHZHK001]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230553251452.html
边栏推荐
- CentOS MySQL multi instance deployment
- About stream flow, write it down briefly------
- Shell script -- shell programming specification and variables
- PHP efficiently reads large files and processes data
- . net type transfer
- Conversion between hexadecimal numbers
- TypeError: set_ figure_ params() got an unexpected keyword argument ‘figsize‘
- Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
- Promise (III)
- Kingdee Cloud Star API calling practice
猜你喜欢

Shell script -- shell programming specification and variables

Get the column name list of the table quickly in Oracle

Clickhouse table engine

1-1 NodeJS
![[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof](/img/71/14a17128dbe0f02edb4db3da479ef2.jpg)
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
![Customize my_ Strcpy and library strcpy [analog implementation of string related functions]](/img/71/a6a0c7b0e652d2b807f259f7cbf139.png)
Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
![Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers](/img/65/89473397da4217201eeee85aef3c10.png)
Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers

On lambda powertools typescript

The new MySQL table has a self increasing ID of 20 bits. The reason is

快时钟同步慢时钟域下的异步控制信号slow clk to fast clk
随机推荐
Redis docker installation
freeCodeCamp----shape_ Calculator exercise
[registration] tf54: engineer growth map and excellent R & D organization building
SQL: How to parse Microsoft Transact-SQL Statements in C# and to match the column aliases of a view
Lock锁
RPC核心概念理解
Baidu Map Case - Zoom component, map scale component
Using quartz under. Net core -- preliminary understanding of [2] operations and triggers
线性代数感悟之2
Shell - introduction, variables, and basic syntax
Promise (I)
Change the password after installing MySQL in Linux
Further optimize Baidu map data visualization
1-5 nodejs commonjs specification
Lock lock
基于51单片机红外无线通讯仿真
Shell-入门、变量、以及基本的语法
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
[problem solving] [show2012] random tree
ASP. Net core configuration options (Part 2)