Bug #34691 Data for some Falcon tables in I_S is available only with debug binary

Submitted: 20 Feb 2008 14:17 Modified: 30 Jul 2008 8:41
Reporter: Alexey Stroganov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:6.0.4pre OS:Any
Assigned to: MC Brown CPU Architecture:Any

[20 Feb 2008 14:17] Alexey Stroganov
Description:
Some Falcon tables (due to performance concerns) are filled only when one uses debug binary. 

See output below:

regular binary:

mysql> select * from  FALCON_SYSTEM_MEMORY_SUMMARY;
Empty set (0.00 sec)

mysql> select * from FALCON_SYSTEM_MEMORY_DETAIL;
Empty set (0.00 sec)

mysql> select * from FALCON_RECORD_CACHE_SUMMARY;
Empty set (0.00 sec)

mysql> select * from  FALCON_RECORD_CACHE_DETAIL;
Empty set (0.00 sec)

debug binary:

mysql> select * from  FALCON_SYSTEM_MEMORY_SUMMARY;
+-------------+------------+---------------+-----------+-------------+--------------+
| TOTAL_SPACE | FREE_SPACE | FREE_SEGMENTS | BIG_HUNKS | SMALL_HUNKS | UNIQUE_SIZES |
+-------------+------------+---------------+-----------+-------------+--------------+
|     4195336 |    2094184 |             1 |         1 |           1 |            1 |
+-------------+------------+---------------+-----------+-------------+--------------+
1 row in set (0.00 sec)

mysql> select * from  FALCON_SYSTEM_MEMORY_DETAIL;
+--------------------+------+----------------+--------------+-----------------+---------------+
| FILE               | LINE | OBJECTS_IN_USE | SPACE_IN_USE | OBJECTS_DELETED | SPACE_DELETED |
+--------------------+------+----------------+--------------+-----------------+---------------+
| Log.cpp            |  166 |              1 |           64 |               0 |             0 |
| StorageHandler.cpp |   90 |              1 |         2904 |               0 |             0 |
+--------------------+------+----------------+--------------+-----------------+---------------+
2 rows in set (0.00 sec)

mysql> select * from  FALCON_RECORD_CACHE_SUMMARY;
+-------------+------------+---------------+-----------+-------------+--------------+
| TOTAL_SPACE | FREE_SPACE | FREE_SEGMENTS | BIG_HUNKS | SMALL_HUNKS | UNIQUE_SIZES |
+-------------+------------+---------------+-----------+-------------+--------------+
|           8 |          0 |             0 |         0 |           0 |            0 |
+-------------+------------+---------------+-----------+-------------+--------------+
1 row in set (0.00 sec)

select * from  FALCON_RECORD_CACHE_DETAIL;
+------------+------+----------------+--------------+-----------------+---------------+
| FILE       | LINE | OBJECTS_IN_USE | SPACE_IN_USE | OBJECTS_DELETED | SPACE_DELETED |
+------------+------+----------------+--------------+-----------------+---------------+
| Table.cpp  | 3542 |            258 |        22704 |               0 |             0 |
| Record.cpp |  948 |            280 |        24344 |               0 |             0 |
| Table.cpp  | 3524 |             22 |         3168 |               0 |             0 |
+------------+------+----------------+--------------+-----------------+---------------+
3 rows in set (0.00 sec)

How to repeat:
Add note that data for some falcon I_S tables are available only with debug binary
[20 Feb 2008 21:23] Sveta Smirnova
Thank you for the report.

Verified with mysql-6.0-falcon-team tree, but with error  "query 'select * from information_schema.FALCON_SYSTEM_MEMORY_SUMMARY' failed: 1109: Unknown table 'FALCON_SYSTEM_MEMORY_SUMMARY' in information_schema" instead of empty set.
[30 Jul 2008 8:41] MC Brown
The documentation has been updated to note that these tables are not populated unless you are using debug builds.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.