Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Genel > Veritabanları

Veritabanları Veritabanlari hakkinda bilgiler,araçlar vb.

Cevapla
 
LinkBack (16) Seçenekler Stil
  16 links from elsewhere to this Post. Click to view. #1 (permalink)   eTicaret 
Alt 2007-11-30, 22:35
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.541
Blog Entries: 2
Tecrübe Puanı: 3
eTicaret: %100/6
iyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of light
Standart tuning-primer.sh mysql tuning scripti - mysql performans raporu

mysql optimizastonu için tuning-primer.sh scriptini indirmenizi öneririm.
ssh de çalıştırabileceğiniz bu script mysql ayarlarınızı kontrol edip tavsiyede bulunuyor.

scriptin adı: tuning-primer.sh
scriptin bulunduğu site: http://day32.com/MySQL/
doğrudan link: http://day32.com/MySQL/tuning-primer.sh

ssh de çalıştırmak için:
# wget http://day32.com/MySQL/tuning-primer.sh
# chmod u+x tuning-primer.sh
# ./tuning-primer.sh

! scripti mysql i başlatmanızın ardından minmum 2 gün sonra çalıştırınız, aksi taktirde veriler tutarsız olabilir.


Çıktı bu şekilde, takıldığınız yer olursa ekran çıktınızı buraya ekleyin yorumlamanıza yardımcı olalım.


# ./tuning-primer.sh

MySQL Version 4.1.22-standard i686

Uptime = 0 days 0 hrs 4 min 15 sec
Avg. qps = 17
Total Questions = 4479
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/4.1/...variables.html

SLOW QUERIES
Current long_query_time = 10 sec.
You have 1 out of 4491 that take longer than 10 sec. to complete
The slow query log is NOT enabled.
Your long_query_time may be too high, I typically set this under 5 sec.

WORKER THREADS
Current thread_cache_size = 128
Current threads_cached = 6
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 2000
Current threads_connected = 1
Historic max_used_connections = 7
The number of used connections is 0% 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

MEMORY USAGE
Max Memory Ever Allocated : 96 M
Configured Max Per-thread Buffers : 10 G
Configured Max Global Buffers : 58 M
Configured Max Memory Limit : 10 G
Total System Memory : 3.95 G

Max memory limit exceeds 85% of total system memory

KEY BUFFER
Current MyISAM index space = 78 M
Current key_buffer_size = 16 M
Key cache miss rate is 1 : 735
Key buffer fill ratio = 8.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 = 32 M
Current query_cache_used = 4 M
Current query_cach_limit = 1 M
Current Query cache fill ratio = 14.83 %
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 = 2 M
Current record/read_rnd_buffer_size = 256 K
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 1.00 M
You have had 0 queries where a join could not use an index properly
Your joins seem to be using indexes properly

OPEN FILES LIMIT
Current open_files_limit = 10000 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 721 tables
You have 93 open tables.
The table_cache value seems to be fine

TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 212 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
Current read_buffer_size = 1 M
Current table scan ratio = 17754 : 1
You have a high ratio of sequential access requests to SELECTs
You may benefit from raising read_buffer_size and/or improving your use of indexes.

TABLE LOCKING
Current Lock Wait ratio = 1 : 76
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'

#
__________________
Forum Reklam Site Reklam

Konu iyinet tarafından (2007-12-01 Saat 16:08 ) değiştirilmiştir..
Alıntı ile Cevapla

  #2 (permalink)   eTicaret 
Alt 2007-11-30, 23:11
mami
 
Üyelik tarihi: Sep 2006
Nerden: dreamcity
Mesajlar: 4.302
Blog Entries: 3
Tecrübe Puanı: 0
eTicaret: %100/18
Mywedding is just really niceMywedding is just really niceMywedding is just really niceMywedding is just really nice
Standart

teşekkürler, .........
Alıntı ile Cevapla

  #3 (permalink)   eTicaret 
Alt 2007-12-01, 06:03
Junior Member
 
Üyelik tarihi: Nov 2007
Mesajlar: 9
Tecrübe Puanı: 0
eTicaret: %0/0
Doom is an unknown quantity at this point
Standart

teşekkürler iyinet.
Alıntı ile Cevapla

  #4 (permalink)   eTicaret 
Alt 2007-12-01, 07:00
WHMDestek - ait Kullanıcı Resmi (Avatar)
Love me Do
 
Üyelik tarihi: Nov 2006
Nerden: Outta nation
Mesajlar: 1.924
Tecrübe Puanı: 3
eTicaret: %100/19
WHMDestek has a spectacular aura aboutWHMDestek has a spectacular aura about
Standart

Merhaba,
Alıntı:
ssh de çalıştırabileceğiniz bu script mysql ayarlarınızı kontrol edip tavsiyede bulunuyor.
e-mail mi atıyor,sistemde log mu tutuyor yada otomatik olarak ayarları mı uyguluyor ?
__________________
WHMDestek WHM/cPanel Destek Platformu PayPalDestek PayPal Destek Platformu PPBoz PayPal Boz

Konu WHMDestek tarafından (2007-12-01 Saat 14:12 ) değiştirilmiştir..
Alıntı ile Cevapla

  #5 (permalink)   eTicaret 
