Re: What is WAL used for?
| От | Bruce Momjian |
|---|---|
| Тема | Re: What is WAL used for? |
| Дата | |
| Msg-id | 200312012117.hB1LHT520496@candle.pha.pa.us обсуждение |
| Ответ на | Re: What is WAL used for? (Jonathan Bartlett <johnnyb@eskimo.com>) |
| Список | pgsql-general |
Jonathan Bartlett wrote: > > WAL with ext3's data journaling is quite unnecessary because the WAL > > sort of IS the database's journal. > > I believe you are mistaken. ext3 data journalling only does the > filesystem. It has no concept of the structure of the database itself. > WAL is still necessary to keep consistency on the table itself. What he means is that PostgreSQL doesn't need the file contents restore pristine on crash recovery, just the directory structure and WAL can recreate the file contents. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-general по дате отправления: