Current time: 11-16-2024, 03:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
Response zu lange
Author Message
the_condor Offline
Junior Member
*

Posts: 33
Joined: Aug 2008
Reputation: 0
Post: #9
RE: Response zu lange
Super ephigenie für dein Demo hier Wink

Das mysql auch eins meiner Probleme ist das dachte ich mir schon und das sieht man ja auch. Ich habe bei mysql noch nicht viel in der my.cnf eingestellt

Hier mal meine Einstellung:
Code:
#bind-address           = 127.0.0.1
#skip-networking
#
# * Fine Tuning
#
key_buffer              = 16M
max_allowed_packet      = 16M
thread_stack            = 128K
thread_cache_size       = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover          = BACKUP
table_cache            =  580
sort_buffer_size       = 1M
read_rnd_buffer_size = 128k
max_heap_table_size = 25M
low_priority_updates=1
concurrent_insert=2
# * Query Cache Configuration
#
query_cache_limit       = 7M
query_cache_size        = 8M
#
# * Logging and Replication
log-slow-queries = /var/log/mysql/slow-query.log
long_query_time = 4
log-queries-not-using-indexes
skip_innodb

Hier mal meine Ausgabe von dem tuner Script
Code:
SLOW QUERIES
The slow query log is enabled.
Current long_query_time = 4 sec.
You have 63050 out of 2342104 that take longer than 4 sec. to complete
Your long_query_time seems to be fine

BINARY UPDATE LOG
The binary update log is NOT enabled.
You will not be able to do point in time recovery
See http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html

WORKER THREADS
Current thread_cache_size = 8
Current threads_cached = 7
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 100
Current threads_connected = 1
Historic max_used_connections = 17
The number of used connections is 17% of the configured maximum.
Your max_connections variable seems to be fine.

MEMORY USAGE
Max Memory Ever Allocated : 59 M
Configured Max Per-thread Buffers : 150 M
Configured Max Global Buffers : 34 M
Configured Max Memory Limit : 184 M
Physical Memory : 971.16 M
Max memory limit seem to be within acceptable norms

KEY BUFFER
Current MyISAM index space = 178 M
Current key_buffer_size = 16 M
Key cache miss rate is 1 : 27
Key buffer fill ratio = 65.00 %
Your key_buffer_size seems to be fine

QUERY CACHE
Query cache is enabled
Current query_cache_size = 8 M
Current query_cache_used = 1 M
Current query_cache_limit = 7 M
Current Query cache Memory fill ratio = 19.50 %
Current query_cache_min_res_unit = 4 K
Your query_cache_size seems to be too high.
Perhaps you can use these resources elsewhere
MySQL won't cache query results that are larger than query_cache_limit in size

SORT OPERATIONS
Current sort_buffer_size = 1 M
Current read_rnd_buffer_size = 128 K
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 132.00 K
You have had 97 queries where a join could not use an index properly
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.

Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.

OPEN FILES LIMIT
Current open_files_limit = 1270 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 = 580 tables
You have a total of 611 tables
You have 580 open tables.
Current table_cache hit rate is 5%, while 100% of your table cache is in use
You should probably increase your table_cache

TEMP TABLES
Current max_heap_table_size = 25 M
Current tmp_table_size = 32 M
Of 24249 temp tables, 3% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Created disk tmp tables ratio seems fine

TABLE SCANS
Current read_buffer_size = 128 K
Current table scan ratio = 1477 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 437
You may benefit from selective use of InnoDB.

Da muß ich noch 2-3 änderungen vornehmen!

Zu mod_php steht der Eintrag ja auch unter ispcp.conf , wo kann ich das ganze ändern das es unter mod_php läuft?
08-27-2008 01:17 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Response zu lange - the_condor - 08-26-2008, 10:29 PM
RE: Response zu lange - gOOvER - 08-26-2008, 10:38 PM
RE: Response zu lange - the_condor - 08-26-2008, 11:05 PM
RE: Response zu lange - ephigenie - 08-27-2008, 12:06 AM
RE: Response zu lange - the_condor - 08-27-2008, 12:22 AM
RE: Response zu lange - ephigenie - 08-27-2008, 12:28 AM
RE: Response zu lange - the_condor - 08-27-2008, 12:31 AM
RE: Response zu lange - ephigenie - 08-27-2008, 12:48 AM
RE: Response zu lange - the_condor - 08-27-2008 01:17 AM
RE: Response zu lange - the_condor - 08-27-2008, 02:10 AM
RE: Response zu lange - ephigenie - 08-27-2008, 07:31 AM
RE: Response zu lange - the_condor - 08-27-2008, 03:45 PM
RE: Response zu lange - ephigenie - 08-27-2008, 05:08 PM

Forum Jump:


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