Re: Creating index does not make any change in query plan.
В списке pgsql-general по дате отправления:
| От | Shridhar Daithankar |
|---|---|
| Тема | Re: Creating index does not make any change in query plan. |
| Дата | |
| Msg-id | 3E50F997.1972.92964C6@localhost обсуждение исходный текст |
| Ответ на | Re: Creating index does not make any change in query plan. (Deepa <kdeepa@midascomm.com>) |
| Ответы |
Re: Creating index does not make any change in query plan.
|
| Список | pgsql-general |
On 17 Feb 2003 at 15:14, Deepa wrote: > On Mon, 17 Feb 2003, Shridhar Daithankar wrote: > > > when you say id=2, it uses default int type which is smallint, AFAIK. So > > smallint != bigint and hence planner does not consider using index. > > But even when a number that has a value of 4 bytes is set in the where > condition, the planner is not uses indexed scan. In this case how come > this will take the number as small int. Is their any other reason for > that. 4 bytes != bigint. Bye Shridhar -- wok, n.: Something to thwow at a wabbit.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера