Introduction
We can categorize the InnoDB tablespaces created by users, broadly in following categories.
- File-per-table Tablespace - A single, file-per-table tablespace created in the datadir, which contains only one table.
- General Tablespace - A shared tablespace created in the datadir, which may contain multiple tables.
- External File-per-table Tablespace - A single, file-per-table tablespace created outside of the datadir, which contains only one table.
- External General Tablespace - A shared tablespace created outside of the datadir, which may contain multiple tables.
External tablespaces are sometimes called remote tablespaces, but both refer to a single or shared, file-per-table tablespace outside of the datadir.
Prior to MySQL 8.0, the …
[Read more]