Solved

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

Posted on 2011-02-12
5
1,501 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
  • 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now