On Thu, Jul 14, 2005 at 03:08:30PM +1000, Alison Winters wrote:
> Hi,
> 
> Our application requires a number of processes to select and update rows
> from a very small (<10 rows) Postgres table on a regular and frequent
> basis.  These processes often run for weeks at a time, but over the
> space of a few days we find that updates start getting painfully slow.
> We are running a full vacuum/analyze and reindex on the table every day,

Full vacuum, eh?  I wonder if what you really need is very frequent
non-full vacuum.  Say, once in 15 minutes (exact rate depending on dead
tuple rate.)

-- 
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"World domination is proceeding according to plan"        (Andrew Morton)

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to