Michael Riess <mlriess(at)gmx(dot)de> writes:
> But actually I never understood why the database system slows down at
> all when there is much unused space in the files.
Perhaps some of your common queries are doing sequential scans? Those
would visit the empty pages as well as the full ones.
regards, tom lane