Site, Server Genel » Genel Makaleler

Veritabanı Çok Büyük ise Manuel SQL Sorgusu

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » Genel Makaleler
 
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 18.08.07, 17:49
alper's Avatar
Sempron
 
Join Date: Aug 2007
Location: Ukrayna / Kırım
Posts: 17
Rep Power: 0
alper has much to be proud ofalper has much to be proud ofalper has much to be proud ofalper has much to be proud ofalper has much to be proud ofalper has much to be proud ofalper has much to be proud ofalper has much to be proud of
Veritabanı Çok Büyük ise Manuel SQL Sorgusu

Veritabanı normalinden çok büyük ise ssh ile çok kolay bi şekilde daha hızlı bir şekilde sorgulama yapabilirsiniz.
SSH komut satırına yazmanız gereken komutlar :
Veritabanını sorgulatmak için
Code:
mysql -u username -p db_adi < /yol/dosya.sql
password : *******
Komutu yazıp enterlediğinizde size veritabanının şifresini sorucak.Buraya veritabanı şifresini girip entere bastığınızda bi süre sonra UTF-8 Karakterinde sorgulama işlemi bitmiş olacaktır.
Eğer Sorgulamayı Latin1 de yapmak istiyorsanız

Code:
mysql --default-character-set=latin1 -f --verbose -u username -p dbadi < /yol/dosya.sql 
yazıp yine veritabanı şifrenizi girip enterlediğinizde sorgu latin1 de yapılmış olacaktır.

Veritabanını yedeklemek için ise
Code:
mysqldump -u username -p db_adi > /yol/dosya.sql
password : *******
Komutunu yazıcaksınız.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 21.08.07, 07:35
ALEXIS's Avatar
phpBB Türkiye
 
Join Date: Aug 2007
Location: istanbul
Posts: 112
Rep Power: 2
ALEXIS is on a distinguished road
-p parametresi arkasına bitişik şekilde parolayı yazabiliriz.

Benim sorum ise, başladıktan sonra SSH terminali (uzak terminal, putty vb.) kapasak bile işlem devam edecek mi ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 21.08.07, 09:12
Goktug
Misafir
 
Posts: n/a
Eğerki her işlemde aynı tanıları yapıyor ise ssh girişini kapattıktan sonra devam edeceğini sanmıyorum bir keresinde 2 saat uğraşmıştım kapattım diye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 21.08.07, 09:14
Goktug
Misafir
 
Posts: n/a
alper arkadaşım çok teşekkürler dediğin şekilde yaptım ve veritabanı cup diye oturdu tahsilatı yapayım sana birşeyler ısmarlayayım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 21.08.07, 12:58
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
hayır devam etmez bunun için forumda, ssh bağlantınız kesilse bile kopmayın gibi bir bilgi vermiştim o yolu denerseniz kapatsanızda problem çıkmayacaktır. Arayın o sizi bulur :-)




Quote:
Originally Posted by ALEXIS View Post
-p parametresi arkasına bitişik şekilde parolayı yazabiliriz.

Benim sorum ise, başladıktan sonra SSH terminali (uzak terminal, putty vb.) kapasak bile işlem devam edecek mi ?
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü