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 c5f6948efb4b442e845a0b87aef19409@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.
Re: Restore of a reference database kills the auto analyze processing.
Список pgsql-general
Classified as: {OPEN}

> I am having a hard time figuring out how both of the above can be true.
> Dropping and recreating the database would wipe out the statistics.

We have multiple databases on the one Postgres server.
The 'postgres' database contains our main application, with tables in schema 'a'.
We have two other databases, one of which is 'lfm'.

In PgAdmin, there is Databases (3), then those database names.
As the superuser, I can connect to any of these databases.

When we drop database lfm, and recreate it using pg_restore, the stats collection dies, for all databases on the
server:'postgres', 'lfm', 'lfm2'
 
I haven't dropped database 'postgres'

So the existing stats on tables in the 'postgres' database remain, but no further stats are collected.

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.