| От | Robert Vojta |
|---|---|
| Тема | Re: indexes and big tables |
| Дата | |
| Msg-id | 20010727143053.D6382@ipex.cz обсуждение |
| Ответ на | AW: indexes and big tables (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>) |
| Список | pgsql-hackers |
> I would guess the problem is the restriction on counterstamp, because > written like that, it probably can't use the index. > > try something where you avoid the use of the date_part function e.g.: > AND counterstamp > '2001-07-26 00:00:00.0' I will try it, but it use the index when there is a few amount of rows. When I insert a lot of rows like me (in milions), index isn't used. I don't know the number of rows which makes border between using and don't using index and I can discover it if you want. Going to try your suggestions ... Best regards, Robert -- _ |-| __ Robert Vojta <vojta-at-ipex.cz> -= Oo.oO =- |=| [Ll] IPEX, s.r.o. "^" ====`o
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера