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

From: "Trevor Talbot" <quension(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Clarification reqeusted for "select * from a huge table"
Date: 2007-11-12 13:10:59
Message-ID: 90bce5730711120510u1a3fd3aav60b4c97159da911c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/12/07, Richard Huxton <dev(at)archonet(dot)com> wrote:
> Gokulakannan Somasundaram wrote:

> >>> I also noticed that it doesn't crash with psql, but it takes a
> >>> long time to show the first set of records. It takes a long time, even
> >>> to quit after i pressed 'q'.
> >>> With oracle SQLPlus, it is quite instantaneous.

> > Imagine, you need a large batch operation. In oracle we can fire the
> > SQL and we can be sure that the client won't crash, but with postgres
> > we have a region of uncertainity.
>
> Well, if your client doesn't know if it can handle 1 million rows, maybe
> it shouldn't ask for them?

Isn't that exactly his point? He's talking about the default behavior
of clients designed for postgres, one of which is psql.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bernd Helmle 2007-11-12 13:18:26 Re: Clarification reqeusted for "select * from a huge table"
Previous Message Simon Riggs 2007-11-12 13:08:10 Re: [hibernate-team] PostgreSQLDialect