Re: Only owners can ANALYZE tables...seems overly restrictive

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Only owners can ANALYZE tables...seems overly restrictive
Дата
Msg-id 20160229180601.GA284094@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Only owners can ANALYZE tables...seems overly restrictive  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Only owners can ANALYZE tables...seems overly restrictive  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
Joshua D. Drake wrote:
> On 02/29/2016 05:31 AM, Stephen Frost wrote:

> >Realistically, ANALYZE is a background/maintenance task that autovacuum
> >should be handling for you.
>
> Incorrect. That would be autoanalyze and although they are similar they are
> not the same. ANALYZE is used for a number of things, not the least is query
> profiling.

I think you are confusing ANALYZE with EXPLAIN ANALYZE.

I am not aware of any way in which ANALYZE is different from what you
call "autoanalyze" (which is really just an autovacuum-invoked ANALYZE
and for which we don't have any specific term).

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Geoff Winkless
Дата:
Сообщение: Re: multicolumn index and setting effective_cache_size using human-readable-numbers
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Only owners can ANALYZE tables...seems overly restrictive