Teoria
[ +/- ] [ + / - ]
14.1.1. MyISAM Startup Options 14.1.1. MyISAM Opciones de arranque
14.1.2. 14.1.2. Space Needed for Keys Espacio necesitan las claves
14.1.3. MyISAM Table Storage Formats 14.1.3. MyISAM formatos de almacenamiento de tablas
14.1.4. MyISAM Table Problems 14.1.4. MyISAM Problemas en tablas
MyISAM is the defaultstorage engine. MyISAM es el motor de almacenamiento por defecto. It is based on the older (and no longer available) ISAM storage engine but has many useful extensions. Se basa en el viejo (y ya no está disponible) ISAM del motor de almacenamiento, pero tiene muchas extensiones útiles.
Each MyISAM table is stored on disk in three files. Cada MyISAM tabla se almacena en el disco en tres archivos.The files have names that begin with the table name and have an extension to indicate the file type. Los archivos tienen nombres que comienzan con el nombre de tabla y tienen una extensión para indicar el tipo de archivo. An .frm file stores the table format. Una .frm almacena el archivo de formato de tabla. The data file has an .MYD ( MYData ) extension. El archivo de datos tiene una .MYD (MYData ) de extensión. The index file has an .MYI ( MYIndex ) extension. El archivo de índice tiene una .MYI ( MYIndex ) de extensión.
To specify explicitly that you want a MyISAM table, indicate that with an ENGINE table option: Para especificar explícitamente que quiere una MyISAM la tabla, indican que con un ENGINE opción de tabla:
CREATE TABLE t (i INT) ENGINE = MYISAM; CREATE TABLE t (i INT)ENGINE = MyISAM;
The older term TYPE is supported as a synonym for ENGINE for backward compatibility, but ENGINE is the preferred term and TYPE is deprecated. El término más antiguo TYPE se admite como sinónimo de ENGINE para la compatibilidad hacia atrás, pero ENGINE es el término preferido y TYPE ahora está obsoleto.
Normally, it is unnecessary to use ENGINE to specify the MyISAM storageengine. MyISAM is the default engine unless the default has been changed. Normalmente, no es necesario utilizar ENGINE para especificar el MyISAM motor de almacenamiento. MyISAM es el motor por defecto a menos que el defecto ha sido cambiado. To ensure that MyISAM is used in situations where the default might have been changed, include the ENGINE option explicitly. Para asegurarse de que MyISAM seutiliza en situaciones en las que el valor por defecto podría haber sido cambiado, incluyen el ENGINE opción de forma explícita.
You can check or repair MyISAM tables with the mysqlcheck client or myisamchk utility. Usted puede revisar o reparar MyISAM tablas con la mysqlcheck cliente o myisamchk utilidad. You can also compress MyISAM tables with myisampack to take up much less space. También puedecomprimir MyISAM tablas con myisampack para ocupar mucho menos espacio. See Section 4.5.3, “ mysqlcheck — A Table Maintenance Program” , Section 4.6.3, “ myisamchk — MyISAM Table-Maintenance Utility” , and Section 4.6.5, “ myisampack — Generate Compressed, Read-Only MyISAM Tables” . Consulte Sección 4.5.3, "mysqlcheck - Un programa de mantenimiento de tablas" , la Sección 4.6.3, "myisamchk - MyISAMla tabla-Utilidad de mantenimiento" , y la Sección 4.6.5, "myisampack - Generar comprimido de sólo lectura de las tablas MySQL" .
MyISAM tables have the following characteristics: MyISAM tablas tienen las siguientes características:
• All data values are stored with the low byte first. Todos los valores de los datos se almacenan con el byte bajo en primer lugar. This makes the data machineand operating system independent. Esto hace que la máquina y el sistema operativo independiente. The only requirements for binary portability are that the machine uses two's-complement signed integers and IEEE floating-point format. Los únicos requisitos para portabilidad binaria es que la máquina utiliza two's-complemento enteros con signo y el formato de punto flotante IEEE. These requirements...
Regístrate para leer el documento completo.