Re: Single-file DBs WAS: Need concrete "Why Postgres

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: Single-file DBs WAS: Need concrete "Why Postgres
Дата
Msg-id 3F467D3D.5000504@mascari.com
обсуждение исходный текст
Ответ на Re: Single-file DBs WAS: Need concrete "Why Postgres  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Single-file DBs WAS: Need concrete "Why Postgres  (Josh Berkus <josh@agliodbs.com>)
Re: Single-file DBs WAS: Need concrete "Why Postgres  (Jeff <threshar@torgo.978.org>)
Список pgsql-hackers
Josh Berkus wrote:

> Jan,
>
> In my experience (a lot of MS SQL, more MS Access than I want to talk about, 
> and a little Oracle) corruption failures on single-file databases are more 
> frequent than databases which depend on the host OS, and such failures are 
> much more severe when the occur.
>

Vadim seemed to think differently:


http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=00030722102200.00601%40lorc.wgcr.org&rnum=9&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3DVadim%2Bsingle%2Bfile%2Bpostgres

In addition to Jan's points, using a single pre-allocated file also
reduces file descriptor consumption, although I don't know what the
costs are regarding maintaining the LRU of file descriptors, the price
of opens and closes, the price of having a high upper limit of file
descriptors, etc.

Just because Oracle and MS do something doesn't necessary make it
wrong. :-)


Mike Mascari
mascarm@mascari.com










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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Single-file DBs WAS: Need concrete "Why Postgres
Следующее
От: "Maksim Likharev"
Дата:
Сообщение: Re: Single-file DBs WAS: Need concrete "Why Postgres