| От | Russell Smith |
|---|---|
| Тема | Re: Seqscan/Indexscan still a known issue? |
| Дата | |
| Msg-id | 45BB2CFA.50609@pws.com.au обсуждение исходный текст |
| Ответ на | Re: Seqscan/Indexscan still a known issue? (Guido Neitzer <lists@event-s.net>) |
| Ответы |
Re: Seqscan/Indexscan still a known issue?
|
| Список | pgsql-performance |
Guido Neitzer wrote: > On 27.01.2007, at 00:35, Russell Smith wrote: > >> Guess 1 would be that your primary key is int8, but can't be certain >> that is what's causing the problem. > > Why could that be a problem? Before 8.0, the planner would not choose an index scan if the types were different int8_col = const, int8_col = 4. 4 in this example is cast to int4. int8 != int4. So the planner will not choose an index scan. Regards Russell Smith > > cug > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > >
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера