Not the answer you need?
Register and ask your own question!

pt-query-digest output to easily insert in a table

shahshah Current User Role Contributor
I am trying save all entries of the slow query log output to a table. I started by running:
pt-query-digest slow.log --filter 'print Dumper $event' --no-report
 which gives a hash output for perl. Is there a way it can generate csv format? or a routine to generate insert statements?


Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.