Re: simple update query too long - Mailing list pgsql-general

From Isabella Ghiurea
Subject Re: simple update query too long
Date
Msg-id 1305310767547-4393874.post@n5.nabble.com
Whole thread Raw
In response to Re: simple update query too long  (Misa Simic <misa.simic@gmail.com>)
List pgsql-general
Hi,
I would suggest if you can  try one of this options:

0- create a new index on " inter "column for grille table and in your WHERE
clause try to limit the number of  update rows instead of 2mills for one
the whole transaction , something like :where inter > x  and inter < y;

1- drop at least the grille_geom indexes and next

2- disable  All the check constraints on grille tables, there are geometry
functions which possible are called every time when you run the updates.
Isabella

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/simple-update-query-too-long-tp4382026p4393874.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: bubba postgres
Date:
Subject: Re: pg_dump on Hot standby : clarification on how to
Next
From: Merlin Moncure
Date:
Subject: Re: simple update query too long