From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Too slow to create new schema and their tables, functions, triggers.
Date: Fri, 26 Jul 2019 10:46:18 +0200
Message-ID: <bfaad3e2-a09f-8b69-d744-c66ed4edd7a9@gmx.net> (raw)
In-Reply-To: <1564092985717-0.post@n3.nabble.com>
References: <1563909633976-0.post@n3.nabble.com>
<1563993228524-0.post@n3.nabble.com>
<18481dfb-af39-b6a2-7b27-88563cab7134@aklaver.com>
<1564092985717-0.post@n3.nabble.com>
PegoraroF10 schrieb am 26.07.2019 um 00:16:
> statement: create or replace function valoresdfe... 0 mins 1.135 secs
> statement: create or replace function dadosorigem... 0 mins 0.055 secs
> statement: CREATE OR REPLACE FUNCTION SONU... 0 mins 0.013 secs
> statement: create or replace function contatoscampa... 2 mins 13.492 secs
> statement: create or replace function FORMATARTELEF... 0 mins 0.013 secs
> statement: create or replace function ChecaVar 0 mins 0.012 secs
> statement: CREATE or replace FUNCTION criatrigge... 1 mins 16.42 secs
>
Is it possible those functions (were creating was slow) were still in use
by another session and the create script had to wait for an exclusive lock to replace the function?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: Too slow to create new schema and their tables, functions, triggers.
In-Reply-To: <bfaad3e2-a09f-8b69-d744-c66ed4edd7a9@gmx.net>
References: <1563909633976-0.post@n3.nabble.com> <1563993228524-0.post@n3.nabble.com> <18481dfb-af39-b6a2-7b27-88563cab7134@aklaver.com> <1564092985717-0.post@n3.nabble.com> <bfaad3e2-a09f-8b69-d744-c66ed4edd7a9@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox