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

shahshah Active Member Poster
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?

Answers

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.