Closed wibrt closed 2 years ago
If you want to use the --last-parsed
option the file must exist or you must use the incremental mode -I
so that pdBadger will create it after the run, then the next time you run the same command it will not take in account the old binary data. I will review the documentation to see if there is something wrong in the explanation.
Hum, no I'm not correct to respect the use case of the documentation -I
should not be specified and the last parsed file must be created. There must be a bug here, looking deeper.
No documentation change but commit a8ca1eb might fix the original problem reported in #569
The binary format on https://pgbadger.darold.net/documentation.html describes the following steps:
so generating bin files every hour of a daily log (the same should apply to a weekly log?), and building the html report based on those bin files, in my experience this adds already processed data to the report, see #569 (can anyone confirm this?)
but if you only take the last generated binary file (or just 1 bin file), then the results seem to be correct, so i guess
should be replaced with
where latest.bin is the last generated bin file (or another as needed for the report), but not processing several *.bin (as they are probably overlapping, being build from the same log file)