how many record versions - Mailing list pgsql-general

From David Garamond
Subject how many record versions
Date
Msg-id 40AFAD9F.6000104@zara.6.isreserved.com
Whole thread Raw
Responses Re: how many record versions
Re: how many record versions
List pgsql-general
begin;
update t set val=val+1; -- 1000 times
commit;

How many record versions does it create? 1 or 1000? I'm implementing a
banner counter which is incremented at least 2-3 millions a day. I
thought I'd cheat by only commiting after every few minutes. Would that
work or would I still create as many record versions?

--
dave


pgsql-general by date:

Previous
From: Octavio Alvarez Piza
Date:
Subject: Re: could not open relation
Next
From: Vamsikrishna Mudrageda
Date:
Subject: DB design opinions - Foreign Key usage