I am new to using this tool and I’m having problems splitting my log file based on Schema.
I run the following command against my log file but it never generates any files:
pt-log-player --split Schema --session-files 32 --filter ‘$event->{arg} =~ m/^select/i’ --base-dir benchmark/session-files slow-log
If I do modify the command to split randomly:
pt-log-player --split-random --session-files 32 --filter ‘$event->{arg} =~ m/^select/i’ --base-dir benchmark/session-files slow-log
a directory is created under benchmark/session-files with 32 files named session-N.txt which contain select statements.
What am I missing when trying to split based on Schema?
Thanks
Graham