pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tarabas (Manuel Rorarius) <tarabas@tarabas.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Problem with LIKE-Performance
Date: Tue, 18 Apr 2006 17:34:59 +0200
Message-ID: <653249740.20060418173459@tarabas.de> (raw)
In-Reply-To: <13458.1145373620@sss.pgh.pa.us>
References: <341367953.20060418163513@tarabas.de>
	<13458.1145373620@sss.pgh.pa.us>

Hi Tom,

TL> "Tarabas (Manuel Rorarius)" <tarabas@tarabas.de> writes:
>> I get the following explain and I am troubled by the very high
>> "startup_cost" ... does anyone have any idea why that value is so
>> high?

>> {SEQSCAN
>>    :startup_cost 100000000.00 

TL> You have enable_seqscan = off, no?

You were right, I was testing this and had it removed, but somehow I
must have hit the wrong button in pgadmin and it was not successfully
removed from the database.

After removing the enable_seqscan = off and making sure it was gone,
it is a lot faster again.

Now it takes about 469.841 ms for the select.

TL> Please refrain from posting EXPLAIN VERBOSE unless it's specifically
TL> requested ...

mea culpa, i will not do that again :-)

Best regards
Manuel




view thread (13+ messages)  latest in thread

Message-ID: <653249740.20060418173459@tarabas.de>
Permalink:  ../653249740.20060418173459@tarabas.de/
Also on:    postgresql.org/message-id/653249740.20060418173459@tarabas.de

 · 

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: tarabas@tarabas.de, tgl@sss.pgh.pa.us
  Subject: Re: Problem with LIKE-Performance
  In-Reply-To: <653249740.20060418173459@tarabas.de>

* 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