| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера