Re: PG in cash till machines

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: PG in cash till machines
Дата
Msg-id CAHyXU0yu_C1CLz-C2ur00JkH3qmrVqumT8XNnS03J8o-oEOA4A@mail.gmail.com
обсуждение исходный текст
Ответ на PG in cash till machines  (Carlos Henrique Reimer <carlos.reimer@opendb.com.br>)
Ответы Re: PG in cash till machines  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Список pgsql-general
On Fri, May 10, 2013 at 8:43 AM, Carlos Henrique Reimer
<carlos.reimer@opendb.com.br> wrote:
> Hi,
>
> We are developing a solution which will run in thousands of small cash till
> machines running Linux and we would like to use PostgreSQL but there is a
> insecurity feeling regarding the solution basically because these boxes
> would be exposed to an insecure environment and insecure procedures like:
> non controlled power outages, untrusted hardware, no appropriate environment
> for hardware (dusty, hot) etc...
>
> Our major concern is related to the write-back issues we can face in this
> environment. Is there a way to prevent it or a way PG can be configured to
> detect write-back configurations? Don't think so, but...

This is not the job of postgres, but of the operating system (and
possibly various hardware attached to the server).  In practice, it's
very possible to configure things so that a full flush all the way to
physical storage is guaranteed -- in fact that's the default behavior
for many configurations.  So this part, at least, is trivially done.

> Basically, the question is: is there a way to guaranty a reliable PG
> database in an untrusted and insecure environment?  Maybe some kind of file
> system could give this guaranty, not sure..

Again, this has more to do with the hardware (especially) operating
environment and the operating system than postgres itself.

merlin


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: LONG delete with LOTS of FK's
Следующее
От: Matt Brock
Дата:
Сообщение: Deploying PostgreSQL on CentOS with SSD and Hardware RAID