Re: What's faster?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Keith Bottner" <kbottner(at)comcast(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: What's faster?
Date: 2003-12-27 00:49:07
Message-ID: 8602.1072486147@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Keith Bottner" <kbottner(at)comcast(dot)net> writes:
> I have a database where the vast majority of information that is related to
> a customer never changes. However, there is a single field (i.e. balance)
> that changes potentially tens to hundreds of times per day per customer
> (customers ranging in the 1000s to 10000s). This information is not indexed.
> Because Postgres requires VACUUM ANALYZE more frequently on updated tables,
> should I break this single field out into its own table,

Very likely a good idea, if the primary key that you'd need to add to
identify the balance is narrow. Hard to say exactly how large the
benefit would be, but I'd think the update costs would be reduced
considerably.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mike Nolan 2003-12-27 01:06:21 Re: What's faster?
Previous Message Keith Bottner 2003-12-27 00:11:19 What's faster?