Re: Pg 8.3 tuning recommendations for embedded low-memory device (for OLPC :-) )

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Martin Langhoff" <martin(dot)langhoff(at)gmail(dot)com>
Cc: "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-general(at)postgresql(dot)org, "Greg Smith" <gsmith(at)gregsmith(dot)com>, "XS Devel" <server-devel(at)lists(dot)laptop(dot)org>
Subject: Re: Pg 8.3 tuning recommendations for embedded low-memory device (for OLPC :-) )
Date: 2008-09-15 21:52:08
Message-ID: dcc563d10809151452j12e360c6j98fac361b98f517e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Sep 15, 2008 at 3:46 PM, Martin Langhoff
<martin(dot)langhoff(at)gmail(dot)com> wrote:
> On Tue, Sep 16, 2008 at 8:36 AM, Robert Treat
> <xzilla(at)users(dot)sourceforge(dot)net> wrote:
>> Call me crazy, but I think you need to drop postgres and maybe even template0
>> databases from the system, just to reduce overall footprint, plus gives you
>> less databases to have to keep track of wrt autovacuum and such.
>
> What would be the impact of running w/o postgres and template0? They
> seem to take 13MB on a freshly init'd Pg -- I can afford to have them
> there if needed. In general, I am not expecting to be super-tight on
> disk... (not yet at least)

template0 is the database used in case of emergency to restore
template1 should you do something stupid. Generally it's never used.

postgres is the database that all the command line utils (createdb,
vacuumdb, etc) all use to connect to.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-09-15 21:52:47 Re: Out of memory on SELECT (from sort?) in 8.3
Previous Message Martin Langhoff 2008-09-15 21:46:58 Re: Pg 8.3 tuning recommendations for embedded low-memory device (for OLPC :-) )