Re: Reusing Dead Tuples:
От | Tom Lane |
---|---|
Тема | Re: Reusing Dead Tuples: |
Дата | |
Msg-id | 5876.1039765041@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Reusing Dead Tuples: (Janardhan <jana-reddy@mediaring.com.sg>) |
Ответы |
Re: Reusing Dead Tuples:
|
Список | pgsql-hackers |
Janardhan <jana-reddy@mediaring.com.sg> writes: > Does it breaks any other things if all the index entries pointing the > dead tuple are removed before reusing the dead tuple?. Possibly you could make that work, but I think you'll find the efficiency advantage you were chasing to be totally gone. The locking scheme is heavily biased against you, and the index AMs don't offer an API designed for efficient retail index-tuple deletion. Of course that just says that you're swimming against the tide of previous optimization efforts. But the thing you need to face up to is you are taking what had been background maintenance tasks (viz, VACUUM) and moving them into the foreground critical path. This *will* slow down your foreground applications. regards, tom lane
В списке pgsql-hackers по дате отправления: