Re: I can't wait too much: Total runtime 432478.44 msec

Поиск
Список
Период
Сортировка
От Manfred Koizar
Тема Re: I can't wait too much: Total runtime 432478.44 msec
Дата
Msg-id 13usivgqnvs076tgivbo0mubpke841d68v@4ax.com
обсуждение исходный текст
Ответ на Re: I can't wait too much: Total runtime 432478.44 msec  ("Fernando Papa" <fpapa@claxson.com>)
Список pgsql-performance
On Mon, 4 Aug 2003 12:02:46 -0300, "Fernando Papa" <fpapa@claxson.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

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

Предыдущее
От: "Fernando Papa"
Дата:
Сообщение: Re: I can't wait too much: Total runtime 432478.44 msec
Следующее
От: Scott Cain
Дата:
Сообщение: Re: EXTERNAL storage and substring on long strings