Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Genel > Veritabanları

Veritabanları Veritabanlari hakkinda bilgiler,araçlar vb.


Cevapla
 
LinkBack (16) Seçenekler Stil
  #181 (permalink)   eTicaret 
Alt 2009-05-01, 15:59
CaNeRiuM - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Mar 2008
Nerden: Tripine Trip :)
Mesajlar: 216
Blog Entries: 1
eTicaret: %100/1
Rep Puanı: 1
CaNeRiuM is on a distinguished road
Standart

cpanel / whm kullananlar için my-huge yani dier anlamda my-large kullanmalarını şiddetle öneririm yüksek performans için

zaten linuxda plesk yada directadmin kullanılması bana göre hiçde iyi sonuç vermiyecektir

linuxda cpanel , windowsda plesk

tabi başkaları için daha değişiktir
__________________
Hava Atıyorsun Ama Havan Kime Yabancı !!! - Sadece Kendini Kandırırsın Tribli Tavırlı Bebek :P
Alıntı ile Cevapla
Ucuz ürün ihaleleri
  #182 (permalink)   eTicaret 
Alt 2009-11-22, 02:54
 
Üyelik tarihi: Aug 2008
Mesajlar: 18
eTicaret: %100/1
Rep Puanı: 1
ogogi is an unknown quantity at this point
Standart

Merhaba arkadaşlar.

my.cnf ilk hali şu
Kod:
 [mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
#memlock
tmpdir = /temp
query_cache_limit=32M
query_cache_size=512M
query_cache_type=1
max_connections=100
max_user_connections=20
interactive_timeout=20
wait_timeout=20
connect_timeout=6
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=20000
open_files_limit=60000
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
# Try number of CPU's*2 for thread_concurrency

thread_concurrency=4
myisam_sort_buffer_size=64M
#log-bin
server-id=1
key_buffer_size=256M
[mysql.server]
user=mysql
#basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=32M
sort_buffer=32M
Ve tuning-primer.sh çıktısı aşağıdaki şekilde.

Kod:
        -- MYSQL PERFORMANCE TUNING PRIMER --
             - By: Matthew Montgomery -

MySQL Version 5.0.81-community i686

Uptime = 33 days 20 hrs 41 min 39 sec
Avg. qps = 33
Total Questions = 96566905
Threads Connected = 2

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 = 10 sec.
You have 6139 out of 96566926 that take longer than 10 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 = 128
Current threads_cached = 54
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 = 3
Historic max_used_connections = 58
The number of used connections is 58% of the configured maximum.
Your max_connections variable seems to be fine.

MEMORY USAGE
Max Memory Ever Allocated : 1.06 G
Configured Max Per-thread Buffers : 543 M
Configured Max Global Buffers : 778 M
Configured Max Memory Limit : 1.29 G
Physical Memory : 1.95 G
Max memory limit seem to be within acceptable norms

KEY BUFFER
Current MyISAM index space = 296 M
Current key_buffer_size = 256 M
Key cache miss rate is 1 : 14167
Key buffer free ratio = 35 %
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 = 512 M
Current query_cache_used = 137 M
Current query_cache_limit = 32 M
Current Query cache Memory fill ratio = 26.93 %
Current query_cache_min_res_unit = 4 K
Query Cache is 27 % fragmented
Run "FLUSH QUERY CACHE" periodically to defragment the query cache memory
If you have many small queries lower 'query_cache_min_res_unit' to reduce fragmentation.
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 = 1.00 M
You have had 4449 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 = 60000 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 = 20000 tables
You have a total of 2248 tables
You have 4758 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 2335620 temp tables, 7% 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 = 2 M
Current table scan ratio = 94 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 103
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'.
Tavsiyelerinizi bekliyorum.

Yardımcı bilgiler: 20.000 üzeri tekil hitli vbulletin + vbseo forum sayfası.
Alıntı ile Cevapla
  #183 (permalink)   eTicaret 
Alt 2009-11-22, 03:14
 
Üyelik tarihi: Aug 2008
Mesajlar: 18
eTicaret: %100/1
Rep Puanı: 1
ogogi is an unknown quantity at this point
Standart

Alıntı:
sali´isimli üyeden Alıntı Mesajı göster
Yazmayı unutmuşum, "my.cnf" boş bişey yok
my.cnf açmak için şunu deneyin

nano /etc/my.cnf
Alıntı ile Cevapla
  #184 (permalink)   eTicaret 
Alt 2009-11-22, 14:04
 
Üyelik tarihi: Aug 2008
Mesajlar: 18
eTicaret: %100/1
Rep Puanı: 1
ogogi is an unknown quantity at this point
Standart

Kimsenin hiçbir fikri yok mu ?
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 & 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: 09:06 .


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
iyinet
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