Re: Feedback on getting rid of VACUUM FULL
От | Tom Lane |
---|---|
Тема | Re: Feedback on getting rid of VACUUM FULL |
Дата | |
Msg-id | 4523.1253152100@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Feedback on getting rid of VACUUM FULL (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: Feedback on getting rid of VACUUM FULL
Re: Feedback on getting rid of VACUUM FULL Re: Feedback on getting rid of VACUUM FULL |
Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes: > On Wed, Sep 16, 2009 at 9:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Simon Riggs <simon@2ndQuadrant.com> writes: >>> * Shrink a table concurrently - when no dedicated time available >> >> Wishful thinking, which should not stop us from proceeding with the >> solutions we know how to implement. > The UPDATE-style tuple-mover might work for this too, for certain > workloads. If most of your transactions are short, and the server > load is not too high, it might be OK to lock the table, move a few > tuples, lock the table, move a few tuples, etc. Now if you have > long-running transactions, not so much. Yeah, I was just wondering about that myself. Seems like there would be lots of situations where short exclusive-lock intervals could be tolerated, even though not long ones. So that's another argument for being able to set an upper bound on how many tuples get moved per call. regards, tom lane
В списке pgsql-hackers по дате отправления: