Portál AbcLinuxu, 8. května 2025 15:53
Uptime: 24252 Threads: 21 Questions: 1454552 Slow queries: 734 Opens: 171 Flush tables: 1 Open tables: 115 Queries per second avg: 59.976my.cnf
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql set-variable=long_query_time=5 log-slow-queries=/var/log/mysql/log-slow-queries.log # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 key_buffer=864M key_buffer_size=1328M tmp_table_size=2256M table_cache=1224 sort_buffer_size=32M query_cache_size=32M query_cache_limit=32M query_cache_type=1 max_allowed_packet=32M max_connection=420 max_heap_table_size=64M read_buffer_size = 1M read_rnd_buffer_size = 1M thread_cache_size = 4 # Try number of CPU's*2 for thread_concurrency #thread_concurrency = 4 set-variable = default-character-set=utf8 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pidTen konfigurak jsem splodil na zaklade nejake bechmark tooly co mi nektera nastaveni doporucila zmenit a na zaklade koukani po internetu ve smyslu: "mam tam tolik a tolik a jsem spokojeny"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.