Re: Minimising disk writes

From: Andrew Chambers <andychambers2002(at)yahoo(dot)co(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Minimising disk writes
Date: 2006-08-12 14:23:59
Message-ID: 20060812142358.GA16242@yapgi.hopto.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [2006-08-11 08:41:16 -0400]:

> Andy Chambers <andychambers2002(at)yahoo(dot)co(dot)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 :-(

I assumed that one can't really avoid writing to disk when committing
data (do any free databases try to avoid this?). I was more worried
about temporary tables created in join and sort operations.

Thanks,
Andy


___________________________________________________________
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Ramon Orticio 2006-08-14 02:40:32 password authentication failed for user "postgres"
Previous Message Sean Davis 2006-08-12 13:22:33 Re: How to install and run postgres