Translated using Weblate (Catalan)
[phpmyadmin.git] / libraries / engines / myisam.lib.php
blobe2591dab24cbed46936c358f0da0f9bb8c26dbbc
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * The MyISAM storage engine
6 * @package PhpMyAdmin-Engines
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /**
13 * The MyISAM storage engine
15 * @package PhpMyAdmin-Engines
17 class PMA_StorageEngine_Myisam extends PMA_StorageEngine
19 /**
20 * Returns array with variable names dedicated to MyISAM storage engine
22 * @return array variable names
24 public function getVariables()
26 return array(
27 'myisam_data_pointer_size' => array(
28 'title' => __('Data pointer size'),
29 'desc' => __('The default pointer size in bytes, to be used by CREATE TABLE for MyISAM tables when no MAX_ROWS option is specified.'),
30 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
32 'myisam_recover_options' => array(
33 'title' => __('Automatic recovery mode'),
34 'desc' => __('The mode for automatic recovery of crashed MyISAM tables, as set via the --myisam-recover server startup option.'),
36 'myisam_max_sort_file_size' => array(
37 'title' => __('Maximum size for temporary sort files'),
38 '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).'),
39 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
41 'myisam_max_extra_sort_file_size' => array(
42 'title' => __('Maximum size for temporary files on index creation'),
43 '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.'),
44 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
46 'myisam_repair_threads' => array(
47 'title' => __('Repair threads'),
48 '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.'),
49 'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC,
51 'myisam_sort_buffer_size' => array(
52 'title' => __('Sort buffer size'),
53 'desc' => __('The buffer that is allocated when sorting MyISAM indexes during a REPAIR TABLE or when creating indexes with CREATE INDEX or ALTER TABLE.'),
54 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
56 'myisam_stats_method' => array(
58 'delay_key_write' => array(
60 'bulk_insert_buffer_size' => array(
61 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
63 'skip_external_locking' => array(