
09-18-2010, 08:57 AM
|
|
Newbie
|
|
Join Date: Jun 2008
Posts: 7
|
|
Hello Sirs!
I am having problem in my mysql, last year i shifted my server and by mistake i dumped database 2 times, that time i didn't care much but now when i am having more then 70000 members , database crashes very often, and every time i have to restart server then repair database.... site works fine for 3 to 4 hours then suddenly mysql load goes to 20 , 40 and then site stops responding ,i did a top and it showed me that its that is causing the load but as being newbie i don't know how to check which table is causing and how to resolve, please help me,and i have vbulletin 3.8.5 installed with xbt tracker....
sorry for my bad English.....
|

09-18-2010, 10:23 AM
|
|
WHT Addict
|
|
Join Date: May 2008
Location: Sweden
Posts: 152
|
|
In the top, you will get the process id of the the mysql. From process id you can see the details of the db.
__________________
Linux, C, Perl, Bash, PHP
MySQL, PostgreSQL
Postfix, Qmail
Bind
|

09-18-2010, 03:41 PM
|
|
Web Hosting Guru
|
|
Join Date: Aug 2005
Posts: 280
|
|
Try use APC cache or memcache, it will increase server performance.
|

09-18-2010, 08:11 PM
|
|
Newbie
|
|
Join Date: Jun 2008
Posts: 7
|
|
sir i am completely newbie for this can u please pass me any guide to install or to setup
APC cache or memcache
|

09-18-2010, 08:14 PM
|
|
Newbie
|
|
Join Date: Jun 2008
Posts: 7
|
|
Quote:
Originally Posted by helpyoulinux
In the top, you will get the process id of the the mysql. From process id you can see the details of the db.
|
i do get the id of mysql but i dont know how to get to that table or coloumn with that id in order to delete that table or column can you please guide me?
and pass me ur email id....please
|

09-19-2010, 06:52 PM
|
|
Web Hosting Evangelist
|
|
Join Date: Jul 2005
Posts: 470
|
|
Quote:
Originally Posted by SHAN9211
sir i am completely newbie for this can u please pass me any guide to install or to setup
APC cache or memcache
|
Try google search.
http://www.google.co.in/#hl=en&sourc...5c7405d4a7e2c8
|

09-19-2010, 07:01 PM
|
|
Newbie
|
|
Join Date: Jun 2010
Posts: 10
|
|
Quote:
Originally Posted by SHAN9211
i do get the id of mysql but i dont know how to get to that table or coloumn with that id in order to delete that table or column can you please guide me?
and pass me ur email id....please
|
Type
Code:
SHOW FULL PROCESSLIST
When your having isues, it will give you a starting point.
|

09-19-2010, 07:40 PM
|
|
Aspiring Evangelist
|
|
Join Date: Aug 2007
Posts: 351
|
|
You need to turn on SLOW QUERY Logging and logging of queries not using indexes in my.cnf config file.
You likely need to optimize your queries and use query cache in MySQL. Proper indexes need put in place.
Test slow queries by prepending:
EXPLAIN (the query)
That will show you useful information on the query - which indexes (if any) are being used and help you to isolate some problems.
As for the restarts and corruption, I believe you are using MyISAM. Convert your tables to InnoDB and the corruption *SHOULD* go away.
When doing the repairs to tables you need to take down all front ends so you app isn't connecting to the database, otherwise this will create a big dogpile and cause more issues.
|

09-20-2010, 07:09 PM
|
|
Newbie
|
|
Join Date: Jun 2008
Posts: 7
|
|
THANKS Guyz, i am very great full , i will update you on results
|

09-22-2010, 09:56 AM
|
|
WHT Addict
|
|
Join Date: Oct 2006
Location: arizona/romania
Posts: 140
|
|
also for search you could use : sphinix ( going to improve IO/disk )
__________________
System Administration *nix - ngnix,clustering solutions Mail
|

09-22-2010, 07:02 PM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 568
|
|
If you are total new to Server World, then I suggest to get some help. Either ask some friend to do it or hire somebody to do it for you.
|

09-23-2010, 10:57 AM
|
|
Newbie
|
|
Join Date: Jun 2008
Posts: 7
|
|
Quote:
Originally Posted by Gary4gar
If you are total new to Server World, then I suggest to get some help. Either ask some friend to do it or hire somebody to do it for you.
|
can anyone please pass me his online contact for help, i think i am unable to solve the problem, i would be very great full
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|