Title: Database issues
Last modified: June 6, 2019

---

# Database issues

 *  [omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * (@omavaraisuushaaste)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/)
 * Hello!
 * I have been having some stability issues in my personal wordpress blog for months
   now. The site seems to go down every once/two weeks because of database/server
   errors although in the first year/two years it worked like a charm. I always 
   have to contact the hosting service to fix the database in order to get the website
   back up and running.
 * I have googled this a lot and do all things by the book (keeping plugins updated,
   using database optimization plugins etc. but still this may happen 5 days after
   optimizing the database).
 * At the same time the Google pagespeed rating has gone down a bit and the site
   seems pretty slow.
 * I can’t pinpoint this change to any specific plugin addition, but it seems like
   the more i started optimizing my website’s speed (with wp-supercache and smush-
   like plugins), the more unstable the website’s database has become.
 * As I am not a developer and know only the basics about developing the website,
   i have asked my host (bluehost) for tips for these errors and they always come
   up with the same answer – the problem is in the plugins my website is running.
   However you can find my website from: omavaraisuushaaste.com and as you can see
   there is not that many plugins running.
 * I have seen pages with lots more visible plugins to run smoothly, so it seems
   weird why my site with so few plugins still gets database errors and as the bluehost
   people say there are too many scripts running at the same time.
 * Also, one of the bluehost people gave me a list of not working javascrip on my
   blog, which is as follows if it gives more light to the matter for people who
   understand this:
 * [https://c.sharethis.mgr.consensu.org/v1.0/cmp/portal.html](https://c.sharethis.mgr.consensu.org/v1.0/cmp/portal.html)(
   291B of inline JavaScript
    [https://platform-api.sharethis.com/js/sharethis.js](https://platform-api.sharethis.com/js/sharethis.js)(
   49.8KiB) [https://platform-api.sharethis.com/js/sharethis.js](https://platform-api.sharethis.com/js/sharethis.js)(
   49.8KiB)
 * [https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery.js](https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery.js)(
   86.8KiB)
    [https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js](https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js)(
   7.7KiB)
 * [https://omavaraisuushaaste.com/](https://omavaraisuushaaste.com/) (3.2KiB of
   inline JavaScript)
 * [https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js](https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js)
   
   [https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js](https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery-migrate.min.js)
   [https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery.js](https://c0.wp.com/c/5.2.1/wp-includes/js/jquery/jquery.js)(
   86.8KiB)
 * [https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1](https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1)(
   30.6KiB)
 * [https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1](https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1)(
   30.6KiB) [https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/functions.js?ver=20180503](https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/functions.js?ver=20180503)(
   1.2KiB) [https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1](https://omavaraisuushaaste.com/wp-content/themes/sparkling/assets/js/vendor/bootstrap.min.js?ver=5.2.1)(
   30.6KiB))
 * Do these sound like they are sever errors or just minor ones? As you can see 
   I’m running Sparkling theme, which I have heard is ok but when I look at the 
   errors, there seems to be a couple of issues with the theme’s javascript. Do 
   you think these errors matter that much as I guess every script has some kind
   of errors? I didn’t have issues with Sparkling in the beginning and I know a 
   couple of other sites, which run it smoothly as well.
 * And for reference, the plugins i have in my blog are the following if any of 
   these catch your eye if they are the problem:
 * Akismet-spam
 * Annual Archive
 * Disable Gutenberg
 * Google Analytics
 * Header and Footer Scripts
 * Jetpack by WordPress.com
 * Link Manager
 * Login LockDown
 * No Self Pings
 * OPML
 * Really Simple SSL
 * Say What?
 * Smush
 * WP Super Cache
 * WP to Twitter
 * WP User Avatar
 * WP-Optimize
 * WP-Sweep
 * Yoast SEO
 * If anyone can help with fixing the stability issue once and for all or guide 
   me to right direction, I would be very grategul, thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-issues-20%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Sundar](https://wordpress.org/support/users/phptechie/)
 * (@phptechie)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11611633)
 * [@omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * I did check your site now & it works fine.
    But as you say , the site becomes
   unstable sometimes , can you post some details on what sort of errors / issues
   you get like 500 errors or any other errors visible on the screen when you access
   the site ? Post some screenshots with the errors , that will help to understand
   better. BTW: You seem to have installed a lot of plugins . Because I see your
   site is more or less a blogging one (correct me if I’m wrong) , do you really
   need all of these plugins for your site?
 *  Thread Starter [omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * (@omavaraisuushaaste)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11613057)
 * Thanks for you reply Sundar!
 * Yes you are correct, it’s just a personal blog. Forgot to mention that in the
   opening post.
 * I think the most common two errors are:
 * “500 internal server error” and
    “Error establishing a database connection”
 * I will take screen captures if the site gets an error in the following days.
 * Also, good thing that you mentioned that I have a lot of plugins as I don’t really
   know what is actually a lot or good amount of plugins in a normal blog, hmm. 
   Here are the plugins and the reasons for them. Also, I would like to here input
   on the performance enhanching ones, do they actually enhance performance in a
   website, which is mostly text.
 * **From what I have understood the must plugins are:**
 * – Akismet-spam(well, because spam)
    – Disable Gutenberg (tried Gutenberg for 
   a while, but doesn’t really work well with a full-text blog) Header and Footer
   Scripts/Say What? (needed for affiliate marketing links as I don’t want to touch
   the actual code) – Jetpack by WordPress.com (I guess this is a must have for 
   all blogs?) – Login LockDown (safety is nice) – Yoast SEO (not a SEO guru yet,
   so this one helps a ton)
 * **
    And the additional ones are for me:
 * – Annual Archive (well this I could delete)
    – Google Analytics (I could live
   without, but still useful) – Link Manager (No need at the moment) – No Self Pings(
   not necessary, but don’t really care about self pings) – OPML (well, this one
   I can delete) – WP to Twitter (Saves time a lot) – WP User Avatar(this one not
   necessary)
 * Here I can delete a few, but I don’t think the plugins are that big, so I don’t
   know if it makes a lot of difference.
 * **And about the performance enhancing ones:**
 * – Really Simple SSL
    – WP Super Cache – WP-Optimize – WP-Sweep – Smush
 * Well the SSL one is necessary if I want to run SSL on my site. About the other
   ones, I feel like everyone on the internet says that every site should have these
   ones. But I wonder if all those optimizations, sweeps and smushs are necessary
   for a blog, which has only test (and maybe 1-2 pictures per post)? Or do they
   actually make the blog just heavier?
 * Thanks again!
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11613742)
 * If those errors are happening only sometimes, expecailly the database connection
   issue, that means that the server is overloaded and can’t handle the load from
   your site (or from any one or more of the other sites running on it as well).
   That’s nothing that youcan fix. You will need to get your hosting company to 
   either upgrade the server or move your site to a new server that has available
   resources. You may also need to look at upgrading your hosting plan if you have
   one that has various limits imposed on it.
 *  Thread Starter [omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * (@omavaraisuushaaste)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11615302)
 * Catacaustic: Thanks! I was thinking about if upgrading the hosting would help
   this as well (currently I have the most basic hosting service from bluehost).
   I think they upgraded the server when I asked them the 5th/6th time about the
   same error, but it seems like the errors still randomly happen.
 * However, when I asked this from the bluehost CSR, they said, that the issue is
   in the process running in my website (too many plugins, too much load to the 
   database) and there is no need for me to upgrade the hosting service. I took 
   their word for it as I thought, anyone would have jumped to the opportunity to
   sell me the better hosting plan if it would actually help.
 * What do you think, did the CSR know what they were talking about or is hosting
   plan actually related to the database of my website?
 *  [Sundar](https://wordpress.org/support/users/phptechie/)
 * (@phptechie)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11615400)
 * [@omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * From my experience , a basic plan would be sufficient for running a personal 
   blog with limited traffic.
    You might need to consider upgrading the server only
   when the bandwidth is not enough to handle the traffic to your site.
 * Try to de-activate & remove unwanted plugins , keep only the necessary plugins.
   
   This should solve the issues you encounter.
 * If you still encounter such issues, then check the error logs / access logs on
   your server , that should give you some insight on the problem , based on which
   you can take necessary actions.
 * Make sure to monitor the web server & database servers .
 *  Thread Starter [omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * (@omavaraisuushaaste)
 * [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11615986)
 * Thanks [@phptechie](https://wordpress.org/support/users/phptechie/) ! I’ll try
   to delete even more plugins and we’ll see what happens. I will get back to the
   forums if the problems still continue to occur and try to look at the logs of
   what could be the issue.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Database issues’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [omavaraisuushaaste](https://wordpress.org/support/users/omavaraisuushaaste/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/database-issues-20/#post-11615986)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
