From: Josh Berkus <josh@agliodbs.com>
To: Mendola Gaetano <mendola@bigfoot.com>
To: pgsql-performance@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Re: [PERFORM] Wrong plan or what ?
Date: Tue, 22 Jul 2003 10:40:28 -0700
Message-ID: <200307221040.28653.josh@agliodbs.com> (raw)
In-Reply-To: <00c101c35074$1e5f5b20$152aa8c0@GMENDOLA2>
References: <00c101c35074$1e5f5b20$152aa8c0@GMENDOLA2>
Gaetano,
> SELECT * from user_logs where id_user in (
> 10943, 10942, 10934, 10927, 10910, 10909
> );
> [SNIPPED]
> Why the planner or the executor ( I don't know ) do not follow
> the same strategy ?
It is, actually, according to the query plan.
Can you post the EXPLAIN ANALYZE for the above query?
--
-Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, mendola@bigfoot.com, pgsql-admin@postgresql.org
Subject: Re: [PERFORM] Wrong plan or what ?
In-Reply-To: <200307221040.28653.josh@agliodbs.com>
References: <00c101c35074$1e5f5b20$152aa8c0@GMENDOLA2> <200307221040.28653.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