From: | Denis Perchine <dyp(at)perchine(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Re: Re: MySQL has transactions |
Date: | 2001-01-24 13:02:16 |
Message-ID: | 01012419021604.00614@dyp.perchine.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> * Fast case insensitive text search via indexes (function based indexes)
Try to:
create table test (s text);
create index ix_test_s on test(lower(s));
And try select * from test where lower(s) = 'test';
If you made vacuum, and have enough data in the table you will get index
scan. Also you will get index scan for this:
select * from test where lower(s) like 'test%';
--
Sincerely Yours,
Denis Perchine
----------------------------------
E-Mail: dyp(at)perchine(dot)com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 2001-01-24 13:13:34 | RE: MySQL has transactions |
Previous Message | Alexander Jerusalem | 2001-01-24 12:53:54 | postgres memory management = Linux memory management |
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 2001-01-24 13:11:43 | Re: Open 7.1 items |
Previous Message | Bruce Momjian | 2001-01-24 12:55:36 | Re: "initdb -t" destroys all databases |