| От | Glyn Astill |
|---|---|
| Тема | Re: index speed and failed expectations? |
| Дата | |
| Msg-id | 781023.57753.qm@web25808.mail.ukl.yahoo.com обсуждение исходный текст |
| Ответ на | Re: index speed and failed expectations? (rihad <rihad@mail.ru>) |
| Список | pgsql-general |
> > > > However, if you limit the number of rows enough, you > might force it > > to use an index: > > > > select * from stats order by start_time limit 1000; > > > > Thanks! Since LIMIT/OFFSET is the typical usage pattern for > a paginated > data set accessed from the Web (which is my case), it > immediately > becomes a non-issue. > We do a lot of queries with order by limit n, and from my experience setting enable_sort to off on the database also makesa massive difference. http://www.postgresql.org/docs/8.3/static/indexes-ordering.html __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера