Re: backups

Поиск
Список
Период
Сортировка
От Christopher Petrilli
Тема Re: backups
Дата
Msg-id 59d991c404070114003de5fe97@mail.gmail.com
обсуждение исходный текст
Ответ на Re: backups  (<wespvp@syntegra.com>)
Список pgsql-general
On Wed, 30 Jun 2004 18:23:08 -0500, wespvp@syntegra.com
<wespvp@syntegra.com> wrote:
>
> What do other sites with mondo databases do?
>

Let me offer the ideas of what I've used in some high-end environments
before. First, we've always used a mirror configuration in most
situations, simply for reliability and performance concerns (we can
get into the arguments of RAID-5, but that's neither here nor there).
So, it ends up being 1+0 (mirroring of striped sets).

What you can do is split the mirror and back up one side of the duplex
set. This leaves the database running on the other side, and when you
join them back together, the logs will catch up. This does have a
potential performance problem associated with it, of course, but
backups always do. It really depends on write-percentages.

If you still need high availability when doing backups, I've also used
triplex setups (3 mirrors), so that you still have one left. The
reality is, drive space is cheap, and the ability to pull them off and
do backups that way is very helpful. You can in-fact in an SAN
reattach them to another server for backups.

As someone else pointed out, you do have the issue of sanity of the
files when you do a backup, so given PostgreSQL's current lack of
PITR, I'd likely stop the database, split the mirrors, and restart the
database. I don't know of anyway to coalesce the database and quiet it
for 1 second to do the split.

Chris
--
| Christopher Petrilli
| petrilli@gmail.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Soeren Gerlach
Дата:
Сообщение: Re: Slow dump with pg_dump/pg_restore ? How to improve ?
Следующее
От: "Chuck Bernardes"
Дата:
Сообщение: Re: PostgreSQL 7.4.3 on a windows XP Pro environment Installation