[MDEV-21451] (Feature) Database name missing from Slow Query Log entires Created: 2020-01-09 Updated: 2020-02-14 Resolved: 2020-02-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3.20 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Johnathan Elmore | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
RHEL 7 |
||
| Description |
|
When searching through the Slow Query Log we cannot identify the database which had the slow query. We have a number of databases on our instances, most of which do not include the name of the database in the query itself. It would be helpful to include the name of the database somewhere in the log entry. One recommendation is to place it on the same line as the User (user@host/database). |
| Comments |
| Comment by Elena Stepanova [ 2020-01-13 ] | ||||||||||||||||||||||||||||||||||
|
It already has the database field, it is called db in the log table and Schema in the log file (I'm not sure which of them you are talking about).
|