Open_tables not correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Expired
|
Undecided
|
Unassigned |
Bug Description
Maybe a PS issue more than PXC, but PXC is where I'm observing it. Note no wsrep is configured.
mysql> show global variables like 'table%';
+------
| Variable_name | Value |
+------
| table_definitio
| table_open_cache | 50000 |
+------
2 rows in set (0.00 sec)
mysql> show open tables;
...
150000 rows in set (0.34 sec)
mysql> show global status like 'open%';
+------
| Variable_name | Value |
+------
| Open_files | 1 |
| Open_streams | 0 |
| Open_table_
| Open_tables | 0 |
| Opened_files | 922978 |
| Opened_
| Opened_tables | 919817 |
+------
7 rows in set (0.00 sec)
Note that Open_tables is 0. Interestingly, SHOW OPEN TABLES gives 150k results, but that is the table_definitio
This may not be a bug: I am only querying the I_S.columns table. Tables are clearly getting opened, but for some reason they are getting closed right away after those queries (nothing else on the system).