Bug #29823 | Falcon falcon_database_io table doesn't report stats for user DB's | ||
---|---|---|---|
Submitted: | 16 Jul 2007 14:40 | Modified: | 3 Dec 2007 14:15 |
Reporter: | Robin Schumacher | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | 6.0 | OS: | Windows |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
Tags: | cwp |
[16 Jul 2007 14:40]
Robin Schumacher
[18 Oct 2007 22:39]
Kevin Lewis
Chris, It seems that this information_schema report is refering to 'databases' and reporting tablespaces. But the numbers reflect the whole instance of Falcon, so maybe we should just drop the DATABASE column.
[21 Oct 2007 21:22]
Christopher Powers
Falcon does not track I/O stats for individual user databases (MySQL schemas). However, Information_Schema.FALCON_DATABASE_IO still lacked statistics for all tablespaces. Modified StorageDatabase::getIOInfo() to collect statistics from all tablespaces, in addition to the system default tablespaces. Also changed the FALCON_DATABASE_IO column header from "DATABASE" to the more accurate "TABLESPACE". Changeset 1.2669, mysql-6.0-falcon-team.
[30 Nov 2007 17:13]
Hakan Küçükyılmaz
Works now [18:12] root@test>select count(*) from t2; +----------+ | count(*) | +----------+ | 1835008 | +----------+ 1 row in set (10.03 sec) 6.0.4-alpha-debug [18:13] root@test>select * from information_schema.falcon_database_io; +------------------+-----------+---------+----------------+--------+---------------+-------+ | TABLESPACE | PAGE_SIZE | BUFFERS | PHYSICAL_READS | WRITES | LOGICAL_READS | FAKES | +------------------+-----------+---------+----------------+--------+---------------+-------+ | FALCON_MASTER | 4096 | 1024 | 33 | 51 | 5090 | 111 | | FALCON_TEMPORARY | 4096 | 1024 | 0 | 4 | 0 | 4 | | FALCON_USER | 4096 | 1024 | 22669 | 25979 | 28433247 | 21650 | +------------------+-----------+---------+----------------+--------+---------------+-------+ 3 rows in set (0.00 sec) 6.0.4-alpha-debug
[30 Nov 2007 20:43]
Bugs System
Pushed into 6.0.4-alpha
[3 Dec 2007 14:15]
MC Brown
A note has been added tot he 6.0.4 changelog: When accessing the statistics in INFORMATION_SCHEMA.FALCON_DATABASE_IO, the information would related only to the Falcon database, not user tablespaces. The output has been updated to report on all tablespaces, and the column title has been changed to reflect the fact that the statistics are now reported by tablespace, not database.