Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxxog-0005mK-33 for pgsql-admin@arkaria.postgresql.org; Thu, 16 Dec 2021 20:57:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxxoe-0001qK-7h for pgsql-admin@arkaria.postgresql.org; Thu, 16 Dec 2021 20:57:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxxod-0001q9-TP for pgsql-admin@lists.postgresql.org; Thu, 16 Dec 2021 20:57:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxxoX-0007yt-Ja for pgsql-admin@postgresql.org; Thu, 16 Dec 2021 20:57:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1BGKvKcU1239992; Thu, 16 Dec 2021 15:57:20 -0500 From: Tom Lane To: Vivek Gadge cc: pgsql-admin@postgresql.org Subject: Re: Log Message In-reply-to: References: Comments: In-reply-to Vivek Gadge message dated "Fri, 17 Dec 2021 01:45:42 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1239990.1639688240.1@sss.pgh.pa.us> Date: Thu, 16 Dec 2021 15:57:20 -0500 Message-ID: <1239991.1639688240@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vivek Gadge writes: > Hi, We have upgraded the PostgreSQL 12.6 using pgdump. Database is working > fine but we have received Log message " stats_timestamp... is later than > collector's time" in postgreSQL log. Could you please help us with this > error message. > Error log :- 2021-10-26 01:56:23 EDT 779 00000LOG: stats_timestamp > 2021-12-16 02:01:07.363105-05 is later than collector's time 2021-12-16 > 02:01:04.863943-05 for database 0 The most likely bet is that something set the system clock back a couple of seconds. Otherwise you've got rather bad clock skew between different processors in the system. This isn't particularly harmful so far as Postgres itself is concerned, but you might want to do something about it to avoid ending up with seemingly-inconsistent timestamps in your data. I'm also curious about how come the log entry timestamp seems to be a couple of months older than the timestamps quoted in the message. There seems to be something wacko about timekeeping on your system. regards, tom lane