| От | Richard Huxton |
|---|---|
| Тема | Re: Performance with very large tables |
| Дата | |
| Msg-id | 45AB784C.2020306@archonet.com обсуждение исходный текст |
| Ответ на | Re: Performance with very large tables ("Jan van der Weijde" <Jan.van.der.Weijde@attachmate.com>) |
| Список | pgsql-general |
Jan van der Weijde wrote: > That is exactly the problem I think. However I do not deliberately > retrieve the entire table. I use the default settings of the PostgreSQL > installation and just execute a simple SELECT * FROM table. > I am using a separate client and server (both XP in the test > environment), but that should not make much difference. > I would expect that the default behavior of PostgreSQL should be such > that without LIMIT, a SELECT returns records immediately. No it doesn't. You've asked for all the records, so it assumes you want all the records. If you want a few at a time, use a cursor. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера