Re: Creating schema, database, or table in different folder.
В списке pgsql-general по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: Creating schema, database, or table in different folder. |
| Дата | |
| Msg-id | 4A2A326F.7010902@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Creating schema, database, or table in different folder. ("Carlos Oliva" <CarlosO@pbsinet.com>) |
| Список | pgsql-general |
Carlos Oliva wrote: > Is there a way to create a database or a table of a database in its own > folder? You could use tablespaces for that bit, BUT: > We are looking for ways to backup the sytem files of the > database to tape and one to exclude some tables from this backup. you can't do that with tablespaces. The write-ahead log is shared across ALL the databases and all tablespaces. If your restore is missing some files, the replay of the write-ahead log won't succeed. Your catalog would also be out-of-sync with the actual data files. Your backup would be broken. If you want to do selective backups, use pg_dump, which has options to include/exclude some tables. (This needs a FAQ entry) -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера