pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page
4+ messages / 4 participants
[nested] [flat]
* BUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page
@ 2010-11-25 09:10 Pavel Arnost <pavel.arnost@loutka.cz>
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Arnost @ 2010-11-25 09:10 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 5768
Logged by: Pavel Arnost
Email address: pavel.arnost@loutka.cz
PostgreSQL version: 9.01
Operating system: N/A
Description: Inefficiency of large offsets should be mentioned on
SELECT documentation page
Details:
Inefficiency of large offsets should be mentioned on SELECT documentation
page - now it's only on "LIMIT and OFFSET" page.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page
@ 2010-11-30 03:11 Bruce Momjian <bruce@momjian.us>
parent: Pavel Arnost <pavel.arnost@loutka.cz>
0 siblings, 2 replies; 4+ messages in thread
From: Bruce Momjian @ 2010-11-30 03:11 UTC (permalink / raw)
To: Pavel Arnost <pavel.arnost@loutka.cz>; +Cc: pgsql-bugs
Pavel Arnost wrote:
>
> The following bug has been logged online:
>
> Bug reference: 5768
> Logged by: Pavel Arnost
> Email address: pavel.arnost@loutka.cz
> PostgreSQL version: 9.01
> Operating system: N/A
> Description: Inefficiency of large offsets should be mentioned on
> SELECT documentation page
> Details:
>
> Inefficiency of large offsets should be mentioned on SELECT documentation
> page - now it's only on "LIMIT and OFFSET" page.
I have no idea what you are suggesting. There is no LIMIT and OFFSET
page in the manuals.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page
@ 2010-11-30 09:52 Tom Molesworth <tom@audioboundary.com>
parent: Bruce Momjian <bruce@momjian.us>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Molesworth @ 2010-11-30 09:52 UTC (permalink / raw)
To: pgsql-bugs
Hi Bruce,
On 30/11/10 03:11, Bruce Momjian wrote:
> Pavel Arnost wrote:
>> The following bug has been logged online:
>>
>> Bug reference: 5768
>> Logged by: Pavel Arnost
>> Email address: pavel.arnost@loutka.cz
>> PostgreSQL version: 9.01
>> Operating system: N/A
>> Description: Inefficiency of large offsets should be mentioned on
>> SELECT documentation page
>> Details:
>>
>> Inefficiency of large offsets should be mentioned on SELECT documentation
>> page - now it's only on "LIMIT and OFFSET" page.
> I have no idea what you are suggesting. There is no LIMIT and OFFSET
> page in the manuals
Section 7.6, "LIMIT and OFFSET":
http://www.postgresql.org/docs/current/static/queries-limit.html
Perhaps a link from the SELECT page to this link would be sufficient.
Tom
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page
@ 2010-11-30 11:27 Pavel Arnošt <pavel.arnost@loutka.cz>
parent: Bruce Momjian <bruce@momjian.us>
1 sibling, 0 replies; 4+ messages in thread
From: Pavel Arnošt @ 2010-11-30 11:27 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-bugs
Hi,
by "LIMIT and OFFSET" page I meant
http://www.postgresql.org/docs/9/static/queries-limit.html, it has "LIMIT
and OFFSET" heading. At the end of the page, there is this sentence:
"The rows skipped by an OFFSET clause still have to be computed inside the
server; therefore a large OFFSET might be inefficient."
This sentence should also appear on the SELECT page
(http://www.postgresql.org/docs/9/static/sql-select.html). Maybe it could
also more clearly state that paging with LIMIT and OFFSET over large data
set is slow and that user should use WHERE > and LIMIT instead of OFFSET and
LIMIT.
Regards,
Pavel Arnost
--------------------------------------------------
From: "Bruce Momjian" <bruce@momjian.us>
Sent: Tuesday, November 30, 2010 4:11 AM
To: "Pavel Arnost" <pavel.arnost@loutka.cz>
Cc: <pgsql-bugs@postgresql.org>
Subject: Re: [BUGS] BUG #5768: Inefficiency of large offsets should be
mentioned on SELECT documentation page
> Pavel Arnost wrote:
>>
>> The following bug has been logged online:
>>
>> Bug reference: 5768
>> Logged by: Pavel Arnost
>> Email address: pavel.arnost@loutka.cz
>> PostgreSQL version: 9.01
>> Operating system: N/A
>> Description: Inefficiency of large offsets should be mentioned on
>> SELECT documentation page
>> Details:
>>
>> Inefficiency of large offsets should be mentioned on SELECT documentation
>> page - now it's only on "LIMIT and OFFSET" page.
>
> I have no idea what you are suggesting. There is no LIMIT and OFFSET
> page in the manuals.
>
> --
> Bruce Momjian <bruce@momjian.us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + It's impossible for everything to be true. +
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2010-11-30 11:27 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 09:10 BUG #5768: Inefficiency of large offsets should be mentioned on SELECT documentation page Pavel Arnost <pavel.arnost@loutka.cz>
2010-11-30 03:11 ` Bruce Momjian <bruce@momjian.us>
2010-11-30 09:52 ` Tom Molesworth <tom@audioboundary.com>
2010-11-30 11:27 ` Pavel Arnošt <pavel.arnost@loutka.cz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox