Re: Minimising disk writes

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Minimising disk writes
Дата
Msg-id
7504.1155300076@sss.pgh.pa.us
Ответ на
Minimising disk writes (Andy Chambers)
Список
Дерево обсуждения
Minimising disk writes Andy Chambers <andychambers2002@yahoo.co.uk>
Re: Minimising disk writes Tom Lane <tgl@sss.pgh.pa.us>
Re: Minimising disk writes Andrew Chambers <andychambers2002@yahoo.co.uk>
Re: Minimising disk writes "Andrej Ricnik-Bay" <andrej.groups@gmail.com>
Andy Chambers  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
FAQ