pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Oleg Lebedev <oleg.lebedev@waterford.org>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: TPC-R benchmarks
Date: Wed, 1 Oct 2003 10:08:50 -0700
Message-ID: <200310011008.50491.josh@agliodbs.com> (raw)
In-Reply-To: <993DBE5B4D02194382EC8DF8554A52731D7604@postoffice.waterford.org>
References: <993DBE5B4D02194382EC8DF8554A52731D7604@postoffice.waterford.org>

Oleg,

> I continue struggling with the TPC-R benchmarks and wonder if anyone
> could help me optimize the query below. ANALYZE statistics indicate that
> the query should run relatively fast, but it takes hours to complete. I
> attached the query plan to this posting.

Even though it takes hours to complete, I think we need you to run EXPLAIN 
ANALYZE instead of just EXPLAIN.   Without the real-time statistics, we 
simply can't see what's slowing the query down.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (43+ messages)  latest in thread

Message-ID: <200310011008.50491.josh@agliodbs.com>
Permalink:  ../200310011008.50491.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310011008.50491.josh@agliodbs.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, oleg.lebedev@waterford.org
  Subject: Re: TPC-R benchmarks
  In-Reply-To: <200310011008.50491.josh@agliodbs.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