|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Is it possible to rotate the slow query log without rotating other log
files like the binary log file? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 28 Okt., 05:30, "ryanm...@yahoo.com" <ryanm...@yahoo.com> wrote:
> Is it possible to rotate the slow query log without rotating other log > files like the binary log file? why not write a simple bash script, that "rotates" every slow- query.log if its larger than for example 32M and is executed by cronjob every hour. you could even write it in PHP, PERL, RUBY or whatever language you like the most. |
|
![]() |
| Outils de la discussion | |
|
|