| От | Richard Huxton |
|---|---|
| Тема | Re: How many rows if limit wasn't present? |
| Дата | |
| Msg-id | 42849A90.801@archonet.com обсуждение исходный текст |
| Ответ на | How many rows if limit wasn't present? (Victor Spång Arthursson <victor@tosti.dk>) |
| Ответы |
Re: How many rows if limit wasn't present?
|
| Список | pgsql-general |
Victor Spång Arthursson wrote: > Ciao! > > Is it possible to get the number of rows that would have been returned > if the LIMIT-clause weren't present in some way after the query was run? > > Reason for asking is that I have a really big chunk of SQL, which takes > time to execute, and whoose result is paginated using a LIMIT- clause, > and to get the actual result (before pagination) I have to run the > query one more time… Big slow down… No. Standard procedure here is to select the results to a temporary table, or application-level cache etc. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера