| От | Steinar H. Gunderson |
|---|---|
| Тема | Re: Sequence Scan vs. Index scan |
| Дата | |
| Msg-id | 20060321181732.GA16124@uio.no обсуждение |
| Ответ на | Sequence Scan vs. Index scan (Fernando Lujan <fernando.lujan@mandic.com.br>) |
| Список | pgsql-performance |
On Tue, Mar 21, 2006 at 03:08:07PM -0300, Fernando Lujan wrote: > I'm trying to figure out when Sequence Scan is better than Index Scan. I > just want to know this because I disabled the sequence scan in > postgresql and receive a better result. :) That is a very broad question, and you're introducing somewhat of a false choice since you're talking about joins (a join can be solved by more methods than just "sequential scan" or not). Could you please paste the exact query you're using, with EXPLAIN ANALYZE for both the case with and without sequential scans? /* Steinar */ -- Homepage: http://www.sesse.net/
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера