[MDEV-27441] FR: provide more detailed monitoring regarding temp table usage Created: 2022-01-07 Updated: 2023-11-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Hartmut Holzgraefe | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
Request:
Original description:
|
| Comments |
| Comment by Sergei Golubchik [ 2022-04-27 ] | |||||||||||||
|
There're more stats than Created_tmp_tables and Created_tmp_disk_tables:
would that be sufficient? | |||||||||||||
| Comment by Sergei Golubchik [ 2022-05-16 ] | |||||||||||||
|
to monitor the space we need to take into account both temp tables and temp files. Tables are easier, they're files on disk, one can see file sizes, one can see what query created what tables (as every #sql table name as a connection id as part of the file name). A sum of all writes into a temp table is wrong, there can be updates and deletes, no every write adds to the disk use. Files are somewhat difficult as they don't have directory entries, only an open file descriptor. And they can be big and eat up a lot of disk space | |||||||||||||
| Comment by Michael Widenius [ 2022-09-29 ] | |||||||||||||
|
What should be monitored are:
|