Re: Fwd: Not so simple query and a half million loop

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Daniel Cristian Cruz <danielcristian(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Fwd: Not so simple query and a half million loop
Date: 2008-12-19 01:25:29
Message-ID: 494AF809.8060503@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

Daniel Cristian Cruz wrote:

> No one knows why I got "actual time=0.014..0.570 rows=30 loops=511222"
> and "actual time=0.005..0.006 rows=1 loops=15158976"?

You've already tried increasing the stats targets and ANALYZEing, so:

Please post the output of VACUUM ANALYZE VERBOSE on the tables of interest.

> I've tryied 4 times to post this message to pgsql-performance without
> success... No return, even an error...

Well, the message arrives. However, many people ignore anything with
"Fwd:" in it in a mailing list, since it's someone lazily resending a
message by clicking on the forward button thus they've probably seen the
message before.

--
Craig Ringer

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2008-12-19 02:11:57 Re: reindexdb dying with SIGPIPE on 8.2.5
Previous Message Jennifer Redman 2008-12-18 23:34:37 Re: Incomplete Startup Packet on startup and when pg_maintenance --analyze runs in cron

Browse pgsql-performance by date

  From Date Subject
Next Message Craig Ringer 2008-12-19 01:50:43 Re: pg_restore : out of memory
Previous Message Robert Haas 2008-12-17 21:14:52 Re: measure database contention