Skip to content

Commit 80fd852

Browse files
committed
tablespace limitation
1 parent 3a1c3ac commit 80fd852

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/mysql/concepts-limits.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ Review the [MySQL documentation](https://dev.mysql.com/doc/refman/5.7/en/server-
149149

150150
The time zone tables can be populated by calling the `mysql.az_load_timezone` stored procedure from a tool like the MySQL command line or MySQL Workbench. Refer to the [Azure portal](howto-server-parameters.md#working-with-the-time-zone-parameter) or [Azure CLI](howto-configure-server-parameters-using-cli.md#working-with-the-time-zone-parameter) articles for how to call the stored procedure and set the global or session-level time zones.
151151

152+
### innodb_file_per_table
153+
154+
MySQL stores the InnoDB table in difference tablespace based on the configuration you provided during the table creation. The [system tablespace](https://dev.mysql.com/doc/refman/5.7/en/innodb-system-tablespace.html) is the storage area for the InnoDB data dictionary. A [file-per-table tablespace](https://dev.mysql.com/doc/refman/5.7/en/innodb-file-per-table-tablespaces.html) contains data and indexes for a single InnoDB table, and is stored on the file system in its own data file. This behavior is controlled by the innodb_file_per_table variable. Set `innodb_file_per_table = OFF` causes InnoDB to create tables in the system tablespace, otherwise InnoDB creates tables in file-per-table tablespaces.
155+
156+
The Azure Database for MySQL supports the biggest **1TB** in a single data file. If your database size is bigger than 1TB, you should create the table in [innodb_file_per_table](https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_file_per_table) tablespace. If you have a single table size larger than 1TB, you should use the partition table.
157+
158+
152159
## Storage engine support
153160

154161
### Supported

0 commit comments

Comments
 (0)