pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Techsupport <techsupport@sardonyx.in>
To: 'Julien Rouhaud' <rjuju123@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: RE: 20220226-Clarification regarding delay time of   PostgeSQL starting up
Date: Sun, 27 Feb 2022 00:04:19 +0530
Message-ID: <002001d82b3f$79fc6df0$6df549d0$@sardonyx.in> (raw)
In-Reply-To: <20220226145720.xyf6xm74xtxytc53@jrouhaud>
References: <001101d82b1c$30346b50$909d41f0$@sardonyx.in>
	<20220226145720.xyf6xm74xtxytc53@jrouhaud>

Hi,

Thanks for your reply.
Is it a good practice to upgrade / update database on production on every
year ?

In my log
 > FATAL:  the database system is starting up 
 Log showing continuously, other than that there is not PANIC log in the log
file, which is under the log folder. 

Thanks,
  


-----Original Message-----
From: Julien Rouhaud [mailto:rjuju123@gmail.com] 
Sent: Saturday, February 26, 2022 8:27 PM
To: Techsupport
Cc: pgsql-general@lists.postgresql.org
Subject: Re: 20220226-Clarification regarding delay time of PostgeSQL
starting up

Hi,

On Sat, Feb 26, 2022 at 07:51:45PM +0530, Techsupport wrote:
> Hi to all,
>
> We are using PostgreSQL 12.3, it is running on the Windows Server.

So, you're using a version released almost 2 years ago, missing 8 minor
releases worth of bug fixes.  In general, if you have a problem you should
just blindly update to the latest minor version, otherwise it's highly
unlikely that anyone will look at your problem.

That being said...
>
> Database data directory is configured in the network shared path.
> Unexpectedly it was disconnected and up again.
>
> PgAgent is not connected, when I check the Log, it showing
>
> FATAL:  the database system is starting up
>
> FATAL:  the database system is starting up
>
> ...........
>
> Other than that, there is no other errors available.

Really?  This error is displayed if the server is doing some automatic
recovery after an unclean shutdown.  Could be an unrecoverable error like IO
error on the WALs, or just anything fixed in the last 2 years.

You should check for any message with PANIC/FATAL log level too.

> For nearly 7 hours database is not connected, after that it's getting 
> connected. Why it is taking too long time to up. Totally our database 
> has 3.5 TB of data.

Was it 7 uninterrupted hours or did your database keeps being stopped in an
unclean way for 7 hours?  More details from the logs would help, you could
also see https://wiki.postgresql.org/wiki/Guide_to_reporting_problems.  But
above all you should consider updating to the latest minor version as soon
as possible.







view thread (8+ messages)  latest in thread

Message-ID: <002001d82b3f$79fc6df0$6df549d0$@sardonyx.in>
Permalink:  ../002001d82b3f$79fc6df0$6df549d0$@sardonyx.in/
Also on:    postgresql.org/message-id/002001d82b3f$79fc6df0$6df549d0$@sardonyx.in

 · 

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: techsupport@sardonyx.in, rjuju123@gmail.com
  Subject: Re: 20220226-Clarification regarding delay time of   PostgeSQL starting up
  In-Reply-To: <002001d82b3f$79fc6df0$6df549d0$@sardonyx.in>
  References: <001101d82b1c$30346b50$909d41f0$@sardonyx.in> <20220226145720.xyf6xm74xtxytc53@jrouhaud> <002001d82b3f$79fc6df0$6df549d0$@sardonyx.in>

* 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