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, 23:35
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 5.259
Blog Entries: 2
eTicaret: %100/6
Rep Puanı: 10
iyinet is on a distinguished road
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'

#

Konu iyinet tarafından (2007-12-01 Saat 17:08 ) değiştirilmiştir..
Alıntı ile Cevapla
Ucuz ürün ihaleleri
  #2 (permalink)   eTicaret 
Alt 2007-12-01, 00:11
Mywedding - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Sep 2006
Nerden: dreamcity
Mesajlar: 3.787
Blog Entries: 3
eTicaret: %100/18
Rep Puanı: 10
Mywedding is on a distinguished road
Standart

teşekkürler, .........
__________________
muhalif muhalefetçi
Alıntı ile Cevapla
  #3 (permalink)   eTicaret 
Alt 2007-12-01, 07:03
Doom - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Nov 2007
Mesajlar: 4
eTicaret: %0/0
Rep Puanı: 1
Doom is an unknown quantity at this point
Standart

teşekkürler iyinet.
Alıntı ile Cevapla
  #4 (permalink)   eTicaret 
Alt 2007-12-01, 08:00
CaLViN - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Nov 2006
Nerden: Outta nation
Mesajlar: 1.854
eTicaret: %100/20
Rep Puanı: 1
CaLViN 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 CaLViN tarafından (2007-12-01 Saat 15:12 ) değiştirilmiştir..
Alıntı ile Cevapla
  #5 (permalink)   eTicaret 
Alt 2007-12-01, 15:10
selim61 - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: May 2006
Nerden: <?=selim61?>
Mesajlar: 3.360
Blog Entries: 7
eTicaret: %92/21
Rep Puanı: 30
selim61 is on a distinguished road
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, 17:07
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 5.259
Blog Entries: 2
eTicaret: %100/6
Rep Puanı: 10
iyinet is on a distinguished road
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.
Alıntı ile Cevapla
  #7 (permalink)   eTicaret 
Alt 2007-12-01, 17:18
 
Üyelik tarihi: Jan 2004
Mesajlar: 1.353
eTicaret: %100/1
Rep Puanı: 1
elmasgunes has much to be proud of
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, 17:18
Loi - ait Kullanıcı Resmi (Avatar)
Loi Loi isimli üye çevrimiçidir (Online)
 
Üyelik tarihi: Nov 2006
Nerden: localhost
Mesajlar: 2.756
Blog Entries: 2
eTicaret: %100/22
Rep Puanı: 26
Loi is on a distinguished road
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?
__________________
PayPal alımı bitmiştir.
Alıntı ile Cevapla
  #9 (permalink)   eTicaret 
Alt 2007-12-01, 17:21
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 5.259
Blog Entries: 2
eTicaret: %100/6
Rep Puanı: 10
iyinet is on a distinguished road
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.
Alıntı ile Cevapla
  #10 (permalink)   eTicaret 
Alt 2007-12-01, 17:29
Loi - ait Kullanıcı Resmi (Avatar)
Loi Loi isimli üye çevrimiçidir (Online)
 
Üyelik tarihi: Nov 2006
Nerden: localhost
Mesajlar: 2.756
Blog Entries: 2
eTicaret: %100/22
Rep Puanı: 26
Loi is on a distinguished road
Standart

385 mi yoksa 512 mi karar verin
__________________
PayPal alımı bitmiştir.
Alıntı ile Cevapla
Cevapla


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 16:05
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-05-03 15:25
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-01-07 21:31
my.cnf nasıl ve nereden değiştirilir? - Netinternet Forum This thread Refback 2009-01-05 03:32
Mysql Tuning Scripti tuning-primer.sh - TurkForum.Net This thread Refback 2009-01-02 19:29
mysql performans raporu-Webmaster Kaynak Sitesi This thread Refback 2008-11-14 12:41
iyinet webmaster forumu 2008 seo yarışması 2008 Mayıs This thread Refback 2008-07-12 05:39
iyinet webmaster forumu 2008 seo yarışması - iyinet webmaster forumu 2008 seo yarışması Mysql Performans Testi This thread Pingback 2008-05-27 20:14
Turkwm.com: 5 dakikada hızlı mysql server optimizasyonu This thread Refback 2008-05-15 17:20
Turkwm.com This thread Refback 2008-05-15 14:42
2007 Aralk -Webmaster Kaynak Sitesi This thread Refback 2008-01-15 07:13
tuning-primer.sh mysql tuning scripti - Google - Webmaster Forum / Google Webmaster Fan This thread Refback 2008-01-11 20:23
Mysql Tuning Scripti tuning-primer.sh | Webmaster Blogu This thread Pingback 2007-12-23 22:44
Load sorunu yaşayanlar için genel tartışma konusu - vBulletin SEO Forums This thread Refback 2007-12-12 11:58
Linux &#038; Unix -Webmaster Kaynak Sitesi This thread Refback 2007-12-11 09:55
mysql optimizastonu iin tuning-primer.sh scripti -Webmaster Kaynak Sitesi This thread Pingback 2007-12-06 20: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 16:21
Sanal Tuning Alexis Yeni Site Tanıtımları 6 2008-01-18 05:07
sadece tuning, sanal tuning siteleri ile - PR4 Alexis Link Değişim 0 2007-05-11 01:50
Tuning Siteleri . Com sverdlow Yeni Site Tanıtımları 2 2006-11-19 12:00
Mysql Asp Performans Sorusu disconnect Veritabanları 6 2006-10-04 23:16


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Hosting sponsor Netinternet Datacenter
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241