gabriel writes:
> So my question is why in the first case the postgre did'nt use the index
> and made a seq scan ??
Because it thinks the sequential scan will be faster. You didn't show any
evidence to the contrary.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.