delete then insert

Поиск
Список
Период
Сортировка
От Ken Benson
Тема delete then insert
Дата
Msg-id BN6PR19MB00810F01715E27D5AE8D77D0A3310@BN6PR19MB0081.namprd19.prod.outlook.com
обсуждение исходный текст
Ответы Re: delete then insert
Re: delete then insert
Список pgsql-admin

 

So – I THINK I know – that when a row is deleted from a table – the row is not actually removed from the table – but, merely marked as deleted, thus becoming a dead tuple.
AUTOVACUUM – takes care of the process of removing these dead tuples.

 

My question. If – an insert occurs to that same table before autovacuum comes along, does that inserted record use a dead tuple? Or – does the insert result in an actual added row?

 

 

Ken Benson | ken @ infowerks-dot-com

 

 

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Compile query results into a table
Следующее
От: Ron
Дата:
Сообщение: Re: delete then insert