Re: Restore of a reference database kills the auto analyze processing.

Поиск
Список
Период
Сортировка
От HORDER Philip
Тема Re: Restore of a reference database kills the auto analyze processing.
Дата
Msg-id e580793d24a04e2589fd6e7c43554e1e@uk.thalesgroup.com
обсуждение исходный текст
Ответ на Restore of a reference database kills the auto analyze processing.  (HORDER Philip <Phil.Horder@uk.thalesgroup.com>)
Ответы Re: Restore of a reference database kills the auto analyze processing.
Список pgsql-general
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
itby any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any
otherway use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have
receivedthis 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Restore of a reference database kills the auto analyze processing.
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Restore of a reference database kills the auto analyze processing.