Solved

How to increase speed "SHOW TABLE STATUS FROM table" in a innodb table

Posted on 2011-02-12
5
1,506 Views
Last Modified: 2012-05-11
When I launch SHOW TABLE STATUS FROM tablename, in a innodb table, the results take more than 1 minute.

How can I increase the speed of this sentence?
0
Comment
Question by:lnrivera
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:Muhammad Wasif
ID: 34882398
Normally for a single table you do
SHOW TABLE STATUS LIKE 'table'

Open in new window

Did you try this?
0
 

Author Comment

by:lnrivera
ID: 34882434
Yes, but the table is a innodb and take a lot of time to resolve it
0
 
LVL 20

Expert Comment

by:Muhammad Wasif
ID: 34882457
This slowness seems to be due to transactions or READ LOCKs as mentioned here.

Which MySQL version do you have?
0
 

Author Comment

by:lnrivera
ID: 34882630
We have 5.5, and the "show table status" are running in a server without any another connections (Only for test), the question is that the table is a big innod table with thousands of records
0
 
LVL 20

Accepted Solution

by:
Muhammad Wasif earned 500 total points
ID: 34882683
What information do you need in SHOW TABLE STATUS output? I believe you can get the same information from INFORMATION_SCHEMA.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Creating and Managing Databases with phpMyAdmin in cPanel.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question