Hi all,
I am in trouble with my new website, My host provider, 000webhost send me an email that my site has slow sql query and I need to correct this.
***********************************************
there mail as below
We have detected that your account executing a slow MySQL queries.
Slow MySQL queries are not allowed, because you share server resources with thousands of other users and your long lasting MySQL queries are slowering the server and other users are having MySQL performance and connectivity problems. Please optimize your MySQL queries as soon as possible.
Here are some good articles how to optimize MySQL queries: http://www.google.com/search?q=optimize+mysql+queries
Good tips how you can optimize your scripts and make our servers run faster:
- Disable all parts of your website that allows anonymous posting, such as open forums, guestbooks. These days automated software fills all open areas of web with junk and content spam and increasing your database size.
- Disable visitors monitoring and tracking (each move of your visitor makes database query)
- Disable all unused modules
- Disable internal stats for your website - use http://www.google.com/analytics/ for example
- You may also logon to the phpMyAdmin and check which table has the most records. Then, if you think that this table does not contain any valuable information (such as logs, stats or cache), you can click on the `Empty` or `Truncate` icon to clean it.
We thank you for understanding,
********************************************************
How to do this, please help,, I am new to that.
One more question,
If I need to take the full back up of my site, how can I do that? I mean If I need to change my host provider, I will require full file to upload in one go on new server, I want to take the full back, Many times I downloaded my site using firezilla but not sure, if that has a full backup. please help.
Ajay
Bookmarks