Alt 2007-12-01, 14:10
selim61 - ait Kullanıcı Resmi (Avatar)
ErrorTIM
 
Üyelik tarihi: May 2006
Nerden: <?=selim61?>
Mesajlar: 3.845
Blog Entries: 6
Tecrübe Puanı: 7
eTicaret: %92/21
selim61 is a jewel in the roughselim61 is a jewel in the roughselim61 is a jewel in the roughselim61 is a jewel in the rough
Standart

Alıntı:
WHMDestek´isimli üyeden Alıntı Mesajı göster
Merhaba,

e-mail mi atıyor,sistemde log mu tutuyor yada otomatik olarak ayarları uyguluyor mu ?
hiçbirisi, ekrana yazarak tavsiyelerde bulunuyor
__________________
Aşk gördüğüm en güzel düş bir tek sen uyandır beni
Alıntı ile Cevapla

  #6 (permalink)   eTicaret 
Alt 2007-12-01, 16:07
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.541
Blog Entries: 2
Tecrübe Puanı: 3
eTicaret: %100/6
iyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of light
Standart

Alıntı:
WHMDestek´isimli üyeden Alıntı Mesajı göster
Merhaba,

e-mail mi atıyor,sistemde log mu tutuyor yada otomatik olarak ayarları mı uyguluyor ?
İlk mesaja örnek bir çıktı ekledim.
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #7 (permalink)   eTicaret 
Alt 2007-12-01, 16:18
moderatör
 
Üyelik tarihi: Jan 2004
Mesajlar: 1.773
Tecrübe Puanı: 5
eTicaret: %100/1
elmasgunes will become famous soon enoughelmasgunes will become famous soon enough
Standart

Teşekkürler iyinet.

MySQL optimizasyonu konusunda gayet yararlı bilgiler veriyor. Buradaki önerilere göre MySQL'i optimize etmeniz sitenizin açılış hızını kat ve kat artıracaktır.
__________________
elmasgunes.net - fokur fokur
Alıntı ile Cevapla

  #8 (permalink)   eTicaret 
Alt 2007-12-01, 16:18
Loi - ait Kullanıcı Resmi (Avatar)
Loi Loi isimli üyemiz çevrimdışıdır. (Offline)
Dumuratör
 
Üyelik tarihi: Nov 2006
Nerden: localhost
Mesajlar: 2.652
Blog Entries: 2
Tecrübe Puanı: 5
eTicaret: %100/12
Loi is a jewel in the roughLoi is a jewel in the roughLoi is a jewel in the rough
Standart

Alıntı:
TABLE CACHE
Current table_cache value = 64 tables
You have a total of 385 tables
You have 64 open tables.
Current table_cache hit rate is 0%, while 100% of your table cache is in use
You should probably increase your table_cache
Bunun disinda herseye fine diyor, nedir bu ve bunu nasil yukseltebilirim?
__________________
Alıntı ile Cevapla

  #9 (permalink)   eTicaret 
Alt 2007-12-01, 16:21
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.541
Blog Entries: 2
Tecrübe Puanı: 3
eTicaret: %100/6
iyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of lightiyinet is a glorious beacon of light
Standart

my.cnf içindeki table_cache değerini 385 yap, yoksa ekle:

Alıntı:
table_cache = 385
Değişikliğin devreye girmesi için:

Alıntı:
service mysqld restart
yada

Alıntı:
service mysql restart
yada kontrol panelden.
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #10 (permalink)   eTicaret 
Alt 2007-12-01, 16:29
Loi - ait Kullanıcı Resmi (Avatar)
Loi Loi isimli üyemiz çevrimdışıdır. (Offline)
Dumuratör
 
Üyelik tarihi: Nov 2006
Nerden: localhost
Mesajlar: 2.652
Blog Entries: 2
Tecrübe Puanı: 5
eTicaret: %100/12
Loi is a jewel in the roughLoi is a jewel in the roughLoi is a jewel in the rough
Standart

385 mi yoksa 512 mi karar verin
__________________
Alıntı ile Cevapla

Cevapla

Seçenekler
Stil


LinkBacks (?)
LinkBack to this Thread: http://forum.iyinet.com/veritabanlari/77047-tuning-primer-sh-mysql-tuning-scripti-mysql-performans-raporu.html
Konuyu Başlatan For Type Tarih
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-05-05 15:05
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-05-03 14:25
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-01-07 20:31
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-01-05 02:32
Mysql Tuning Scripti tuning-primer.sh - TurkForum.Net This thread Refback 2009-01-02 18:29
mysql performans raporu-Webmaster Kaynak Sitesi This thread Refback 2008-11-14 11:41
iyinet webmaster forumu 2008 seo yarışması 2008 Mayıs This thread Refback 2008-07-12 04:39
iyinet webmaster forumu 2008 seo yarışması - iyinet webmaster forumu 2008 seo yarışması Mysql Performans Testi This thread Pingback 2008-05-27 19:14
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 &#038; 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

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 Link Değişim 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 Veritabanları 6 2006-10-04 22:16


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 06:13 .


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0