Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/10/2005, 15:45
Avatar de ADIÓS_ADRIANA
ADIÓS_ADRIANA
 
Fecha de Ingreso: septiembre-2005
Mensajes: 263
Antigüedad: 18 años, 8 meses
Puntos: 0
InnoDB es un sistema transaccional de bases de datos que está activado por defecto en MySQL 4.x y superiores. Básicamente lo que hace es leer más lento, pero escrbir más rápido.

Para convertir una tabla MyISAM a InnoDB:

Desde el PhpMyAdmin:

ALTER TABLE nombre_de_la_tabla
TYPE=InnoDB;

Aunque antes de eso tenemos que configurar el my.cnf para usar InnoDB:

my.cnf MySQL Configuración

# Data files must be able to hold your data and indexes.
# Make sure that you have enough free disk space.
#use this line for MySQL 4.xx.xx
innodb_data_file_path = ibdata:1G:autoextend:max:2G
#innodb_data_file_path = ibdata:1G
innodb_buffer_pool_size = 50M
innodb_additional_mem_pool_size = 10M
innodb_file_io_threads = 8
# Set the log file size to about 25% of the buffer pool size
innodb_log_file_size=20M
innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1

Más info:
http://dev.mysql.com/doc/mysql/en/ad...-removing.html
http://dev.mysql.com/doc/mysql/en/in...iguration.html
http://www.databasejournal.com/featu...le.php/3367871


Tomado de:

http://foro.elhacker.net/index.php/topic,251.0.html


Si migraste de otro lado verfica que en script de creación diga innodb y no myisam.

Saludos.