pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad Wagner <chad.wagner@gmail.com>
To: Sidar López Cruz <sidarlopez@hotmail.com>
Cc: pgsql-performance@postgresql.org
Cc: tallen@blackducksoftware.com
Subject: Re: Very slow queries
Date: Wed, 31 Jan 2007 20:29:55 -0500
Message-ID: <81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com> (raw)
In-Reply-To: <BAY132-F566B5199508AF96BDBFB3CEA50@phx.gbl>
References: <45C0A88B.2060409@blackducksoftware.com>
	<BAY132-F566B5199508AF96BDBFB3CEA50@phx.gbl>

On 1/31/07, Sidar López Cruz <sidarlopez@hotmail.com> wrote:
>
> Executing these query take:
> Query returned successfully: 290 rows affected, 2542387 ms execution time.
> I think that's too many time


I would post the plans that you are getting, otherwise just mentioning the
execution time is not very helpful.  Also, yet another syntax is the UPDATE
foo... FROM tab1, tab2... syntax.

http://www.postgresql.org/docs/8.2/static/sql-update.html


In any case, I thought you mentioned this was a one off query?



-- 
Chad
http://www.postgresqlforums.com/

view thread (9+ messages)

Message-ID: <81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com>
Permalink:  ../81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com/
Also on:    postgresql.org/message-id/81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: chad.wagner@gmail.com, sidarlopez@hotmail.com, tallen@blackducksoftware.com
  Subject: Re: Very slow queries
  In-Reply-To: <81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com>
  References: <45C0A88B.2060409@blackducksoftware.com> <BAY132-F566B5199508AF96BDBFB3CEA50@phx.gbl> <81961ff50701311729v1327d5bdha1de923303ea0641@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox