Re: db corruption pg vs mysql

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: db corruption pg vs mysql
Дата
Msg-id 46533FF0.5040907@commandprompt.com
обсуждение исходный текст
Ответ на db corruption pg vs mysql  ("tim h" <timh@vyew.com>)
Список pgsql-advocacy
tim h wrote:
> Hi. Im running one of my apps on mysql/myisam. db size: 7mil records, 5.8Gb.
> We've had some corruption problems, somehow the mysqld service failed
> corrupted the db.
>
> For many reasons, but for this reason alone, im considering switching to
> pgsql sooner
> then planned. My question is... will this same problem happen in pgsql?

No. PostgreSQL is ACID compliant.

> Is there a way to prevent or minimize corruption due to service or
> hardware failure?

Well sure, backups, UPS, Raid battery backup...

>
> also, will the use of Transactional queries prevent corruption, or is
> that a different issue?

Transactional queries is a different issue. Read this:

http://www.fredosaurus.com/notes-db/transactions/acid.html

This is what Pg has, that MySQL (at least with myisam) does not.

Joshua D. Drake


>
> thanks.
>
> --
> Tim H
> Berkeley, CA
>


--

       === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: db corruption pg vs mysql
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: db corruption pg vs mysql