hi guys iam facing MySQL Query Limit Exceeded any solution

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,049
27,329
120
my MySQL Query Limit 150,000 and traffic very low daily under 5000 any solution for this because every day 5 more time website down please help
Change your hosting provider?
 

madroots

Active member
Jan 23, 2020
215
127
43
Is that wordpress website?

That many SQL queries is not good. There is obviously something wrong with your site. Tell me whether your site is running on wordpress or something else. Then I can help you.
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,049
27,329
120
Who are you with at the moment?

But you need to give us more details about your site and what it does for us to help you more.
 

madroots

Active member
Jan 23, 2020
215
127
43
please give me a suggestion hosting provider and plan
Hosting provider might limit SQL queries, but its usually really enough for anyone.
You dont need another hosting provider. You need to optimize SQL load.
 

madroots

Active member
Jan 23, 2020
215
127
43
There are methods to count queries on single load. There are acceptable values and unacceptable values.
There is a way to reduce queries brutally.

I assume you are running wordpress.

You need following:

1. https://querymonitor.com/ - plugin, for monitoring queries.
-You need to know what plugins are causing overloading. You will also find out whether overloading is happening at all.

2. Plugin will add monitor panel on top of your wordpress admin/website page when logged in, so you can see what plugins are causing this and what plugins to get rid of!

3. https://wordpress.org/plugins/memcached-is-your-friend/ - plugin to reduce sql queries by caching them.
-Memcache is awesome caching system used by large companies such as google and facebook to reduce, merge sql queries. Must have. This is plugin for wordpress. Just install and you should see much less queries on second load.

Both plugins are free
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,049
27,329
120
There are methods to count queries on single load. There are acceptable values and unacceptable values.
There is a way to reduce queries brutally.

I assume you are running wordpress.

You need following:

1. https://querymonitor.com/ - plugin, for monitoring queries.
-You need to know what plugins are causing overloading. You will also find out whether overloading is happening at all.

2. Plugin will add monitor panel on top of your wordpress admin/website page when logged in, so you can see what plugins are causing this and what plugins to get rid of!

3. https://wordpress.org/plugins/memcached-is-your-friend/ - plugin to reduce sql queries by caching them.
-Memcache is awesome caching system used by large companies such as google and facebook to reduce, merge sql queries. Must have. This is plugin for wordpress. Just install and you should see much less queries on second load.

Both plugins are free

Good advice but given the nature of his site I wouldn't say 30 queries per visitor per day is highly excessive.
 

madroots

Active member
Jan 23, 2020
215
127
43
Good advice but given the nature of his site I wouldn't say 30 queries per visitor per day is highly excessive.
It must be much more then 30 per day. SQL limit are set for an hour-not for a day. They limit SQL queries per hour!
He should optimize queries thats for sure.
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,049
27,329
120
It must be much more then 30 per day. SQL limit are set for an hour-not for a day. They limit SQL queries per hour!
He should optimize queries thats for sure.
Ahh you're right it is per hour.
 

jilinjames

Active member
Mar 1, 2020
166
121
43
united states
www.freewebcart.com
There are methods to count queries on single load. There are acceptable values and unacceptable values.
There is a way to reduce queries brutally.

I assume you are running wordpress.

You need following:

1. https://querymonitor.com/ - plugin, for monitoring queries.
-You need to know what plugins are causing overloading. You will also find out whether overloading is happening at all.

2. Plugin will add monitor panel on top of your wordpress admin/website page when logged in, so you can see what plugins are causing this and what plugins to get rid of!

3. https://wordpress.org/plugins/memcached-is-your-friend/ - plugin to reduce sql queries by caching them.
-Memcache is awesome caching system used by large companies such as google and facebook to reduce, merge sql queries. Must have. This is plugin for wordpress. Just install and you should see much less queries on second load.

Both plugins are free
iam facing this issue starts april bro i monitor using querie monitor but not exceeding, now install the Memcached plugin
 

modman9

Active member
May 7, 2020
108
112
43
Is it a vps server with openlitespeed installed?(then other method)
If not kindly check your php configuration, .htaccess file /php.ini file ,then look for
max_input_vars = xxxx; <INSIDE php.ini file
php_value max_input_vars xxxx < INSIDE .htaccess file
change xxxx to your desired value = or > 5000 (default)
save apply clear cache and check, if not solve you can try to increase the value more and then check, though i would recommend to use any plugin like wordfence,cerber to check the GET/POST requests in the traffic if something is malacious.
 
  • Like
Reactions: madroots

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu