Re: pg 7.4.rc1, Range query performance

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg 7.4.rc1, Range query performance
Дата
Msg-id 200311110513.hAB5D3325077@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg 7.4.rc1, Range query performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg 7.4.rc1, Range query performance
Список pgsql-sql
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Sorry there isn't a simple solution.
> 
> But there is: make an index with the column order (b,c,a).

Oh, yea, right.  If he puts the columns he is doing a straight equals
comparison first, the 'a' comparison will work fine.  Great.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg 7.4.rc1, Range query performance
Следующее
От: sad
Дата:
Сообщение: a question to developers