Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7808123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:03:34+00:00 2026-06-02T03:03:34+00:00

I have a mysql database that is currently running very slow. There are a

  • 0

I have a mysql database that is currently running very slow. There are a number of databases on the server, and all other databases are running fine, however this one database is very slow, often taking between 2-10 seconds for a very simple update (updating 1 row in a small table) or select query (selecting 1 row from a small table).

My question is to ask if anyone could think of a reason why this one database is running so slow. The traffic is minimal (it is the database for the development site). I have ruled out my scripts, as phpMyAdmin is also very slow and often times out with this database. I have also checked the running processes to check nothing untoward is there, and there can be no processes ongoing, but still the database will be running really slowly.

So please can anyone shed some light on what may be happening here. I am very happy to give extra information if you require it.

EDIT:

Further to the comments, here is an example of a slow running query:

UPDATE `Users` SET `last active` = 1334763602 WHERE `ID` = 1

This simple update query is taking between 2 and 10 seconds to complete. ID is a primary key and this table has around 30 records.

Further to my initial problem, it does seem as if SELECT is not as bad, though I have seen slow periods for SELECT, a lot of SELECT statements currently are running fast, whereas UPDATE is still slow.

EDIT 2:

After more investigation it appears it might be tied to the InnoDB table type. I have changed a table to MyISAM and a query that was taking 1.5 seconds in InnoDB took just 0.0006 seconds in MyISAM. I guess my question becomes how do I best tune to InnoDB tables?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:03:35+00:00Added an answer on June 2, 2026 at 3:03 am

    It looks like the issue was to do with the database setup and the InnoDB tables. When the database was using MyISAM it worked fine, so we investigated this and it turns out the default buffer pool size was too small, causing memory issues. Having upped the value for the default buffer pool size, the database is performing much faster, (probably in the region of 1000 times faster if not more).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My MySql server currently has 235 databases. Should I worry? They all have same
I'm trying to normalize a mysql database.... I currently have a table that contains
I am running a MySQL database with Mac OS X Lion Server. I have
I have a mysql database that is tracking hockey stats. What I'd like to
I have a MySql database that stores a timestamp for each record I insert.
I have a mysql database that looks like this: |id | city | created
The code below works great. I have a MySQL database that contains book titles
I have a MySQL database, and a particular table in that database will need
I have to look into solutions for providing a MySQL database that can handle
I have a MySQL user added to a database that I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.