pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrea Arcangeli <andrea@cpushare.com>
Cc: Greg Stark <gsstark@mit.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: NOT LIKE much faster than LIKE?
Date: Tue, 10 Jan 2006 10:46:53 -0500
Message-ID: <152.1136908013@sss.pgh.pa.us> (raw)
In-Reply-To: <20060110152720.GL15897@opteron.random>
References: <20060110014447.GB18474@opteron.random>
	<24021.1136858688@sss.pgh.pa.us>
	<20060110022303.GA20168@opteron.random>
	<24372.1136861684@sss.pgh.pa.us>
	<20060110034721.GC20168@opteron.random>
	<87y81oyv6x.fsf@stark.xeocode.com>
	<20060110152720.GL15897@opteron.random>

Andrea Arcangeli <andrea@cpushare.com> writes:
> There's only one preempt near the end, not sure if it would work?

Not with that data, but maybe if you increased the statistics target for
the column to 100 or so, you'd catch enough values to get reasonable
results.

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <152.1136908013@sss.pgh.pa.us>
Permalink:  ../152.1136908013@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/152.1136908013@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andrea@cpushare.com, gsstark@mit.edu
  Subject: Re: NOT LIKE much faster than LIKE?
  In-Reply-To: <152.1136908013@sss.pgh.pa.us>

* 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