Closed jfinzel closed 6 years ago
Hey @jfinzel, the regex was looking for execute <unnamed>
instead of execute S_71
. That's been fixed now, and likely the reason some queries are missing. A few questions about the exiting early:
dexter <connection-options> <file1>
?Thanks again for helping debug.
@ankane I am already doing dexter <connection-options> <file1>
to run this.
It appears that it is exit code 0, meaning it's perhaps not recognizing or notifying an error here? After the script exits:
foo@foo:~$ echo $?
0
If that's the case, I don't think the script is exiting early. Index suggestions/creating indexes are only performed once the entire log file(s) have been processed in non-streaming mode. It may just be an issue with the query collection process, which hopefully the latest package fixes.
I think you are right. It was skipping most of the statements due to the <unnamed>
issue.
I am now getting lots of indexes created - thanks for getting this to the point of more usability. I will let you know if I see any more issues!
Great, glad we were able to make significant improvements. Curious to hear how the index suggestions turn out.
First of all, I notice the following statement is just ignored - note that parameter 7 is a massively long string with thousands of characters. I would expect fake field f15 to be indexed for this statement:
Also, Dexter appears to be stopping and not going through my whole log file, but there is not any indication of error or anything. This is a big log file with 105000 lines. After it created an index for me, it just exited, without nearly finishing the log file.
I also just generally noticed a number of missing queries. It said it found 28 query fingerprints, but there were many I found that never appear in the dexter log output.