2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * @package PhpMyAdmin-Engines
8 * the MyISAM storage engine
9 * @package PhpMyAdmin-Engines
11 class PMA_StorageEngine_myisam
extends PMA_StorageEngine
14 * returns array with variable names dedicated to MyISAM storage engine
16 * @return array variable names
18 function getVariables()
21 'myisam_data_pointer_size' => array(
22 'title' => __('Data pointer size'),
23 'desc' => __('The default pointer size in bytes, to be used by CREATE TABLE for MyISAM tables when no MAX_ROWS option is specified.'),
24 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE
,
26 'myisam_recover_options' => array(
27 'title' => __('Automatic recovery mode'),
28 'desc' => __('The mode for automatic recovery of crashed MyISAM tables, as set via the --myisam-recover server startup option.'),
30 'myisam_max_sort_file_size' => array(
31 'title' => __('Maximum size for temporary sort files'),
32 'desc' => __('The maximum size of the temporary file MySQL is allowed to use while re-creating a MyISAM index (during REPAIR TABLE, ALTER TABLE, or LOAD DATA INFILE).'),
33 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE
,
35 'myisam_max_extra_sort_file_size' => array(
36 'title' => __('Maximum size for temporary files on index creation'),
37 'desc' => __('If the temporary file used for fast MyISAM index creation would be larger than using the key cache by the amount specified here, prefer the key cache method.'),
38 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE
,
40 'myisam_repair_threads' => array(
41 'title' => __('Repair threads'),
42 'desc' => __('If this value is greater than 1, MyISAM table indexes are created in parallel (each index in its own thread) during the repair by sorting process.'),
43 'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC
,
45 'myisam_sort_buffer_size' => array(
46 'title' => __('Sort buffer size'),
47 'desc' => __('The buffer that is allocated when sorting MyISAM indexes during a REPAIR TABLE or when creating indexes with CREATE INDEX or ALTER TABLE.'),
48 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE
,
50 'myisam_stats_method' => array(
52 'delay_key_write' => array(
54 'bulk_insert_buffer_size' => array(
55 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE
,
57 'skip_external_locking' => array(