[Turn] Mysql's ROW_FORMAT attribute

In mysql , if there is no varchar, text and its deformation, blob and its deformed fields in a table, then this table is actually called a static table, that is, the row_format of the table is fixed, which means that each record has The occupied bytes are the same. Its advantages are fast to read, and its disadvantages waste extra space.
If there are varchar, text and their deformation, blob and their deformed fields in a table, then this table is actually called a dynamic table, that is, the row_format of the table is dynamic, which means that the bytes occupied by each record are Dynamic. Its advantages save space, and its disadvantages increase the time overhead of reading.
Therefore, tables with a large amount of search queries generally trade space for time, and are designed as static tables.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326967940&siteId=291194637