# why the temporary table has no content

**URL:** <https://forums.percona.com/t/why-the-temporary-table-has-no-content/1774>\
**Category:** Other MySQL® Questions\
**Created:** [March 6, 2012, 8:33pm UTC](https://forums.percona.com/t/why-the-temporary-table-has-no-content/1774 "2012-03-06T20:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justlooks](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@justlooks](https://forums.percona.com/u/justlooks)\
**Post date:** [March 6, 2012, 8:33pm UTC](https://forums.percona.com/t/why-the-temporary-table-has-no-content/1774/1 "2012-03-06T20:33:40Z")

</div>

i use percona server ,when i check information\_schema.global\_temporary\_table and temporary\_table,i find nothing,but i can observe a lot of temp table from my temp dir

# ls /data/mysql\_tmp\_no\_del/

#sql\_196c\_1.MYD #sql\_196c\_1.MYI #sql\_196c\_5.MYD #sql\_196c\_5.MYI #sql\_196c\_6.MYD #sql\_196c\_6.MYI #sql\_196c\_7.MYD #sql\_196c\_7.MYI #sql\_196c\_8.MYD #sql\_196c\_8.MYI

mysql\> show temporary tables;  
Empty set (0.00 sec)

mysql\> show temporary tables;  
Empty set (0.00 sec)

mysql\> show global temporary tables;  
Empty set (0.00 sec)

mysql\> select version();  
±--------------+  
| version() |  
±--------------+  
| 5.5.20-55-log |  
±--------------+  
1 row in set (0.00 sec)

mysql\> use information\_schema;  
Reading table information for completion of table and column names  
You can turn off this feature to get a quicker startup with -A

Database changed  
mysql\> select \* from GLOBAL\_TEMPORARY\_TABLES\G  
Empty set (0.00 sec)

mysql\> select \* from TEMPORARY\_TABLES\G  
Empty set (0.00 sec)

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [March 7, 2012, 9:28am UTC](https://forums.percona.com/t/why-the-temporary-table-has-no-content/1774/2 "2012-03-07T09:28:48Z")

</div>

This table apparently shows only tables created with CREATE TEMPORARY TABLE, not those created implicitly to process complex queries. I have asked for a documentation clarification, here: [URL][https://bugs.launchpad.net/percona-server/+bug/949030[/URL]](https://bugs.launchpad.net/percona-server/+bug/949030%5B/URL%5D) Please vote for or comment on this bug report if it is important to you.
