Re: psql \copy hanging

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: arnaud(dot)listes(at)codata(dot)eu
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: psql \copy hanging
Date: 2019-08-27 08:00:44
Message-ID: CAKoxK+5qWTmmEeGFU8nG3JxGuUKSMUnFtUFkEcjCCYLCWSqaew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 27, 2019 at 9:54 AM Arnaud L. <arnaud(dot)listes(at)codata(dot)eu> wrote:
> Any other idea ? I'll change the lines order for tonight's run, but that
> is not what I'd call a solution...

Does it hangs against the same line content or the same line number?
Are you able to run the script automatically during working hours (to
avoid firewalling or upgrades running in parrallel to your nightly
script execution)?
Any chance something is querying the same data and a lock blocks the
transaction (pg_locks)?

Just throwing on the table some desperate ideas....

Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arnaud L. 2019-08-27 08:48:03 Re: psql \copy hanging
Previous Message Laurenz Albe 2019-08-27 07:59:20 Re: cannot CREATE INDEX because it has pending trigger events