From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Vassili A Akimov <vassili@erols.com>
Cc: Andrew Snow <als@fl.net.au>
Cc: Pgsql-General@Postgresql. Org <pgsql-general@postgresql.org>
Cc: mitch@venux.net
Subject: Re: Need to improve performance
Date: Fri, 23 Jun 2000 14:06:50 -0400 (EDT)
Message-ID: <200006231806.OAA19976@candle.pha.pa.us> (raw)
In-Reply-To: <3953A1D8.DF3392CD@erols.com>
>
> Thank you gentelmen! It seems that regexp was the reason! I enabled
> likeplanning and it i=didn't improve the performance until I replaced '~*' with
> 'LIKE'. Thank you again!
The issue is that ~ and LIKE have similar performance. ~* is
case-insensitive, and can not used indexes.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, vassili@erols.com, als@fl.net.au, pgsql-general@postgresql.org, mitch@venux.net
Subject: Re: Need to improve performance
In-Reply-To: <200006231806.OAA19976@candle.pha.pa.us>
References: <3953A1D8.DF3392CD@erols.com> <200006231806.OAA19976@candle.pha.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