[MDEV-26254] Slow Query Log: introduce new Variable to configure maximum length of query Created: 2021-07-27 Updated: 2022-07-06 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Configuration, Server, Variables |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Uwe Beierlein | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
We are currently using MariaDB (Galera Cluster) 10.3.30. Sometimes our slow-query-log gets bloated by BLOBs supplied to stored-routines. It would be great if we could limit the length of the query getting logged (e.g. log_slow_query_max_length). Thank you! |
| Comments |
| Comment by TvT [ 2022-07-06 ] |
|
Yes this would be really helpful to have. Another idea would be not to define the length of the whole query but a maximum length of each parameter/field. |