Roger Wilco
Active Member
Dazu sollte man allerdings sagen, dass man bei dieser Konfiguration MySQL auch wegwerfen und stattdessen SQLite o. ä. nutzen könnte.benötigt ~ 19 MB RAM
Dazu sollte man allerdings sagen, dass man bei dieser Konfiguration MySQL auch wegwerfen und stattdessen SQLite o. ä. nutzen könnte.benötigt ~ 19 MB RAM
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 3
MaxClients 100
MaxRequestsPerChild 0
</IfModule>
# * Fine Tuning
#
key_buffer = 2M
max_allowed_packet = 16M
thread_stack = 128K
thread_cache_size = 8
#max_connections = 100
table_cache = 512
#open_files_limit = 1024
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 2M
mysqld is alive
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.0.32-Debian_7etch6-log i486
Uptime = 2 days 0 hrs 5 min 21 sec
Avg. qps = 0
Total Questions = 138941
Threads Connected = 1
Server has been running for over 48hrs.
It should be safe to follow these recommendations
To find out more information on how each of these
runtime variables effects performance visit:
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html
Visit http://www.mysql.com/products/enterprise/advisors.html
for info about MySQL's Enterprise Monitoring and Advisory Service
SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 5 sec.
You have 0 out of 138962 that take longer than 5 sec. to complete
Your long_query_time seems to be fine
BINARY UPDATE LOG
The binary update log is enabled
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 = 29
The number of used connections is 29% of the configured maximum.
Your max_connections variable seems to be fine.
MEMORY USAGE
Max Memory Ever Allocated : 84 M
Configured Max Per-thread Buffers : 265 M
Configured Max Global Buffers : 6 M
Configured Max Memory Limit : 272 M
Physical Memory : 1.97 G
Max memory limit seem to be within acceptable norms
KEY BUFFER
Current MyISAM index space = 1 M
Current key_buffer_size = 2 M
Key cache miss rate is 1 : 367
Key buffer fill ratio = 3.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere
QUERY CACHE
Query cache is enabled
Current query_cache_size = 2 M
Current query_cache_used = 1 M
Current query_cache_limit = 1 M
Current Query cache Memory fill ratio = 76.65 %
Current query_cache_min_res_unit = 4 K
MySQL won't cache query results that are larger than query_cache_limit in size
SORT OPERATIONS
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
JOINS
Current join_buffer_size = 132.00 K
You have had 38 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 = 1134 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
TABLE CACHE
Current table_cache value = 512 tables
You have a total of 704 tables
You have 512 open tables.
Current table_cache hit rate is 6%, while 100% of your table cache is in use
You should probably increase your table_cache
TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 6673 temp tables, 52% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.
TABLE SCANS
Current read_buffer_size = 128 K
Current table scan ratio = 2269 : 1
read_buffer_size seems to be fine
TABLE LOCKING
Current Lock Wait ratio = 1 : 46
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrency of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=2'.
MEMORY USAGE
Max Memory Ever Allocated : 84 M
Configured Max Per-thread Buffers : 265 M
Configured Max Global Buffers : 6 M
[COLOR="Red"]Configured Max Memory Limit : 272 M[/COLOR]
Physical Memory : 1.97 G
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 2
ServerLimit 1
MaxClients 1
MaxRequestsPerChild 4000
</IfModule>
ps -ylC httpd --sort:rss
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 2
ServerLimit 7
MaxClients 7
MaxRequestsPerChild 4000
</IfModule>
[mysqld]
max_connections = 7
usw.
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 3
MaxClients 50
MaxRequestsPerChild 4000
</IfModule>
key_buffer = 2M
max_allowed_packet = 16M
thread_stack = 128K
thread_cache_size = 8
max_connections = 50
table_cache = 512
#open_files_limit = 1024
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 2M
MEMORY USAGE
Max Memory Ever Allocated : 14 M
Configured Max Per-thread Buffers : 132 M
Configured Max Global Buffers : 6 M
Configured Max Memory Limit : 139 M
Physical Memory : 1.97 G
Max memory limit seem to be within acceptable norms
ab -c50 -n100 http://deine_domain.de/index.php
100% 2233 (longest request)
Benchmarking www.michis-homepage.net (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: www.michis-homepage.net
Server Port: 80
Document Path: /index.php
Document Length: 21034 bytes
Concurrency Level: 50
Time taken for tests: 19.836379 seconds
Complete requests: 100
Failed requests: 4
(Connect: 0, Length: 4, Exceptions: 0)
Write errors: 0
Total transferred: 2115712 bytes
HTML transferred: 2092612 bytes
Requests per second: 5.04 [#/sec] (mean)
Time per request: 9918.189 [ms] (mean)
Time per request: 198.364 [ms] (mean, across all concurrent requests)
Transfer rate: 104.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 291 295.4 187 600
Processing: 495 8475 4223.0 9718 15384
Waiting: 2 5187 2627.2 5852 9958
Total: 604 8766 4048.9 9718 15384
Percentage of the requests served within a certain time (ms)
50% 9718
66% 11123
75% 12086
80% 12700
90% 13472
95% 14693
98% 15110
99% 15384
100% 15384 (longest request)
Benchmarking www.michis-homepage.net (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: www.michis-homepage.net
Server Port: 80
Document Path: /index.php
Document Length: 21034 bytes
Concurrency Level: 50
Time taken for tests: 19.807598 seconds
Complete requests: 100
Failed requests: 4
(Connect: 0, Length: 4, Exceptions: 0)
Write errors: 0
Total transferred: 2130264 bytes
HTML transferred: 2106933 bytes
Requests per second: 5.05 [#/sec] (mean)
Time per request: 9903.799 [ms] (mean)
Time per request: 198.076 [ms] (mean, across all concurrent requests)
Transfer rate: 105.01 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 14 14.4 5 30
Processing: 426 8518 3924.7 9723 16779
Waiting: 2 5895 2664.6 7176 9444
Total: 445 8532 3914.9 9723 16779
Percentage of the requests served within a certain time (ms)
50% 9723
66% 10953
75% 11661
80% 12365
90% 13013
95% 13492
98% 13981
99% 16779
100% 16779 (longest request)
Benchmarking www.michis-homepage.net (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: www.michis-homepage.net
Server Port: 80
Document Path: /index.php
Document Length: 21034 bytes
Concurrency Level: 50
Time taken for tests: 14.47871 seconds
Complete requests: 100
Failed requests: 40
(Connect: 0, Length: 40, Exceptions: 0)
Write errors: 0
Total transferred: 1959418 bytes
HTML transferred: 1936318 bytes
Requests per second: 7.12 [#/sec] (mean)
Time per request: 7023.935 [ms] (mean)
Time per request: 140.479 [ms] (mean, across all concurrent requests)
Transfer rate: 136.18 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 9.8 12 24
Processing: 532 6166 3645.9 5821 14018
Waiting: 30 4382 2601.3 4352 10283
Total: 546 6176 3645.2 5840 14037
Percentage of the requests served within a certain time (ms)
50% 5840
66% 9344
75% 9437
80% 9669
90% 10940
95% 12120
98% 13802
99% 14037
100% 14037 (longest request)
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 3
MaxClients 50
MaxRequestsPerChild 4000
</IfModule>
ab -c40 -n100 http://www.blabla.com/index.php
Benchmarking www.michis-homepage.net (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: www.michis-homepage.net
Server Port: 80
Document Path: /index.php
Document Length: 20986 bytes
Concurrency Level: 40
Time taken for tests: 20.928964 seconds
Complete requests: 100
Failed requests: 35
(Connect: 0, Length: 35, Exceptions: 0)
Write errors: 0
Total transferred: 1980595 bytes
HTML transferred: 1957495 bytes
Requests per second: 4.78 [#/sec] (mean)
Time per request: 8371.586 [ms] (mean)
Time per request: 209.290 [ms] (mean, across all concurrent requests)
Transfer rate: 92.41 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 412 519.7 0 1077
Processing: 519 6981 5031.0 8261 16594
Waiting: 6 4037 2698.4 4164 8645
Total: 602 7393 4994.5 8589 16594
Percentage of the requests served within a certain time (ms)
50% 8589
66% 9885
75% 11245
80% 11745
90% 14563
95% 15051
98% 16292
99% 16594
100% 16594 (longest request)
bisher nur gute Erfahrungen mit Keyweb gemacht. Keyweb hat ja hauptsächlich Reseller als Kunden. Und die legen Wert auf Leistung u. Service.Keyweb.de sieht sehr interessant aus, hast du damit gute Erfahrungen?
We use essential cookies to make this site work, and optional cookies to enhance your experience.