From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Adam Sjøgren <asjo@koldfront.dk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Cc: Stephen Frost <sfrost@snowman.net>
Subject: Re: Database logins taking longer and longer, showing up as "authentication" in ps(1)
Date: Wed, 30 Sep 2020 14:41:22 -0700
Message-ID: <734ad6fb-3cf1-d4c5-6158-cb00de7813fa@aklaver.com> (raw)
In-Reply-To: <87r1qjdkbn.fsf@tullinup.koldfront.dk>
References: <87364kdsim.fsf@tullinup.koldfront.dk>
<20200818143351.GA29590@tamriel.snowman.net>
<1204950.1597762449@sss.pgh.pa.us>
<87tuwyojsu.fsf@tullinup.koldfront.dk>
<1416265.1597851073@sss.pgh.pa.us>
<87lfi9pvyw.fsf@tullinup.koldfront.dk>
<1605690.1597941827@sss.pgh.pa.us>
<87zh57dnh2.fsf@tullinup.koldfront.dk>
<f85131fd-6d96-19de-196b-c1e262cd6aa6@aklaver.com>
<87r1qjdkbn.fsf@tullinup.koldfront.dk>
On 9/30/20 2:30 PM, Adam Sjøgren wrote:
> Adrian writes:
>
>> I don't have an answer. Not even sure if this is relevant to the
>> problem, but how are the jobs getting into the queue?
>
> Plain INSERTs - often a lot at the same time. I inserted 400K jobs to
> clean up after a bug earlier today, for instance.
>
> What were you suspecting?
Honestly a fishing expedition. All the discussion, as far as I could
remember, had to do with the retrieval part of the process. Just thought
for completeness it might be useful to flesh out the insertion portion
of the process. Though it does get one to wondering how the appearance
of a large number of jobs at once affects the those programs looking for
new jobs?
>
>
> Best regards,
>
> Adam
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, asjo@koldfront.dk, tgl@sss.pgh.pa.us, sfrost@snowman.net
Subject: Re: Database logins taking longer and longer, showing up as "authentication" in ps(1)
In-Reply-To: <734ad6fb-3cf1-d4c5-6158-cb00de7813fa@aklaver.com>
References: <87364kdsim.fsf@tullinup.koldfront.dk> <20200818143351.GA29590@tamriel.snowman.net> <1204950.1597762449@sss.pgh.pa.us> <87tuwyojsu.fsf@tullinup.koldfront.dk> <1416265.1597851073@sss.pgh.pa.us> <87lfi9pvyw.fsf@tullinup.koldfront.dk> <1605690.1597941827@sss.pgh.pa.us> <87zh57dnh2.fsf@tullinup.koldfront.dk> <f85131fd-6d96-19de-196b-c1e262cd6aa6@aklaver.com> <87r1qjdkbn.fsf@tullinup.koldfront.dk> <734ad6fb-3cf1-d4c5-6158-cb00de7813fa@aklaver.com>
* 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