Re: Detach/attach table and index data files from one cluster to another
В списке pgsql-hackers по дате отправления:
| От | Stephen Frost |
|---|---|
| Тема | Re: Detach/attach table and index data files from one cluster to another |
| Дата | |
| Msg-id | 20130412181511.GL4361@tamriel.snowman.net обсуждение исходный текст |
| Ответ на | Re: Detach/attach table and index data files from one cluster to another (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Detach/attach table and index data files from one cluster to another
|
| Список | pgsql-hackers |
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Well, it wouldn't be that hard to replace XIDs with FrozenXID or
> InvalidXID as appropriate, if you had access to the source database's
> clog while you did the copying. It just wouldn't be very fast.
If you're doing that in a streaming method, it strikes me that it'd be
plenty fast.
> I suppose it would still be faster than a COPY transfer, but I'm not
> sure it'd be enough faster to justify the work and the additional
> portability hits you'd be taking.
The big win here over a binary COPY is pulling through the indexes as-is
as well- without having to rebuild them.
Thanks,
Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера