Skip to content

Conversation

diyuhuodong
Copy link

MySQL's slow log does not support rotate. So we go to rotate the slow.log by ourselves, but when we analyze the new slow.log separately, we cannot get the db of the sql because there is no use db.
E.g:
slow.log records:
use db;
select * from t1;

rotate slow.log

new slow.log records:
select * from t2;

We can't get the db of that sql from new slow.log.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@diyuhuodong
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=107903 for updates.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants