当前位置:网站首页>[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
边栏推荐
- 网络安全之渗透靶场实战详解
- Detailed explanation of the penetration of network security in the shooting range
- Understanding of RPC core concepts
- [problem solving] [show2012] random tree
- Baidu Map 3D rotation and tilt angle adjustment
- PostgreSQL column storage and row storage
- matlab如何绘制已知公式的曲线图,Excel怎么绘制函数曲线图像?
- C listens for WMI events
- 1-2 JSX syntax rules
- Understanding and small examples of unity3d object pool
猜你喜欢

C语言函数详解

feign报400处理

VLAN advanced technology, VLAN aggregation, super VLAN, sub VLAN

1-1 NodeJS

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

Milvus 2.0 détails du système d'assurance de la qualité

Further study of data visualization
![[registration] tf54: engineer growth map and excellent R & D organization building](/img/12/7aece45fbc9643c97cdda94b405118.jpg)
[registration] tf54: engineer growth map and excellent R & D organization building

Perception of linear algebra 2

2. Electron's HelloWorld
随机推荐
Zhimeng dedecms security setup Guide
[problem solving] [show2012] random tree
Calculation formula related to tolerance analysis
Blue Bridge Cup provincial road 06 -- the second game of the 12th provincial competition
First knowledge of go language
Self use learning notes - connected and non connected access to database
How does matlab draw the curve of known formula and how does excel draw the function curve image?
Bottom processing of stack memory in browser
Redis docker installation
Use of shell awk command
VsCode-Go
Further optimize Baidu map data visualization
1-3 components and modules
Perception of linear algebra 2
Promise (I)
SQL: How to parse Microsoft Transact-SQL Statements in C# and to match the column aliases of a view
Aiot industrial technology panoramic structure - Digital Architecture Design (8)
Using quartz under. Net core -- job attributes and exceptions of [4] jobs and triggers
Basic case of Baidu map
1-1 NodeJS