Re: Adding WHERE clause to pg_dump
От | Andrew Dunstan |
---|---|
Тема | Re: Adding WHERE clause to pg_dump |
Дата | |
Msg-id | 488B21D1.6060804@dunslane.net обсуждение исходный текст |
Ответ на | Re: Adding WHERE clause to pg_dump (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: Adding WHERE clause to pg_dump
|
Список | pgsql-hackers |
Simon Riggs wrote: > In a world > where PITR exists the role and importance of pg_dump has waned > considerably. What *is* its principal function? Does it have just one? > > > I think that's probably a rather narrow perspective. PITR doesn't work across versions or architectures or OSes. And if you're using it for failover, then using it for standalone backups as well means you will need a custom archive_command which can be a bit tricky to get right. And a custom dump is almost always far smaller than a PITR dump, even when it's compressed. I suspect that the vast majority of our users are still using pg_dump to make normal backups, and that it works quite happily for them. It's really only when databases get pretty large that this becomes unmanageable. I think using pg_dump for backups and PITR for failover is a good combination for a great many users. So, IMNSHO, making a full database backup is still pg_dump's principal function. cheers andrew
В списке pgsql-hackers по дате отправления: