For content-driven Web sites, the key to the quality of the design is the relational database. In this tutorial, we have built our database using the MySQL relational database management system (RDBMS). MySQL is a popular choice for Web site
The common MySQL table engine has InnoDB and MyISAM, the main difference is that InnoDB is suitable for frequent write database operations, MyISAM suitable for reading the database a little bit more, how to change the table engine InnoDB to MyISAM?
The difference between drop, truncate, and delete in MySQL(1) The DELETE statement performs the deletion by deleting one row from the table at a time and saving the row's delete operation as a transaction record in the log for the rollback operation.
MySQL Log System details
All those who have done large systems know that the log function is not to be underestimated. In the middle and late stages of the project, the optimization and upgrade of the project are based on the log to make the upgrade
Sort mysql Databases and mysql DatabasesDatabase-related 1. InnoDB logs
InnoDB has many logs. There are two concepts in logs that need to be clearly divided: Logical logs and physical logs.
1.1 logical logsThe operation information logs are
Reference | Reference Manual | Chinese 4 establish InnoDB table
Suppose you have run the MySQL client program as a MySQL test command. In order to create a table in InnoDB format you must specify TYPE = InnoDB in the SQL command:
CREATE TABLE
MySQLCluster create disk table bitsCN.com
I. concepts
MySQL Cluster uses a series of Disk Data objects to implement Disk tables.
Tablespaces: serves as a container for other Disk Data objects.
Undo log files: stores the information required
Database related 1. InnoDB's LogInnoDB has a lot of logs, and there are 2 concepts in the log that need to be clearly divided, logical logs and physical logs.
1.1 Logical logsThe information log about the operation becomes a logical log.For
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.