Re: "explain analyze" a procedure verbosely - to find which statement in it takes longer

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: "explain analyze" a procedure verbosely - to find which statement in it takes longer
Дата
Msg-id CAF-3MvOGU5VjK2Sd1Amu_FvL+a8jmnTRFwXC=fP=UJx-w-0=Zw@mail.gmail.com
обсуждение исходный текст
Ответ на "explain analyze" a procedure verbosely - to find which statement in it takes longer  (Alexander Farber <alexander.farber@gmail.com>)
Список pgsql-general
On 6 February 2013 11:03, Alexander Farber <alexander.farber@gmail.com>wrote:

>                 begin
>
>                 insert into pref_ban2 select
>                         id,
>                         first_name,
>                         last_name,
>                         city,
>                         last_ip
>                 from pref_users where id=_id;
>
>                 update pref_ban2 set reason=_reason where id=_id;
>

It's not the answer to your query, but why don't you do the above in a
single statement?

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: "explain analyze" a procedure verbosely - to find which statement in it takes longer
Следующее
От: drew_hunt1976@yahoo.co.jp
Дата:
Сообщение: Need help understanding WAL and checkpoints