what's difference between vacuum analyze and analyze?

Поиск
Список
Период
Сортировка
От leaf_yxj
Тема what's difference between vacuum analyze and analyze?
Дата
Msg-id 1332948258361-5600887.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: what's difference between vacuum analyze and analyze?  (Chris Angelico <rosuav@gmail.com>)
Re: what's difference between vacuum analyze and analyze?  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
I was asked to write a security definer function to make other user can issue
vacuum and analyze command? Friends in this community said vacuum doesn't
work inside the function or multi command. How about analyze.  I know vacuum
is something much like oracle shrink which is used to reorganize the space
in the disk.  Analyze is used to collect the statistic info of the table.
Does analyze works in Function or mulit-commands?


Thanks.

Regards.


Grace

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/what-s-difference-between-vacuum-analyze-and-analyze-tp5600887p5600887.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: oracle linux
Следующее
От: Chris Angelico
Дата:
Сообщение: Re: what's difference between vacuum analyze and analyze?