Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Kaynak Eğitim Tanıtım Hizmet > MySQL Veritabanı SQL
Kayıt ol Blogs Yardım Üye Listesi Ajanda iTrader Forumları Okundu Kabul Et

MySQL Veritabanı SQL SQL MySQL Access MSSQL Oracle Veritabani Database

Cevapla Add This!
 
LinkBack Seçenekler Stil
  #1 (permalink)   iTrader 
Alt 2007-03-30, 23:11
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 6.055
Blog Entries: 2
Tecrübe Puanı: 3
iTrader: %100/6
iyinet is just really niceiyinet is just really niceiyinet is just really niceiyinet is just really nice
Standart Linux te mysql optimizasyonu icin gerekenler

1. Serverinizda root ile ssh ekranina geciniz.
2. vi yada pico ile yeni mysql_raporu.sh dosyasini aciniz.
3. Asagidaki satirlarin tumunu bu dosya icine kaydederek saklayiniz.

Alıntı:
echo "Top"
echo "-------------------------------------------------------------------------"
date; top -c -n1
#
echo "my.cnf"
echo "-------------------------------------------------------------------------"
date; cat /etc/my.cnf
#
echo "show status"
echo "-------------------------------------------------------------------------"
date; echo "show status" | mysql -u kullanici_adi -p sifre
4. mysql kullanici_adi ve sifrenizi yukaridaki satira giriniz.
5. chmod 755 mysql_raporu.sh komutu ile dosyayi calisir moda geciriniz.
6. ./mysql_raporu.sh > mysql_raporu.txt komutunu calistiriniz.
7. mysql_raporu.txt dosyasini foruma ekleyerek mesajinizi yaziniz.
__________________
Forum Reklam Site Reklam
Alıntı ile Cevapla

  #2 (permalink)   iTrader 
Alt 2007-03-31, 00:39
mami
 
Üyelik tarihi: Sep 2006
Nerden: dreamcity
Mesajlar: 4.330
Blog Entries: 3
Tecrübe Puanı: 0
iTrader: %100/18
Mywedding is just really niceMywedding is just really niceMywedding is just really niceMywedding is just really nice
Standart

rapor :


Top
---------------------------------------------------
Sat Mar 31 01:17:49 EEST 2007
(Btop - 01:17:50 up 3 days, 5:32, 1 user, load average: 1.72, 1.13, 1.91(B
Tasks:(B(B 95 (Btotal,(B(B 1 (Brunning,(B(B 94 (Bsleeping,(B(B 0 (Bstopped,(B(B 0 (Bzombie(B
Cpu(s):(B(B 54.3% (Bus,(B(B 8.0% (Bsy,(B(B 0.0% (Bni,(B(B 37.4% (Bid,(B(B 0.2% (Bwa,(B(B 0.0% (Bhi,(B(B 0.0% (Bsi(B
Mem: (B(B 483476k (Btotal,(B(B 456728k (Bused,(B(B 26748k (Bfree,(B(B 28860k (Bbuffers(B
Swap:(B(B 1052248k (Btotal,(B(B 60872k (Bused,(B(B 991376k (Bfree,(B(B 194872k (Bcached(B

 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND (B
(B11410 apache 15 0 34684 16m 4644 S 3.1 3.4 1:55.02 /usr/sbin/httpd (B
(B21908 mysql 16 0 149m 38m 4048 S 1.6 8.2 44:44.70 /usr/libexec/mysqld(B
(B16790 apache 15 0 34668 15m 4376 S 1.6 3.4 1:03.63 /usr/sbin/httpd (B
(B19030 apache 15 0 34648 15m 4380 S 1.6 3.4 0:44.69 /usr/sbin/httpd (B
(B20152 apache 15 0 34668 15m 4376 S 1.6 3.4 0:36.56 /usr/sbin/httpd (B
(B21302 apache 15 0 34380 15m 4360 S 1.6 3.3 0:31.88 /usr/sbin/httpd (B
(B(B23936 root 16 0 2360 880 692 R 1.6 0.2 0:00.02 top -c -n1 (B
(B 1 root 16 0 2292 456 428 S 0.0 0.1 0:00.87 init [3] (B
(B 2 root 34 19 0 0 0 S 0.0 0.0 0:00.04 [ksoftirqd/0] (B
(B 3 root 5 -10 0 0 0 S 0.0 0.0 0:00.06 [events/0] (B
(B 4 root 6 -10 0 0 0 S 0.0 0.0 0:00.01 [khelper] (B
(B 5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 [kacpid] (B
(B 19 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 [kblockd/0] (B
(B 38 root 15 0 0 0 0 S 0.0 0.0 0:02.28 [pdflush] (B
(B 40 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 [aio/0] (B
(B 20 root 15 0 0 0 0 S 0.0 0.0 0:00.00 [khubd] (B
(B 39 root 15 0 0 0 0 S 0.0 0.0 0:26.98 [kswapd0] (B[?12l[?25h
my.cnf
---------------------------------------------------
Sat Mar 31 01:17:50 EEST 2007
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
show status
---------------------------------------------------
Sat Mar 31 01:17:50 EEST 2007
Alıntı ile Cevapla

Cevapla



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
MySQL CPU Kullanımı my.cnf optimizasyonu esq MySQL Veritabanı SQL 315 2008-05-02 00:03
Sedo dan Banlamamak Icin Yapilmasi Gerekenler Merlin Parking 12 2007-03-20 02:35
Hyip icin dikkat etmeniz gerekenler.. doLob Borsa Hyip Forex 1 2006-01-20 07:51
Toplist, Dizin vs.. siteleri olanlar için dikkat edilmesi gerekenler.. ZeuQma PHP 3 2005-05-29 18:50
oyunları cdsiz oynamak için yapmanız gerekenler Anonymous Oyunlar 8 2003-04-14 16:26


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


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

Firefox