MySQL is a relational database management system developed by the Swedish MySQL AB company and currently belongs to Oracle.
MySQL is a relational database management system that stores data in different tables instead of putting all data in one big warehouse, which increases speed and improves flexibility.
Mysql is open source, so you don’t need to pay extra.
Mysql supports large databases. Can handle large databases with tens of millions of records.
MySQL uses the standard SQL data language form.
Mysql can be used on multiple systems and supports multiple languages. These programming languages include C, C++, Python, Java, Perl, PHP, Eiffel, Ruby and Tcl, etc.
Mysql has good support for PHP, which is currently the most popular web development language.
MySQL supports large databases and data warehouses with 50 million records. The 32-bit system table file can support a maximum of 4GB, and the 64-bit system supports a maximum table file of 8TB.
Mysql can be customized and adopts the GPL protocol. You can modify the source code to develop your own Mysql system.
mysql kernel
sql optimization siege lion
Optimization of mysql server
Various parameter constant settings
Query statement optimization
Master-slave replication
Software and hardware upgrade
Complete mysql optimization requires a deep foundation. Large companies even have dedicated DBAs to write the above
MySQL-Client andMySQL-Server
)
Set password prompt
ps -ef|grep mysql
Copy the current
5.5 version
##5.6 version
chkconfig mysql on
Set automatic startup
# chkconfig --list | grep mysql
Check whether automatic startup is set
# /etc/init .d/mysql start
# /etc/init.d/mysql stop
or
service mysql stop
View MySQL start and stop status: # ps -ef | grep mysql
Start and stop operations:
The above is the detailed content of An introduction to database architecture. For more information, please follow other related articles on the PHP Chinese website!