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 6740287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:35:17+00:00 2026-05-26T11:35:17+00:00

I have serious performance problem (all of a sudden) on my server (PHP+MySQL). I

  • 0

I have serious performance problem (all of a sudden) on my server (PHP+MySQL). I enabled MySQL slow query log and he started to show some queries that were taking even 25 secs to complete. for example this one takes 15 seconds:

# Time: 110823  2:07:01
# User@Host: ***[***] @ localhost []
# Query_time: 15  Lock_time: 0  Rows_sent: 1  Rows_examined: 1
use ***;
SELECT `users`.*
FROM (`users`)
WHERE `users`.`id` = 4413
ORDER BY `users`.`id` ASC
LIMIT 0, 1;

Point is, on the field Id there is a primary key and if i run the query from phpmyadmin it executes in 0.00008 seconds. This is the explain plan:

id  select_type     table   type    possible_keys   key     key_len     ref     rows    Extra
1   SIMPLE  users   const   PRIMARY     PRIMARY     4   const   1   

I am really confused, because the hosting provider it is saying everything is fine and is my database. I checked all the parameters with tuning-primer by Matthew Montgomery and all settings seems fine…

  • 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-05-26T11:35:18+00:00Added an answer on May 26, 2026 at 11:35 am

    I confirm itsmee answer. Database was bogged down from unindexed queries launched many times. They weren’t displaying in the mysql-slow log because they were under 1 sec, but they were executed many many times.

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

Sidebar

Related Questions

I have a serious performance problem. I have a database with (related to this
I think I have a performance problem in my apache server. I have apache
I have a sql server 2000 database with some serious performance problems, as well
I am having serious performance issues with a spatial update query in SQL Server
I have a voip app that has a serious performance issues when it runs
i have very serious problem if any tech expert can help...thank you in advance..
I have a serious problem. One of our servers crashed. Now I reinstalled the
I am new to python and I have a serious problem that I cannot
Ok guys, I have a serious problem with this. I have a static class
I have serious problem I can not pass my data to controller when the

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.