Re: Performance - moving from oracle to postgresql

Поиск
Список
Период
Сортировка
От Radu-Adrian Popescu
Тема Re: Performance - moving from oracle to postgresql
Дата
Msg-id 41821.193.138.218.24.1119696327.squirrel@www.aldratech.com
обсуждение исходный текст
Ответ на Performance - moving from oracle to postgresql  ("Greg Maples" <gregm@nimblefish.com>)
Ответы Insert performance vs Table size  ("Praveen Raja" <praveen.raja@netlight.se>)
Список pgsql-performance
> "- Oracle has one particular performance enhancement that Postgres is
> missing.  If you do a select that returns 100,000 rows in a given order,
> and all you want are rows 99101 to 99200, then Oracle can do that very
> efficiently.  With Postgres, it has to read the first 99200 rows and
> then discard the first 99100.

When I was reading up on resultset pagination on AskTom I got a clear
impression that the same happens in Oracle as well.
Resultset is like:
0....START...STOP...END
0............STOP
     START...END
You first select all the rows from 0 to STOP and then from that select the
rows from START to end (which is now STOP). This is done using ROWNUM
twice and subselects.
It was discussed over there that this obviously produces higher response
times as you move towards the end of a very large resultset. Tom even
pointed out the same effect when using google search, as you move forward
through a very large (millions) search result.

Regards,
--
Radu-Adrian Popescu
CSA, DBA, Developer
Aldrapay MD
Aldratech Ltd.
+40213212243

В списке pgsql-performance по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Configurator project launched
Следующее
От: "Radu-Adrian Popescu"
Дата:
Сообщение: Re: Speed with offset clause