![]() |
|
|||||||
| Kayıt ol | Blogs | Yardım | Üye Listesi | Ajanda | iTrader | Forumları Okundu Kabul Et |
| MySQL Veritabanı SQL SQL MySQL Access MSSQL Oracle Veritabani Database |
|
|
|
LinkBack (8) | Seçenekler | Stil |
|
|||
|
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery - MySQL Version 4.1.22-standard i686 ./tuning-primer.sh: line 388: bc: command not found ./tuning-primer.sh: line 389: bc: command not found ./tuning-primer.sh: line 390: bc: command not found ./tuning-primer.sh: line 391: bc: command not found ./tuning-primer.sh: line 392: bc: command not found ./tuning-primer.sh: line 393: bc: command not found Uptime = days hrs min sec Avg. qps = 5 Total Questions = 1707329 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/4.1/...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 = 10 sec. You have 99 out of 1707343 that take longer than 10 sec. to complete Your long_query_time may be too high, I typically set this under 5 sec. 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/4.1/...-recovery.html WORKER THREADS Current thread_cache_size = 128 Current threads_cached = 85 Current threads_per_sec = 0 Historic threads_per_sec = 0 Your thread_cache_size is fine MAX CONNECTIONS Current max_connections = 500 Current threads_connected = 1 Historic max_used_connections = 86 The number of used connections is 17% of the configured maximum. Your max_connections variable seems to be fine. MEMORY USAGE ./tuning-primer.sh: line 1204: bc: command not found ./tuning-primer.sh: line 1205: bc: command not found ./tuning-primer.sh: line 1229: bc: command not found ./tuning-primer.sh: line 1232: bc: command not found ./tuning-primer.sh: line 1233: bc: command not found ./tuning-primer.sh: line 1235: bc: command not found ./tuning-primer.sh: line 1237: [: -gt: unary operator expected ./tuning-primer.sh: line 350: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 356: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 362: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=max_memoryHR': not a valid identifier Max Memory Ever Allocated : bytes ./tuning-primer.sh: line 350: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 356: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 362: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=per_thread_buffersHR': not a valid identifier Configured Max Per-thread Buffers : bytes ./tuning-primer.sh: line 350: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 356: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 362: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=global_buffersHR': not a valid identifier Configured Max Global Buffers : bytes ./tuning-primer.sh: line 350: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 356: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 362: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=total_memoryHR': not a valid identifier Configured Max Memory Limit : bytes ./tuning-primer.sh: line 331: bc: command not found Physical Memory : G Max memory limit seem to be within acceptable norms KEY BUFFER ./tuning-primer.sh: line 331: bc: command not found ./tuning-primer.sh: line 646: bc: command not found ./tuning-primer.sh: line 647: bc: command not found ./tuning-primer.sh: line 331: bc: command not found Current MyISAM index space = M ./tuning-primer.sh: line 331: bc: command not found Current key_buffer_size = M Key cache miss rate is 1 : 521 Key buffer fill ratio = % ./tuning-primer.sh: line 684: [: -ge: unary operator expected ./tuning-primer.sh: line 688: [: -le: unary operator expected Your key_buffer_size seems to be fine QUERY CACHE ./tuning-primer.sh: line 719: bc: command not found ./tuning-primer.sh: line 720: bc: command not found Query cache is enabled ./tuning-primer.sh: line 331: bc: command not found Current query_cache_size = M ./tuning-primer.sh: line 331: bc: command not found Current query_cache_used = M ./tuning-primer.sh: line 331: bc: command not found Current query_cache_limit = M Current Query cache Memory fill ratio = % ./tuning-primer.sh: line 331: bc: command not found Current query_cache_min_res_unit = K ./tuning-primer.sh: line 733: bc: command not found ./tuning-primer.sh: line 734: bc: command not found ./tuning-primer.sh: line 735: [: -gt: unary operator expected ./tuning-primer.sh: line 742: [: -le: unary operator expected ./tuning-primer.sh: line 746: [: -ge: unary operator expected MySQL won't cache query results that are larger than query_cache_limit in size SORT OPERATIONS ./tuning-primer.sh: line 331: bc: command not found Current sort_buffer_size = M ./tuning-primer.sh: line 331: bc: command not found Current read_rnd_buffer_size = K Sort buffer seems to be fine JOINS ./tuning-primer.sh: line 331: bc: command not found Current join_buffer_size = M You have had 31 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 = 2558 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 = 1024 tables You have a total of 1650 tables You have 1022 open tables. Current table_cache hit rate is 11%, while 99% of your table cache is in use You should probably increase your table_cache TEMP TABLES ./tuning-primer.sh: line 331: bc: command not found Current max_heap_table_size = M ./tuning-primer.sh: line 331: bc: command not found Current tmp_table_size = M Of 91866 temp tables, 0% 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 ./tuning-primer.sh: line 331: bc: command not found Current read_buffer_size = M Current table scan ratio = 2109 : 1 read_buffer_size seems to be fine TABLE LOCKING Current Lock Wait ratio = 1 : 979 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' Böyle bir çıktı aldım nasıl bir yol izlemem lazım yardımcı olursan sevinirim iyinet. |
|
|||
|
Merhabalar bende şöyle bir sonuç çıktı.
[root@unix ~]# ./tuning-primer.sh ls: invalid option -- H Try `ls --help' for more information. -- MYSQL PERFORMANCE TUNING PRIMER -- - By: Matthew Montgomery - MySQL Version 5.0.54 i686 ./tuning-primer.sh: line 388: bc: command not found ./tuning-primer.sh: line 389: bc: command not found ./tuning-primer.sh: line 390: bc: command not found ./tuning-primer.sh: line 391: bc: command not found ./tuning-primer.sh: line 392: bc: command not found ./tuning-primer.sh: line 393: bc: command not found Uptime = days hrs min sec Avg. qps = 5 Total Questions = 760 Threads Connected = 1 Warning: Server has not been running for at least 48hrs. It may not be safe to use 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/...variables.html Visit http://www.mysql.com/products/enterprise/advisors.html for info about MySQL's Enterprise Monitoring and Advisory Service ls: invalid option -- H Try `ls --help' for more information. SLOW QUERIES The slow query log is NOT enabled. Current long_query_time = 10 sec. You have 0 out of 781 that take longer than 10 sec. to complete Your long_query_time may be too high, I typically set this under 5 sec. 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/...-recovery.html WORKER THREADS Current thread_cache_size = 0 Current threads_cached = 0 Current threads_per_sec = 1 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 = 1 The number of used connections is 1% of the configured maximum. You are using less than 10% of your configured max_connections. Lowering max_connections could help to avoid an over-allocation of memory See "MEMORY USAGE" section to make sure you are not over-allocating ls: invalid option -- H Try `ls --help' for more information. MEMORY USAGE ./tuning-primer.sh: line 1204: bc: command not found ./tuning-primer.sh: line 1205: bc: command not found ./tuning-primer.sh: line 1229: bc: command not found ./tuning-primer.sh: line 1232: bc: command not found ./tuning-primer.sh: line 1233: bc: command not found ./tuning-primer.sh: line 1235: bc: command not found ./tuning-primer.sh: line 1237: [: -gt: unary operator expected ./tuning-primer.sh: line 350: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 356: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 362: [: max_memoryHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=max_memoryHR': not a valid identifier Max Memory Ever Allocated : bytes ./tuning-primer.sh: line 350: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 356: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 362: [: per_thread_buffersHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=per_thread_buffersHR': not a valid identifier Configured Max Per-thread Buffers : bytes ./tuning-primer.sh: line 350: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 356: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 362: [: global_buffersHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=global_buffersHR': not a valid identifier Configured Max Global Buffers : bytes ./tuning-primer.sh: line 350: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 356: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 362: [: total_memoryHR: integer expression expected ./tuning-primer.sh: line 369: export: `0=total_memoryHR': not a valid identifier Configured Max Memory Limit : bytes ./tuning-primer.sh: line 331: bc: command not found Physical Memory : G Max memory limit seem to be within acceptable norms KEY BUFFER ./tuning-primer.sh: line 331: bc: command not found ./tuning-primer.sh: line 646: bc: command not found ./tuning-primer.sh: line 647: bc: command not found ./tuning-primer.sh: line 331: bc: command not found Current MyISAM index space = M ./tuning-primer.sh: line 331: bc: command not found Current key_buffer_size = M Key cache miss rate is 1 : 18 Key buffer fill ratio = % ./tuning-primer.sh: line 680: [: -ge: unary operator expected ./tuning-primer.sh: line 684: [: -ge: unary operator expected ./tuning-primer.sh: line 688: [: -le: unary operator expected Your key_buffer_size seems to be fine QUERY CACHE Query cache is supported but not enabled Perhaps you should set the query_cache_size SORT OPERATIONS ./tuning-primer.sh: line 331: bc: command not found Current sort_buffer_size = M ./tuning-primer.sh: line 331: bc: command not found Current read_rnd_buffer_size = K Sort buffer seems to be fine JOINS ./tuning-primer.sh: line 331: bc: command not found Current join_buffer_size = K You have had 0 queries where a join could not use an index properly Your joins seem to be using indexes properly ls: invalid option -- H Try `ls --help' for more information. OPEN FILES LIMIT Current open_files_limit = 1024 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 = 64 tables You have a total of 528 tables You have 64 open tables. Current table_cache hit rate is 10%, while 100% of your table cache is in use You should probably increase your table_cache TEMP TABLES ./tuning-primer.sh: line 331: bc: command not found Current max_heap_table_size = M ./tuning-primer.sh: line 331: bc: command not found Current tmp_table_size = M Of 116 temp tables, 10% 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 ./tuning-primer.sh: line 331: bc: command not found Current read_buffer_size = K Current table scan ratio = 637 : 1 read_buffer_size seems to be fine TABLE LOCKING Current Lock Wait ratio = 0 : 958 Your table locking seems to be fine [root@unix ~]# |
|
||||
|
merhabalar mysql i optimizasyon konusunda biraz zayıfım. my.cnf dosyam aşağıda ne gibi bir değişiklikler yapmalıyım ?
CPU Bilgileri: PHP- Kodu:
PHP- Kodu:
PHP- Kodu:
PHP- Kodu:
|
![]() |
LinkBacks (?)
LinkBack to this Thread: http://forum.iyinet.com/mysql-veritabani-sql/77047-tuning-primer-sh-mysql-tuning-scripti-mysql-performans-raporu.html
|
||||
| Konuyu Başlatan | For | Type | Tarih | |
| Turkwm.com: 5 dakikada hızlı mysql server optimizasyonu | This thread | Refback | 2008-05-15 16:20 | |
| Turkwm.com | This thread | Refback | 2008-05-15 13:42 | |
| 2007 Aralk -Webmaster Kaynak Sitesi | This thread | Refback | 2008-01-15 06:13 | |
| tuning-primer.sh mysql tuning scripti - Google - Webmaster Forum / Google Webmaster Fan | This thread | Refback | 2008-01-11 19:23 | |
| Mysql Tuning Scripti tuning-primer.sh | Webmaster Blogu | This thread | Pingback | 2007-12-23 21:44 | |
| Load sorunu yaşayanlar için genel tartışma konusu - vBulletin SEO Forums | This thread | Refback | 2007-12-12 10:58 | |
| Linux & Unix -Webmaster Kaynak Sitesi | This thread | Refback | 2007-12-11 08:55 | |
| mysql optimizastonu iin tuning-primer.sh scripti -Webmaster Kaynak Sitesi | This thread | Pingback | 2007-12-06 19:03 | |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| Tuning Merkezi | trebuchet55 | Yeni Site Tanıtımları | 0 | 2008-02-24 15:21 |
| Sanal Tuning | Alexis | Yeni Site Tanıtımları | 6 | 2008-01-18 04:07 |
| sadece tuning, sanal tuning siteleri ile - PR4 | Alexis | Google PR Link Değişimi | 0 | 2007-05-11 00:50 |
| Tuning Siteleri . Com | sverdlow | Yeni Site Tanıtımları | 2 | 2006-11-19 11:00 |
| Mysql Asp Performans Sorusu | disconnect | MySQL Veritabanı SQL | 6 | 2006-10-04 22:16 |