Re: Out of memory error

From: Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com>
To: Tino Wildenhain <tino(at)wildenhain(dot)de>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Out of memory error
Date: 2005-02-09 12:39:00
Message-ID: a595de7a050209043950d38ec7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 09 Feb 2005 13:18:44 +0100, Tino Wildenhain <tino(at)wildenhain(dot)de> wrote:
>
> Will this go into the same database?

Yes, this *went* into the same database.

> If so, you should probably use:
>
> CREATE TABLE targettable AS
> select data,
> usuario,
> sum(pontos) as sum_pontos,
> sum(wus) as sum_wus
> from usuarios
> group by data, usuario;
>

Didn't try the create route. I have already performed the grouping. As
the table is big, each step takes very long and i don't have more time
to investigate further.

Regards, Clodoaldo Pinto

>
> HTH
> Tino
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2005-02-09 13:18:05 Re: Out of memory error
Previous Message Tino Wildenhain 2005-02-09 12:18:44 Re: Out of memory error