MySQL Forums
Forum List  »  Spanish

Re: Optimizar desempeño MySQL con InnoDB
Posted by: Jesús Uzcanga
Date: March 03, 2018 08:50AM

Algunas recomendaciones:

Lo primero es que debes establecer el valor de innodb_buffer_log_size (algunos recomiendan que sea el 25% del tama;o de innodb_buffer_pool_size)
OJO: Para hacer esto tienes que detener mysqld, borrar /datadir/ib_logfile0 y ib_logfile1 (no te preocupes que no perderas data).

Luego te recomiendo quitar innodb_buffer_pool_instances

Y por ultimo revisa que realmente esta configuracion esta siendo tomada por mysql.

Ejecuta este comando en algun cliente mysql:

SHOW VARIABLES LIKE '%innodb%';

Y fijate de los valores (los muestra en bytes asi que dividelos 2 veces entre 1024 para MB y 3 veces para GB)

NOTA: Recuerda que utilizaras los 6 GB cuando los necesites, no es que va a tomar los 6 GB cada ves que hagas un simple select sencillo.

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: Reply• Quote


Subject
Views
Written By
Posted
1275
February 12, 2018 11:13AM
Re: Optimizar desempeño MySQL con InnoDB
845
March 03, 2018 08:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.