pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Yavuz Selim Sertoğlu <yavuzselim.sertoglu@bisoft.com.tr>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Query running for 12 hours
Date: Wed, 30 May 2018 07:44:29 -0700
Message-ID: <953ac787-e201-6e92-9536-02bf7015dcad@aklaver.com> (raw)
In-Reply-To: <CAJTnKsq28GmCA5xeGqMMnHSeCSSTgAJXpOh7=23ws=OeO=t7xg@mail.gmail.com>
References: <CAJTnKsqCvtCfOq5rL1S0scK6XMef4pjh5ty2pkFAuFCagK6VPQ@mail.gmail.com>
	<56911e4e-d8a7-1770-7f6b-cd2104979693@aklaver.com>
	<CAJTnKsp1+0GP8GBtOfeq5zyCd9mGE+U6_hG8J0n5iM=CXoNR0A@mail.gmail.com>
	<7c2c3680-49a7-e6ce-82e1-171ba3e6db43@aklaver.com>
	<CAJTnKsp6iop5hiOiLOGgzFdxeu+-OhX6AT=M5goJceq4z6OfQg@mail.gmail.com>
	<d02a5fb7-5c63-ea60-42ce-5301bc037b22@aklaver.com>
	<CAJTnKsq28GmCA5xeGqMMnHSeCSSTgAJXpOh7=23ws=OeO=t7xg@mail.gmail.com>

On 05/30/2018 07:41 AM, Yavuz Selim Sertoğlu wrote:
> Major upgrade would be very painful because there are many application 
> running on different servers but same database server.

FYI, 9.5.3 --> 9.5.13 is considered a minor upgrade.

> Their tests would take too much time.
> So I will try to go with minor upgrade.
> 
> Thanks for your help, have a good day.
> 
> 
> 
> 
>     Remaining suggestions/questions:
> 
>     1) If it still exists look in Postgres log around  2018-05-30
>     02:00:00, the time the problematic queries started, to see if there
>     are any entries of note.
> 
>     2) You are on Postgres 9.5.3 and the most recent release 9.5.13.
>     There have been a lot of bug fixes in the interim and it would be a
>     good idea to upgrade. It is minor release upgrade but I would go
>     through the release notes first:
> 
>     https://www.postgresql.org/docs/9.5/static/release.html
>     <https://www.postgresql.org/docs/9.5/static/release.html;
> 
>     as there some thing that might require your action.
> 
>     3) I suggest 2) because a quick scan of the release notes found this:
> 
>     https://www.postgresql.org/docs/9.5/static/release-9-5-11.html
>     <https://www.postgresql.org/docs/9.5/static/release-9-5-11.html;
> 
>     "
> 
>     Cope with failure to start a parallel worker process (Amit Kapila,
>     Robert Haas)
> 
>     Parallel query previously tended to hang indefinitely if a worker
>     could not be started, as the result of fork() failure or other
>     low-probability problems.
>     "
> 
>     Is it possible that parallel query:
> 
>     https://www.postgresql.org/docs/10/static/when-can-parallel-query-be-used.html
>     <https://www.postgresql.org/docs/10/static/when-can-parallel-query-be-used.html;
> 
>     is in use?
> 
> 
> 
> 
> 
> 
> 
>              --     Adrian Klaver
>         adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>         <mailto:adrian.klaver@aklaver.com
>         <mailto:adrian.klaver@aklaver.com>>
> 
> 
> 
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (10+ messages)

Message-ID: <953ac787-e201-6e92-9536-02bf7015dcad@aklaver.com>
Permalink:  ../953ac787-e201-6e92-9536-02bf7015dcad@aklaver.com/
Also on:    postgresql.org/message-id/953ac787-e201-6e92-9536-02bf7015dcad@aklaver.com

 · 

reply

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, yavuzselim.sertoglu@bisoft.com.tr
  Subject: Re: Query running for 12 hours
  In-Reply-To: <953ac787-e201-6e92-9536-02bf7015dcad@aklaver.com>
  References: <CAJTnKsqCvtCfOq5rL1S0scK6XMef4pjh5ty2pkFAuFCagK6VPQ@mail.gmail.com> <56911e4e-d8a7-1770-7f6b-cd2104979693@aklaver.com> <CAJTnKsp1+0GP8GBtOfeq5zyCd9mGE+U6_hG8J0n5iM=CXoNR0A@mail.gmail.com> <7c2c3680-49a7-e6ce-82e1-171ba3e6db43@aklaver.com> <CAJTnKsp6iop5hiOiLOGgzFdxeu+-OhX6AT=M5goJceq4z6OfQg@mail.gmail.com> <d02a5fb7-5c63-ea60-42ce-5301bc037b22@aklaver.com> <CAJTnKsq28GmCA5xeGqMMnHSeCSSTgAJXpOh7=23ws=OeO=t7xg@mail.gmail.com> <953ac787-e201-6e92-9536-02bf7015dcad@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