pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Justin <justin@emproshunts.com>
Cc: Craig James <craig_james@emolecules.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: What constitutes a complex query
Date: Tue, 6 May 2008 11:37:59 -0600
Message-ID: <dcc563d10805061037t6466b766t66ede75d876f2847@mail.gmail.com> (raw)
In-Reply-To: <482093F4.2030801@emproshunts.com>
References: <48207D26.7050201@emproshunts.com>
	<482086D3.3070902@emolecules.com>
	<482093F4.2030801@emproshunts.com>

On Tue, May 6, 2008 at 11:23 AM, Justin <justin@emproshunts.com> wrote:
>
>
>  Craig James wrote:
>
> > Justin wrote:
> >
> > > This falls under the stupid question and i'm just curious what other
> people think what makes a query complex?
> > >
> >
> > There are two kinds:
> >
> > 1. Hard for Postgres to get the answer.
> >
>  this one

Sometimes, postgresql makes a bad choice on simple queries, so it's
hard to say what all the ones are that postgresql tends to get wrong.
Plus the query planner is under constant improvement thanks to the
folks who find poor planner choices and Tom for making the changes.



view thread (7+ messages)

Message-ID: <dcc563d10805061037t6466b766t66ede75d876f2847@mail.gmail.com>
Permalink:  ../dcc563d10805061037t6466b766t66ede75d876f2847@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10805061037t6466b766t66ede75d876f2847@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: scott.marlowe@gmail.com, justin@emproshunts.com, craig_james@emolecules.com
  Subject: Re: What constitutes a complex query
  In-Reply-To: <dcc563d10805061037t6466b766t66ede75d876f2847@mail.gmail.com>
  References: <48207D26.7050201@emproshunts.com> <482086D3.3070902@emolecules.com> <482093F4.2030801@emproshunts.com> <dcc563d10805061037t6466b766t66ede75d876f2847@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