Re: \d very, very, very slow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: \d very, very, very slow
Дата
Msg-id 8728.1028443344@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: \d very, very, very slow  (Steve Atkins <steve@blighty.com>)
Список pgsql-general
Steve Atkins <steve@blighty.com> writes:
> I'm using postgres for a long-running application[1], where I'd really
> rather the application daemons don't have any access as the postgres
> user. As the schema doesn't change is it safe to analyze the system
> tables as the postgres user once at installation time or should I
> be doing that as part of the normal cronjobbed maintenance?

If you're not doing any schema changes then the ANALYZE stats for the
system tables shouldn't need updates, probably.  On the other hand,
I'm not sure what it buys you to avoid it.  Running "vacuum analyze"
as the postgres user from a cron job is standard practice in my book.

            regards, tom lane

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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: \d very, very, very slow
Следующее
От: "Johnson, Shaunn"
Дата:
Сообщение: reloading really big tables