Wenzhe Zhou <wzhou@cisco.com> writes:
> Accoring to the debug log (postmaster.log), there are only read
> operations (select query) in one hour and twenty minutes. While in
> that period of time, I saw log messages like "DEBUG: recycled
> transaction log file xxxxxx" in every one minute and used disk space
> increase 105 MB. It looks like the server is busy to write to DB, and
> transaction log files are recycled in every one minutes. How could
> this happen?
AFAIK, a purely read-only stream of transactions will consume negligible
WAL space (a few bytes for every clog page == 32K transactions is the
largest drain I can think of). I think you are missing some writing
transactions somewhere.
regards, tom lane