Current time: 05-03-2024, 12:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
my.cnf für grosse / viele Datenbanken
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
my.cnf für grosse / viele Datenbanken
Hat jemand von Euch eine gute my.cnf config für grosse Datenbanken - bzw. einen Vorschlag um die unten angegebenen Settings zu optimieren ...
vor allem Table cache und max open files - wie weit kann ich da gehen?
Tuning Primer sagt es sollte so ziemlich alles hochgeschraubt werden:

Code:
Mem:   4117176k total,  3976032k used,   141144k free,   466076k buffers
Swap:  4200988k total,        0k used,  4200988k free,  2248012k cached

Code:
TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 29715 temp tables, 77% were created on disk

OPEN FILES LIMIT
Current open_files_limit = 5006 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
You currently have open more than 75% of your open_files_limit
You should set a higher value for open_files_limit in my.cnf

TABLE CACHE
Current table_cache value = 2048 tables
You have a total of 10177 tables
You have 2048 open tables.
Current table_cache hit rate is 2%, while 100% of your table cache is in use
You should probably increase your table_cache
12-03-2009 08:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)