Ho un database innodb MySQL a 1,9 GB, mostrato dal seguente comando.Caricare un database innodb MySQL nella memoria
SELECT table_schema "Data Base Name"
, sum(data_length + index_length)/1 048 576
as "Data Base Size in MB"
, sum(data_free)/ 1 048 576
as "Free Space in MB"
FROM information_schema.TABLES
GROUP BY table_schema ;
+--------------------+----------------------+------------------+
| Data Base Name | Data Base Size in MB | Free Space in MB |
+--------------------+----------------------+------------------+
| database_name | 1959.73437500 | 31080.00000000 |
Le mie domande sono:
significa se ho impostato l'innodb_buffer_pool_size a 2GB o più grande, l'intero database può essere caricato in memoria tanto meno leggere richieste del disco sono necessari?
Cosa significa lo spazio libero di 31 GB?
Se la RAM massima può essere allocata a innodb_buffer_pool_size è 1 GB, è possibile specificare quali tabelle caricare in memoria mentre altri ne leggono sempre dal disco?
Grazie in anticipo.