Re: Full list of operations that constitute a "maintenance"operation?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Full list of operations that constitute a "maintenance"operation?
Дата
Msg-id a0d0d76db1614513b54f965062d194a5cc8c7613.camel@cybertec.at
обсуждение исходный текст
Ответ на Full list of operations that constitute a "maintenance" operation?  (Lance Luvaul <lance.luvaul@gmail.com>)
Список pgsql-general
Lance Luvaul wrote:
> Hi all, I've read on the Postgres documentation for 'maintenance_work_mem' that VACUUM, CREATE INDEX,
> and ALTER TABLE ADD FOREIGN KEY are considered maintenance operations, but are there others?
> For example I use ALTER TABLE ADD COLUMN and ALTER TABLE SET LOGGED in my scripts...
> are they maintenance operations that would cause a maintenance_work_mem-sized chunk of memory
> (or more than 1 such chunk) to be allocated?  Is there a complete list somewhere?  Thanks!

Trawling the source shows that it is used for index operations like CREATE INDEX and REINDEX,
but also for ALTER TABLE ADD FOREIGN KEY, VACUUM and CLUSTER.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



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

Предыдущее
От: Adrien NAYRAT
Дата:
Сообщение: Re: ERROR: found multixact from before relminmxid
Следующее
От: Daniel Westermann
Дата:
Сообщение: index only scan question