Re: is it possible to get the optimizer to use indexes
В списке pgsql-performance по дате отправления:
| От | Dave Cramer |
|---|---|
| Тема | Re: is it possible to get the optimizer to use indexes |
| Дата | |
| Msg-id | 1072274314.1687.12.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: is it possible to get the optimizer to use indexes (Doug McNaught <doug@mcnaught.org>) |
| Список | pgsql-performance |
Doug, Yes, it does depend on the locale, you can get around this in 7.4 by building the index with smart operators Dave On Thu, 2003-12-18 at 20:38, Doug McNaught wrote: > Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes: > > >> It appears that the optimizer only uses indexes for = clause? > > > > The optimizer will used indexes for LIKE clauses, so long as the > > clause is a prefix search, eg: > > > > SELECT * FROM test WHERE a LIKE 'prf%'; > > Doesn't this still depend on your locale? > > -Doug > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера