| От | Duncan Sargeant |
|---|---|
| Тема | Re: table move across databases |
| Дата | |
| Msg-id | 20020725035741.GD22945@circe.rcpt.to обсуждение |
| Ответ на | Re: table move across databases (Andrew McMillan <andrew@catalyst.net.nz>) |
| Список | pgsql-novice |
Andrew McMillan wrote on Tue July 23, at 20:49 +1200: > What I do myself for a similar situation, is to: > > This gives me a separate table with the old records. I can then use > pg_dump ... -t archive_YYMMDD to dump that table out, and finally drop > it. > > I do this before the table gets too much in it, so that vacuuming it out > is less of an issue, although that will be much less problematic when I > upgrade to 7.2 in the next month or so. > > I hope this gives you some ideas, Thanks Andrew, it does. Although it does frustrate me not being able to keep the archived data online without copying all the data twice. At least I get a backup out of one of them. ,dunc
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера