Ron Johnson <ronljohnsonjr(at)gmail(dot)com> writes:
> In --format=directory mode, remove .dat files with zero data records, and
> mark that table's toc.dat entry that it's an empty table.
> Justification: *lots* of empty tables means *lots* of teeny-tiny files in
> the DB's dump directory. That unnecessarily bloats the fs, and makes "du
> -c" really really slow.
Evidence please? Most file systems that I've looked at optimize
zero-size files pretty well.
regards, tom lane