Re: Move tablespace
От | Tom Lane |
---|---|
Тема | Re: Move tablespace |
Дата | |
Msg-id | 10238.1271811833@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Move tablespace (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: Move tablespace
|
Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes: > Following patch writes a new WAL record that just says "copy foo to > newts" and during replay we flush buffers and then re-execute the copy > (but only when InArchiveRecovery). So the copy happens locally on the > standby, not copying from primary to standby. We do this just with a > little refactoring and a simple new WAL message. And what happens to crash-recovery replay? You can't have it both ways, either the data is in WAL or it's missing. > Objections? This is NOT the time to be rushing in marginal performance optimizations. I don't think you've thought through all the corner cases anyway. regards, tom lane
В списке pgsql-hackers по дате отправления: