Re: Clarification reqeusted for "select * from a huge table"

Поиск
Список
Период
Сортировка
От Gokulakannan Somasundaram
Тема Re: Clarification reqeusted for "select * from a huge table"
Дата
Msg-id 9362e74e0711120440n1ea04c75m6391eff66088139d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Clarification reqeusted for "select * from a huge table"  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Clarification reqeusted for "select * from a huge table"  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-hackers
On Nov 12, 2007 6:01 PM, Heikki Linnakangas <heikki@enterprisedb.com> wrote:
> Gokulakannan Somasundaram wrote:
> >     I had a chance to test one of the real world cases with Oracle and
> > PostgreSQL. Create a Table with 10 million rows (i worked on a 1GB RAM
> > machine) both in oracle and Postgresql. Just write a JDBC program for
> > a 'select *' on that table. With PostgreSQL as backend, java crashes
> > saying that it has met 'Out Of Memory'. With Oracle it doesn't.
> >     Postgres tried to send all the results back to the client at one
> > shot, whereas in Oracle it works like a Cursor. Is this issue already
> > well known among hackers community? If known, why is it designed this
> > way?
>
> http://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor
>
> --
>    Heikki Linnakangas
>    EnterpriseDB   http://www.enterprisedb.com
>

Thanks Heikki. That answered my question. Can you tell me, what is the
similar setting for psql?

-- 
Thanks,
Gokul.
CertoSQL Project,
Allied Solution Group.
(www.alliedgroups.com)


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

Предыдущее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: Clarification reqeusted for "select * from a huge table"
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Clarification reqeusted for "select * from a huge table"