labu
New Member
Hallo,
die letzte Woche habe ich mich eingehend mit diesem Thema beschäftigt und die Meinungen gehen in ein paar Punkten etwas auseinander. Ich bin durch zuviel lesen verunsichert worden und hätte von euch nun gerne eine Einschätzung zu den weiter unten genannten Punkten / Fragen.
-------------------
Server:
Intel Xeon X3430 Processor
(2.40GHz, 4C, 8M Cache, 95W TDP, Turbo)
8GB Arbeitsspeicher 1333MHz
2x500GB SATA 7,2k 3,5Zoll Festplatte Hot Plug
1 PERC H200A RAID Controller - Raid 1
Domains / Anwendungen:
50 Domains
- Blogs & Infoseiten - mittlere Last
- 2 größere Foren - Die Foren machen wohl den großteil der Querys aus
- 2 Online Shops - einige Besucher aber wenig Last
Datenbanken Insgesamt: 70
Tabellen Insgesamt: 1960
Größte DB ist ca. 100 MB / Tendenz steigend
Online gleichzeitig ca. 180
Zu Lastzeiten auch mal 300
DB Abfragen kann ich nicht weiter optimieren, da ich mich nicht auskenne.
-----------------------
Nachdem ich die beiden gängingen Tuning Programme ausgeführt hatte, habe ich die folgenden Werte etwas erhöht. Hier die my.cnf
my.cnf
---
set-variable = key_buffer_size=256M
set-variable = max_allowed_packet=100M
set-variable = thread_stack=128K
set-variable = table_cache=2048
set-variable = sort_buffer_size=4M
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=128M
set-variable = max_connections=600
set-variable = wait_timeout=28800
set-variable = interactive_timeout=28800
set-variable = query_cache_size=512M
set-variable = query_cache_limit=32M
set-variable = read_buffer_size=4M
set-variable = tmp_table_size=1024M
set-variable = max_heap_table_size=1024M
set-variable = read_buffer_size=4M
set-variable = read_rnd_buffer_size=8M
set-variable = join_buffer_size=8M
set-variable = thread_cache_size=20
set-variable = thread_concurrency=8
----
1, tmp_table_size & max_heap_table_size
Frage: sollen diese werte jetzt gleich sein oder nicht? Ich habe keine Arbeitsspeicher / memory Tabellen sondern nur den typ myisam.
Ist der eingetragene Wert zu groß?
2, query_cache_size & query_cache_limit
Frage: Durch viel lesen und vergleichen ist mir aufgefallen, dass meine Werte für den "size" evtl. zu groß sind. Der Tunig primer + mysqltuner haben mir allerdings eine Erhöhung empfohlen. Nach unten schrauben oder so lassen?
3, Welche Werte müssen / sollten verändert werden? Vor allem im Bereich Thread, join und Buffer?
Danke für die Beantwortung der Fragen...vielleicht fällt ja auf den ersten Blick etwas auf?!
Meine große Sorge liegt darin, dass ich evtl. einen Wert total falsch eingestellt habe und ich dadurch Probleme bekomme.
Die beiden Auswertung der Tuning Programme liefere ich heute Abend oder morgen früh nach. Man sollte ja etwas warten mit der Auswertung.
die letzte Woche habe ich mich eingehend mit diesem Thema beschäftigt und die Meinungen gehen in ein paar Punkten etwas auseinander. Ich bin durch zuviel lesen verunsichert worden und hätte von euch nun gerne eine Einschätzung zu den weiter unten genannten Punkten / Fragen.
-------------------
Server:
Intel Xeon X3430 Processor
(2.40GHz, 4C, 8M Cache, 95W TDP, Turbo)
8GB Arbeitsspeicher 1333MHz
2x500GB SATA 7,2k 3,5Zoll Festplatte Hot Plug
1 PERC H200A RAID Controller - Raid 1
Domains / Anwendungen:
50 Domains
- Blogs & Infoseiten - mittlere Last
- 2 größere Foren - Die Foren machen wohl den großteil der Querys aus
- 2 Online Shops - einige Besucher aber wenig Last
Datenbanken Insgesamt: 70
Tabellen Insgesamt: 1960
Größte DB ist ca. 100 MB / Tendenz steigend
Online gleichzeitig ca. 180
Zu Lastzeiten auch mal 300
DB Abfragen kann ich nicht weiter optimieren, da ich mich nicht auskenne.
-----------------------
Nachdem ich die beiden gängingen Tuning Programme ausgeführt hatte, habe ich die folgenden Werte etwas erhöht. Hier die my.cnf
my.cnf
---
set-variable = key_buffer_size=256M
set-variable = max_allowed_packet=100M
set-variable = thread_stack=128K
set-variable = table_cache=2048
set-variable = sort_buffer_size=4M
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=128M
set-variable = max_connections=600
set-variable = wait_timeout=28800
set-variable = interactive_timeout=28800
set-variable = query_cache_size=512M
set-variable = query_cache_limit=32M
set-variable = read_buffer_size=4M
set-variable = tmp_table_size=1024M
set-variable = max_heap_table_size=1024M
set-variable = read_buffer_size=4M
set-variable = read_rnd_buffer_size=8M
set-variable = join_buffer_size=8M
set-variable = thread_cache_size=20
set-variable = thread_concurrency=8
----
1, tmp_table_size & max_heap_table_size
Frage: sollen diese werte jetzt gleich sein oder nicht? Ich habe keine Arbeitsspeicher / memory Tabellen sondern nur den typ myisam.
Ist der eingetragene Wert zu groß?
2, query_cache_size & query_cache_limit
Frage: Durch viel lesen und vergleichen ist mir aufgefallen, dass meine Werte für den "size" evtl. zu groß sind. Der Tunig primer + mysqltuner haben mir allerdings eine Erhöhung empfohlen. Nach unten schrauben oder so lassen?
3, Welche Werte müssen / sollten verändert werden? Vor allem im Bereich Thread, join und Buffer?
Danke für die Beantwortung der Fragen...vielleicht fällt ja auf den ersten Blick etwas auf?!
Meine große Sorge liegt darin, dass ich evtl. einen Wert total falsch eingestellt habe und ich dadurch Probleme bekomme.
Die beiden Auswertung der Tuning Programme liefere ich heute Abend oder morgen früh nach. Man sollte ja etwas warten mit der Auswertung.
Last edited by a moderator: