2007-09-20 11:23:44 +00:00
|
|
|
/******************************************************
|
|
|
|
InnoDB INFORMATION SCHEMA tables interface to MySQL.
|
|
|
|
|
|
|
|
(c) 2007 Innobase Oy
|
|
|
|
|
|
|
|
Created July 18, 2007 Vasil Dimov
|
|
|
|
*******************************************************/
|
|
|
|
|
|
|
|
#ifndef i_s_h
|
|
|
|
#define i_s_h
|
|
|
|
|
|
|
|
extern struct st_mysql_plugin i_s_innodb_trx;
|
|
|
|
extern struct st_mysql_plugin i_s_innodb_locks;
|
|
|
|
extern struct st_mysql_plugin i_s_innodb_lock_waits;
|
branches/zip: Rename the INFORMATION_SCHEMA tables
INNODB_ZIP and INNODB_ZIP_RESET to
INNODB_COMPRESSION and INNODB_COMPRESSION_RESET,
and remove the statistics of the buddy system.
This change was discussed with Ken. It makes the tables shorter
and easier to understand. The removed data will be represented in
the tables INNODB_COMPRESSION_BUDDY and INNODB_COMPRESSION_BUDDY_RESET
that will be added later.
i_s_innodb_zip, i_s_innodb_zip_reset, i_s_zip_fields_info[],
i_s_zip_fill_low(), i_s_zip_fill(), i_s_zip_reset_fill(),
i_s_zip_init(), i_s_zip_reset_init(): Replace "zip" with "compression".
i_s_compression_fields_info[]: Remove "used", "free",
"relocated", "relocated_usec". In "compressed_usec" and "decompressed_usec",
replace microseconds with seconds ("usec" with "sec").
page_zip_decompress(): Correct a typo in the function comment.
PAGE_ZIP_SSIZE_BITS, PAGE_ZIP_NUM_SSIZE: New constants.
page_zip_stat_t, page_zip_stat: Statistics of the compression, grouped
by page size.
page_zip_simple_validate(): Assert that page_zip->ssize is reasonable.
2008-03-28 09:28:54 +00:00
|
|
|
extern struct st_mysql_plugin i_s_innodb_compression;
|
|
|
|
extern struct st_mysql_plugin i_s_innodb_compression_reset;
|
branches/zip: Implement the INFORMATION_SCHEMA tables
INNODB_COMPRESSION_BUDDY and INNODB_COMPRESSION_BUDDY_RESET.
buf_buddy_stat_struct, buf_buddy_stat_t, buf_buddy_stat[]:
Statistics of the buddy system grouped by block size.
i_s_innodb_compression_buddy, i_s_innodb_compression_buddy_reset:
New INFORMATION_SCHEMA plugins.
i_s_compression_buddy_fields_info[]: Define the fields:
size, used, free, relocated, relocated_sec.
i_s_compression_buddy_fill_low(), i_s_compression_buddy_fill(),
i_s_compression_buddy_reset_fill(): Fill the fields.
i_s_compression_buddy_init(), i_s_compression_buddy_reset_init():
Initialize the tables.
2008-03-28 10:03:58 +00:00
|
|
|
extern struct st_mysql_plugin i_s_innodb_compression_buddy;
|
|
|
|
extern struct st_mysql_plugin i_s_innodb_compression_buddy_reset;
|
2007-09-20 11:23:44 +00:00
|
|
|
|
|
|
|
#endif /* i_s_h */
|