Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)

From: "Sergey Konoplev" <gray(dot)ru(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Richard Huxton" <dev(at)archonet(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)
Date: 2008-11-12 14:43:42
Message-ID: c3a7de1f0811120643g187b6c0p8043be4bdf67d295@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> What configure options did you use, what locale/encoding are you using,
> what nondefault settings have you got in postgresql.conf?
>
> regards, tom lane

You are right. I've found the odd thing (that completely drives me
mad) in postgresql.conf.

You are able to reproduce slow-not-in queries by switching
constraint_exclusion to on in your postgresql.conf and running my test
(which is attached to the first message).

Looking forward to hearing from you.

--
Regards,
Sergey Konoplev
--
PostgreSQL articles in english & russian
http://gray-hemp.blogspot.com/search/label/postgresql/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-11-12 14:45:40 Re: sort_mem param of postgresql.conf
Previous Message Grzegorz Jaśkiewicz 2008-11-12 14:36:12 sort_mem param of postgresql.conf

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2008-11-12 14:46:09 Re: So what's an "empty" array anyway?
Previous Message Simon Riggs 2008-11-12 14:42:06 Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)