Bug #42262 | advisor recommendation regarding Excessive Disk Temporary Table needs improving | ||
---|---|---|---|
Submitted: | 22 Jan 2009 9:08 | Modified: | 6 Mar 2009 20:27 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Enterprise Monitor: Advisors/Rules | Severity: | S3 (Non-critical) |
Version: | 2.0.1.7125 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | windmill |
[22 Jan 2009 9:08]
Simon Mudd
[7 Dec 2010 12:21]
Mark Leith
Ultimately this requires knowing what value will actually make a difference, not increasing by some percentage or some step wise fashion. To do that, we need to know what the largest disk table has ever been, to be able to say with confidence what the maximum is to set to satisfy all temporary tables. Then, one still has to consider concurrency (each thread may create a table of that size) with overall memory. Finding the maximum number of writes to any temporary table will be much easier in 5.5 with PERFORMANCE_SCHEMA, we should add a data collection - something like "max_disk_temporary_table_size" - that can better advise about this.