public inbox for [email protected]  
help / color / mirror / Atom feed
From: HORDER Philip <[email protected]>
To: Adrian Klaver <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Restore of a reference database kills the auto analyze processing.
Date: Thu, 16 May 2024 14:38:00 +0000
Message-ID: <[email protected]> (raw)

Classified as: {OPEN}

> Did you have chance to do below?
> Using psql do

> \x
> select * from pg_stat_all_tables where relname = 'a.accp';

Sorry, missed that bit.
From this output you can see that no stats have been collected since the last two overnight updates.

postgres=# select * from pg_stat_all_tables where relname='accp';
-[ RECORD 1 ]-------+--------------------------------
relid               | 811486381
schemaname          | a
relname             | accp
seq_scan            | 1654767
seq_tup_read        | 901811880
idx_scan            | 146070383
idx_tup_fetch       | 305949969
n_tup_ins           | 2056948
n_tup_upd           | 0
n_tup_del           | 1662699
n_tup_hot_upd       | 0
n_live_tup          | 294
n_dead_tup          | 75162
n_mod_since_analyze | 0
n_ins_since_vacuum  | 75162
last_vacuum         |
last_autovacuum     | 2024-05-15 03:25:16.007386+00
last_analyze        |
last_autoanalyze    | 2024-05-15 03:25:16.008873+00
vacuum_count        | 0
autovacuum_count    | 1888
analyze_count       | 19836
autoanalyze_count   | 1715


Phil Horder
Database Mechanic

Thales
Land & Air Systems


{OPEN}
The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform the originator immediately and delete it and all copies from your system.

Thales UK Limited. A company registered in England and Wales. Registered Office: 350 Longwater Avenue, Green Park, Reading, Berks RG2 6GF. Registered Number: 868273

Please consider the environment before printing a hard copy of this e-mail.


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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Restore of a reference database kills the auto analyze processing.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox