Defining MySQL Tables

The following properties are applicable to a MySQL Table object.

Tab

Property

Description

Additional Information

  Create Table As Specifies whether the table should be created based on the results of a SELECT statement

This enables the fields on the Select tab of the Table editor.

Specify the SQL SELECT statement to be used

General Temporary Table Specifies whether the table is a temporary table  
Autoextend Size Specifies the size (in a multiple of 4MB) by which the tablespace size must be incremented by InnoDB when the tablespace becomes full  
Auto Increment Specifies the initial Auto_Increment value for the table  
Average Row Length Specifies the average row length for the table  
Character Set Specifies the default character set for the table  
Checksum Specifies the table checksum option

Setting this to 1 indicates that MySQL maintain a live checksum for all rows

Collation Specifies the default collation for the table  
Compression Specifies the compression algorithm for InnoDB tables  
Connection String Specifies the connection string for a Federated table  
Data Directory Specifies the directory path where the table's data file is created  
Index Directory Specifies the index directory of the table to store its indexes Available for MyISAM tables
Delay Key Write Specifies whether the delay_key_write variable is on Setting this to 1 indicates that when table data is modified, indexes are not updated until the table is closed.
Encryption Specifies the encryption status of the table  
Engine Specifies the storage engine of the table  
Insert Method Specifies the table in which the new rows should be inserted

This option is used only with MERGE tables

No: Indicates that the inserts are prevented

First: Indicates that the inserts go to the first table

Last: Indicates that the inserts go to the last table

Key Block Size

Specifies the size of key blocks in bytes for MyISAM tables

Specifies the page size in kilobytes for compressed InnoDB tables

 
MySQL Max Rows Specifies the maximum number of rows to be stored in the table  
Min Rows Specifies the minimum number of rows to be stored in the table  
Pack Keys Specifies the packing status of keys

This option is used only with MyISAM tables.

0: Indicates that the storage engine should pack all keys

1: Indicates that the storage engine should disable packing of keys

Default: Indicates that the storage engine should pack only long char, varchar, binary, or varbinary columns

Password This option is not used.  
Row Format Specifies the physical format to store rows

Default: Indicates that the default row format is used that is defined by innodb_default_row_format

Dynamic: Indicates that the dynamic row format is used and that increases the storage capabilities for long variable-length columns

Fixed: This option is not supported

Compressed: Indicates that the compression for InnoDB tables is enabled

Redundant: Indicates that the row format used in older versions of MySQL is used

Compact: Indicates that the compact row format is used and row storage space is reduced by about 20% compared to the redundant row format

Stats Auto Recalculation Specifies whether persistent statistics should be automatically recalculated for an InnoDB table

Default: Indicates that the persistent statistics setting to be determined by innodb_stats_auto_recalc configuration

0: Indicates that the automatic recalculation of the statistics is prevented

1: Indicates that the statistics will be recalculated when 10% of the data in the table has changed

Stats Persistent Specifies whether the persistent statistics is enabled for an InnoDB table Default: Indicates that the persistent statistics setting to be determined by innodb_stats_auto_recalc configuration

0: Indicates that the persistent statistics is disabled

1: Indicates that the persistent statistics is enabled

Stats Sample Pages Specifies the number of index pages to sample when estimating indexed column statistics  
Tablespace Specifies the tablespace name where you want to create the table  
Storage In Specifies whether the tablespace of the table is stored on disk or memory  
Union Specifies a collection of MyISAM tables that can be accessed as one This option is used only with MERGE tables.
Like Table Specifies the table from which the table definition should be used