pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Layet Benjamin <benjamin@moonfactory.co.jp>
To: pgsql-performance@postgresql.org
Subject: best practices with index on varchar column
Date: Tue, 22 Mar 2005 18:22:24 +0900
Message-ID: <007301c52ec0$a8f64ec0$9285a8c0@moonfactory.co.jp> (raw)

Hi everyone,
I hope it is the correct newsletter for this question.

Can I use an index on a varchar column to optimize the SELECT queries that 
use " column LIKE 'header%'  "?
If yes what is the best tree algotithm to use ?

I don't care about optimising INSERT, DELETE and UPDATE queries, as they are 
only done at night when the load is very low.
Thank you very much for any help,
Benjamin Layet

view thread (7+ messages)  latest in thread

Message-ID: <007301c52ec0$a8f64ec0$9285a8c0@moonfactory.co.jp>
Permalink:  ../007301c52ec0$a8f64ec0$9285a8c0@moonfactory.co.jp/
Also on:    postgresql.org/message-id/007301c52ec0$a8f64ec0$9285a8c0@moonfactory.co.jp

 · 

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: benjamin@moonfactory.co.jp
  Subject: Re: best practices with index on varchar column
  In-Reply-To: <007301c52ec0$a8f64ec0$9285a8c0@moonfactory.co.jp>

* 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