| От | Jean-Yves F. Barbier |
|---|---|
| Тема | Re: index or not |
| Дата | |
| Msg-id | 20111212212347.08b559bf@anubis.defcon1 обсуждение исходный текст |
| Ответ на | Re: index or not (Andreas Kretschmer <akretschmer@spamfence.net>) |
| Список | pgsql-novice |
On Mon, 12 Dec 2011 20:26:06 +0100 Andreas Kretschmer <akretschmer@spamfence.net> wrote: > > As i said: use EXPLAIN. The answer of your question depends on a lot of > details, i can't say if an seq-scan is cheaper or not. (for instance, if > you have SSDs, a index-scan maybe is cheaper than an seq-scan ...) > > Create an Index, use explain, if it use a seq-scan you can drop the index. > > For such small tables it is hard to guess the plan... Ok, I'll create indexes (no time to test right now), thanks. -- "Take that, you hostile sons-of-bitches!" -- James Coburn, in the finale of _The_President's_Analyst_
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера