Skip site navigation (1) Skip section navigation (2)

Re: parameterized LIKE does not use index

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Kurt De Grave <Kurt(dot)DeGrave(at)student(dot)kuleuven(dot)ac(dot)be>,pgsql-performance(at)postgresql(dot)org
Subject: Re: parameterized LIKE does not use index
Date: 2005-06-23 18:55:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

> I remember some discussion about delaying planning until the first
> actual query so that planning could use actual parameters to do
> the planning. If you really want to have it check the parameters
> every time, I think you will need to replan every time. I don't
> know if there is a way to save some of the prepare working while
> doing this.

That wouldn't help much in Kurt's case.    Nor in most "real" cases, which is 
why I think the idea never went anywhere.

Josh Berkus
Aglio Database Solutions
San Francisco

In response to


pgsql-performance by date

Next:From: Bricklen AndersonDate: 2005-06-23 19:38:04
Subject: ETL optimization
Previous:From: Tom LaneDate: 2005-06-23 17:15:24
Subject: Re: Performance Tuning Article

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group