RE: AW: Plans for solving the VACUUM problem - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: AW: Plans for solving the VACUUM problem
Date
Msg-id 3705826352029646A3E91C53F7189E3201663C@sectorbase2.sectorbase.com
Whole thread Raw
In response to AW: Plans for solving the VACUUM problem  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
> Correct me if I am wrong, but both cases do present a problem
> currently in 7.1.  The WAL log will not remove any WAL files
> for transactions that are still open (even after a checkpoint
> occurs). Thus if you do a bulk insert of gigabyte size you will
> require a gigabyte sized WAL directory. Also if you have a simple
> OLTP transaction that the user started and walked away from for
> his one week vacation, then no WAL log files can be deleted until
> that user returns from his vacation and ends his transaction.

Todo:

1. Compact log files after checkpoint (save records of uncommitted  transactions and remove/archive others).
2. Abort long running transactions.

Vadim


pgsql-hackers by date:

Previous
From: Barry Lind
Date:
Subject: Re: AW: Plans for solving the VACUUM problem
Next
From: Jan Wieck
Date:
Subject: Re: AW: Plans for solving the VACUUM problem