From: | "Fernando Papa" <fpapa(at)claxson(dot)com> |
---|---|
To: | <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: I can't wait too much: Total runtime 432478.44 msec |
Date: | 2003-08-04 15:26:38 |
Message-ID: | F1DC5B511E2D1C499E5E20FC6D74160D03A04E61@exch2000.buehuergo.corp.claxson.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Err... you're right... one of us say the same thing when I show the
Volker mail...
-----Mensaje original-----
De: Manfred Koizar [mailto:mkoi-pg(at)aon(dot)at]
Enviado el: lunes, 04 de agosto de 2003 12:17
Para: Fernando Papa
CC: Volker Helm; pgsql-performance(at)postgresql(dot)org
Asunto: Re: [PERFORM] I can't wait too much: Total runtime 432478.44
msec
On Mon, 4 Aug 2003 12:02:46 -0300, "Fernando Papa" <fpapa(at)claxson(dot)com>
wrote:
> FROM
> cont_contenido
> ,juegos_config
> ,cont_publicacion
> ,(SELECT max(cp1.fecha_publicacion) as max_pub
--change here
> FROM cont_publicacion cp1) a --change here
But this calculates the global maximum, not per id_instalacion,
id_contenido, and generar_vainilla as in
> AND cont_publicacion.fecha_publicacion = (SELECT
max(cp1.fecha_publicacion)
> FROM cont_publicacion cp1
> WHERE cp1.id_instalacion =
cont_publicacion.id_instalacion
> AND cp1.id_contenido =
cont_publicacion.id_contenido
> AND cp1.generar_vainilla =
cont_publicacion.generar_vainilla)
Servus
Manfred
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-08-04 15:53:43 | Re: [SQL] EXTERNAL storage and substring on long strings |
Previous Message | Scott Cain | 2003-08-04 15:25:36 | Re: EXTERNAL storage and substring on long strings |