Re: Minimising disk writes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Minimising disk writes
Дата
Msg-id 7504.1155300076@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Minimising disk writes  (Andy Chambers <andychambers2002@yahoo.co.uk>)
Ответы Re: Minimising disk writes  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Re: Minimising disk writes  (Andrew Chambers <andychambers2002@yahoo.co.uk>)
Список pgsql-novice
Andy Chambers <andychambers2002@yahoo.co.uk> writes:
> I'm at the investigation stage of a project that involves putting a
> database on an embedded device.  One of the problems we face is that
> the filesystem is on Flash Memory so we need to minimize any writes.

> Is it just a bad idea to use postgresql for this type of thing?

Fraid so ... PG is not designed with the idea of avoiding disk writes,
indeed it's pretty aggressive at pushing committed data out to disk.
You could maybe get away with flash storage for a read-mostly, very
low update rate database, but the software isn't going to help you
do it :-(

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq and transactions
Следующее
От: Alex du Plessis
Дата:
Сообщение: Re: libpq and transactions