| |||||
|
A look at Falcon Diagnostic Tables By: Robin Schumacher
Performance tuning is one of the top disciplines (if not THE top discipline) that database professionals want to excel at. Being able to take a system that's running sluggish and turn it into one that's running as fast as a scalded dog is a talent that's part art and part science, but whatever the combination necessary to make it happen, there will always be strong demand for folks who are good at it.
mysql> use information_schema Database changed mysql> show tables like 'FAL%'; +-------------------------------------+ | Tables_in_information_schema (FAL%) | +-------------------------------------+ | FALCON_TABLES | | FALCON_RECORD_CACHE_SUMMARY | | FALCON_SYSTEM_MEMORY_DETAIL | | FALCON_SERIAL_LOG_INFO | | FALCON_VERSION | | FALCON_TRANSACTION_SUMMARY | | FALCON_DATABASE_IO | | FALCON_SYNCOBJECTS | | FALCON_TRANSACTIONS | | FALCON_RECORD_CACHE_DETAIL | | FALCON_SYSTEM_MEMORY_SUMMARY | +-------------------------------------+ 11 rows in set (0.00 sec)
Some of the new Falcon tables only provide information when the server is in debug mode – these include the FALCON_RECORD_CACHE_SUMMARY, FALCON_RECORD_CACHE_DETAIL, FALCON_SYSTEM_MEMORY_SUMMARY, and FALCON_SYSTEM_MEMORY_DETAIL tables. But the others contain valuable diagnostics that you can access to determine the health of Falcon-related database performance.
mysql> select * from information_schema.falcon_tables; +-------------+--------------------+-----------+-------------+--------------------+ | SCHEMA_NAME | TABLE_NAME | PARTITION | TABLESPACE | INTERNAL_NAME | +-------------+--------------------+-----------+-------------+--------------------+ | GIMF | BROKER | | FALCON_USER | BROKER | | GIMF | CLIENT | | FALCON_USER | CLIENT | | GIMF | CLIENT_TRANSACTION | | FALCON_USER | CLIENT_TRANSACTION | | GIMF | INVESTMENT | | FALCON_USER | INVESTMENT | | GIMF | INVESTMENT_TYPE | | FALCON_USER | INVESTMENT_TYPE | | GIMF | OFFICE_LOCATION | | FALCON_USER | OFFICE_LOCATION | +-------------+--------------------+-----------+-------------+--------------------+ The other tables are more performance-related and less concerned with general database metadata. Looking at Falcon I/O Performance Suppose we have a Falcon database that resembles the following model (which, by the way, was created in MySQL Workbench, MySQL's new data modeling tool that you
Other Related Articles ... to read more DBA articles, visit http://dba.fyicenter.com/article/ |
||||