Re: vacuum internals and performance affect

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: vacuum internals and performance affect
Дата
Msg-id 4ED7C115.4010607@agliodbs.com
обсуждение исходный текст
Ответ на Re: vacuum internals and performance affect  (MirrorX <mirrorx@gmail.com>)
Ответы Re: vacuum internals and performance affect  (MirrorX <mirrorx@gmail.com>)
Список pgsql-performance
MirrorX,

> so when a transaction is still open from a while back (according to the
> transactionID), no 'new dead' tuples can be marked as re-usable space for
> new rows, right? by 'new dead' i mean that for example there is a
> transaction running from 10.00am(with a specific transactionID). when i
> delete rows at 11.00am these are the ones i am referring to.

With the understanding that what we're actually checking is snapshots
(which are not completely linear) and not timestamps, yes, that's a good
simplification for what happens.

> but, for these rows, the 'deleted' ones. does vacuum do anything at all at
> that time? and if so, what is it? thx in advance

No, it does nothing.  What would it do?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Guidance Requested - Bulk Inserting + Queries
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Autovacuum Issue