Revenue Source

Welcome to the Revenue Source affiliate marketing forums.

You are viewing our internet marketing and SEO forums as a guest which gives you limited access to most of our discussions.  By joining our free community, you will have access to post affiliate marketing topics, communicate privately with other members (PM), exchange SEO strategies, and access many other special features.  Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems, please don't hesitate to contact us.

Go Back   Revenue Source > Site Design & Development > Databases
Reload this Page INFORMATION_SCHEMA tables in the InnoDB pluggable storage engine
Tags: , , , , ,

Reply
 
LinkBack Thread Tools Search this Thread
Old
  (#1 (permalink))
Affiliate Blogs is Offline
Revenue Source Veteran
Affiliate Blogs has a brilliant future here!
 
Affiliate Blogs's Avatar
 
Join Date: Oct 2005
Posts: 9,224
Jack of All Trades
CyberSpace United States
   
INFORMATION_SCHEMA tables in the InnoDB pluggable storage engine - 05-24-2008

Much has been written about the new InnoDB pluggable storage engine, which Innobase released at the MySQL conference last month. We've written posts ourselves about its fast index creation capabilities and the compressed row format, and how that affects performance. One of the nice things they added in this InnoDB release is INFORMATION_SCHEMA tables that show some status information about InnoDB. Here are the tables:
PLAIN TEXT
SQL:
  1. [FONT='Courier New', Courier, monospace]mysql> SHOW TABLES FROM INFORMATION_SCHEMA LIKE 'INNODB%';[/font]
  2. [FONT='Courier New', Courier, monospace]+----------------------------------------+[/font]
  3. [FONT='Courier New', Courier, monospace]| Tables_in_INFORMATION_SCHEMA (INNODB%) |[/font]
  4. [FONT='Courier New', Courier, monospace]+----------------------------------------+[/font]
  5. [FONT='Courier New', Courier, monospace]| INNODB_CMP |[/font]
  6. [FONT='Courier New', Courier, monospace]| INNODB_CMP_RESET |[/font]
  7. [FONT='Courier New', Courier, monospace]| INNODB_CMPMEM |[/font]
  8. [FONT='Courier New', Courier, monospace]| INNODB_CMPMEM_RESET |[/font]
  9. [FONT='Courier New', Courier, monospace]| INNODB_LOCK_WAITS |[/font]
  10. [FONT='Courier New', Courier, monospace]| INNODB_LOCKS |[/font]
  11. [FONT='Courier New', Courier, monospace]| INNODB_TRX |[/font]
  12. [FONT='Courier New', Courier, monospace]+----------------------------------------+ [/font]



The _CMP tables show statistics about compression; they contain a lot of useful information about compression, decompression, memory management, fragmentation etc. Beware that selecting from the tables whose names contain RESET has a side effect: it resets the statistics back to 0.
There are also locks and transactions tables. A while ago, the InnoDB developers contacted me to ask my opinion about what would be useful to put in the INFORMATION_SCHEMA. I told them the single biggest thing I could not get from InnoDB at the time was visibility into which transactions are blocking others when there are lock waits. It appears that they agreed this was important to add. (I subsequently discovered that it is possible to find out more information on InnoDB locks even in the older versions of InnoDB, but it's not really easy.)
These tables are fully documented in the InnoDB plugin manual, along with extensive examples of how to use them to find out what is blocking what and so on. Note that the InnoDB plugin manual is being maintained on www.innodb.com, not as part of the regular MySQL manual.
Entry posted by Baron Schwartz | No comment
Add to: | | | |


INFORMATION_SCHEMA tables in the InnoDB pluggable storage engine - Read More...
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: INFORMATION_SCHEMA tables in the InnoDB pluggable storage engine
Thread Thread Starter Forum Replies Last Post
Quickly preloading Innodb tables in the buffer pool Affiliate Blogs Databases 0 05-02-2008 06:25 AM
Efficient Boolean value storage for Innodb Tables Affiliate Blogs Databases 0 04-24-2008 06:34 AM
Falcon Storage Engine Design Review Affiliate Blogs Databases 0 01-12-2007 11:34 AM
COUNT(*) for Innodb Tables Affiliate Blogs Databases 0 12-01-2006 06:04 PM
Trying Archive Storage Engine Affiliate Blogs Databases 0 11-14-2006 10:03 PM



© 2004-6 RevenueSource.com.  All rights reserved.  Do not duplicate or redistribute in any form.
This website and its logos/design are property of RevenueSource.com.  All rights reserved. vBSEO 3.2.0 RC7


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34