Reputation: 1010
I'm somewhat confused about the actual data in this database. The documentation says the performance_schema database is a combination of temporary tables and views. Does that mean this data is held only in memory, or that it's read from a different place on disk?
Upvotes: 1
Views: 70
Reputation: 562498
https://dev.mysql.com/doc/refman/5.7/en/performance-schema.html says:
- Tables in the performance_schema database are views or temporary tables that use no persistent on-disk storage.
The performance data is held in volatile RAM only. All the information is discarded if you shut down the mysqld process, and data collection will start over when you restart mysqld.
Upvotes: 2