MySQL database-table operation-SQL statement

1. MySQL multi-table query 1.1 Foreign Key Constraints In order to eliminate the Cartesian product in multi-table queries, MySQL can use foreign key Association queries when building tables and performing key queries between multiple tables. Foreign key: Refer to the value of one column in Table 1 (sub) and another column in Table 2 (main), ...

Added by TVining on Tue, 06 Aug 2019 13:44:43 +0300

Physical Backup and Logical Backup

Physical backup and recovery: Physical backup is divided into hot backup and cold backup. Compared with logical backup, physical backup has faster backup and recovery speed. The principle is based on the cp command. Cold standby: backup MySQL database shared table space,.frm, stand-alone table space (.ibd), redo log files. Advantages: ...

Added by eekeek on Fri, 14 Jun 2019 23:39:22 +0300