Re: Conoscete un "proxy" per avere MySQL in ram?
Andrea Brancatelli <[email protected]> Fri, 16 May 2014 17:43:58 +0200
| Newsgroups | gmane.os.freebsd.italian.esperti |
|---|---|
| Message-ID | <[email protected]> |
query_cache_type. OFF vuol dire disabilitata Scusa sono incasinato non ho modo di scriverti un passo passo, ti devi accontentare di indizi :) È SPENTA e impostata ad 1 MB. Da me nel my.cnf io ho questo: query_cache_size=64M query_cache_limit=8M Che vuol dire di allocare 64MB e non mettere in cache query più grosse di 8MB. Cià Il giorno 16/mag/2014, alle ore 17:02, RedFoxy <[email protected]> ha scritto: > > Il giorno 16/mag/2014, alle ore 16:45, Andrea Brancatelli <[email protected]> ha scritto: > >> Devi attivarla da my.cnf altrimenti non è attiva di default. >> >> Dovresti mettermi un show variables like ‘%cache%’; > > > mysql> SHOW VARIABLES LIKE '%cache%'; > +--------------------------------+----------------------+ > | Variable_name | Value | > +--------------------------------+----------------------+ > | binlog_cache_size | 32768 | > | binlog_stmt_cache_size | 32768 | > | have_query_cache | YES | > | host_cache_size | 279 | > | innodb_disable_sort_file_cache | OFF | > | innodb_ft_cache_size | 8000000 | > | innodb_ft_result_cache_limit | 2000000000 | > | innodb_ft_total_cache_size | 640000000 | > | key_cache_age_threshold | 300 | > | key_cache_block_size | 1024 | > | key_cache_division_limit | 100 | > | max_binlog_cache_size | 18446744073709547520 | > | max_binlog_stmt_cache_size | 18446744073709547520 | > | metadata_locks_cache_size | 1024 | > | query_cache_limit | 1048576 | > | query_cache_min_res_unit | 4096 | > | query_cache_size | 1048576 | > | query_cache_type | OFF | > | query_cache_wlock_invalidate | OFF | > | stored_program_cache | 256 | > | table_definition_cache | 1400 | > | table_open_cache | 2000 | > | table_open_cache_instances | 1 | > | thread_cache_size | 9 | > +--------------------------------+----------------------+ > > > >> >> Comunque butta un occhio qui. >> >> http://dev.mysql.com/doc/refman/5.5/en/query-cache-configuration.html > > > si lo stavo leggendo > > — > RedFoxy Darrest > http://www.redfoxy.it > > > _______________________________________________ > Esperti mailing list > [email protected] > http://mailman.gufi.org/mailman/listinfo/esperti _______________________________________________ Esperti mailing list [email protected] http://mailman.gufi.org/mailman/listinfo/esperti