Re: Performance problem on RH7.1

Поиск
Список
Период
Сортировка
От Együd Csaba
Тема Re: Performance problem on RH7.1
Дата
Msg-id 002e01c45e67$7b546f30$230a0a0a@compaq
обсуждение исходный текст
Ответ на Re: Performance problem on RH7.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

> Generally you want '=' conditions on the leftmost index keys; any
> inequality or range constraint should be on the rightmost
> keys.  You can see this by thinking about the range of index entries that
> the scan will have to pass over.
I see. Just like in your earlier example, where you reduced the number of
index entries to pass over by giving the stockid, productid and the changeid
first.

Thank you very much.

Good luck,
  -- Csaba Együd

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 2004. 06. 27.



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: minimum operators for b-tree, r-tree
Следующее
От: Soeren Gerlach
Дата:
Сообщение: Slow dump with pg_dump/pg_restore ? How to improve ?