XYRUS
06.06.2004, 17:31
Hallo,
habe nun neuen Server und damit auch mehr Power und möchte nun gern wissen wie ich meine ini ein wenig tunen kann um mehr Performance zu erlangen. Habe 3 große Datenbanken, von denen 2 vB-Foren sind (ca. 800User zur gleichen Zeit online)
achja Server ist ein P4E 3Ghz, 2GB Ram, 80GB IDE Platte
hier meine alte Config:
# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
set-variable = key_buffer=256M
set-variable = max_allowed_packet=1M
set-variable = table_cache=256
set-variable = sort_buffer=1M
set-variable = record_buffer=1M
set-variable = myisam_sort_buffer_size=64M
set-variable = thread_cache=8
# Try number of CPU's*2 for thread_concurrency
set-variable = thread_concurrency=8
# log-bin
server-id = 1
set-variable=max_connections=5000
set-variable=net_read_timeout=60
set-variable=net_write_timeout=120
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
set-variable = key_buffer=128M
set-variable = sort_buffer=128M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[myisamchk]
set-variable = key_buffer=128M
set-variable = sort_buffer=128M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[mysqlhotcopy]
interactive-timeout
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-nt.exe
QueryInterval=20
habe nun neuen Server und damit auch mehr Power und möchte nun gern wissen wie ich meine ini ein wenig tunen kann um mehr Performance zu erlangen. Habe 3 große Datenbanken, von denen 2 vB-Foren sind (ca. 800User zur gleichen Zeit online)
achja Server ist ein P4E 3Ghz, 2GB Ram, 80GB IDE Platte
hier meine alte Config:
# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
set-variable = key_buffer=256M
set-variable = max_allowed_packet=1M
set-variable = table_cache=256
set-variable = sort_buffer=1M
set-variable = record_buffer=1M
set-variable = myisam_sort_buffer_size=64M
set-variable = thread_cache=8
# Try number of CPU's*2 for thread_concurrency
set-variable = thread_concurrency=8
# log-bin
server-id = 1
set-variable=max_connections=5000
set-variable=net_read_timeout=60
set-variable=net_write_timeout=120
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
set-variable = key_buffer=128M
set-variable = sort_buffer=128M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[myisamchk]
set-variable = key_buffer=128M
set-variable = sort_buffer=128M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[mysqlhotcopy]
interactive-timeout
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-nt.exe
QueryInterval=20