pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Smaller template database?
3+ messages / 3 participants
[nested] [flat]

* Smaller template database?
@ 2003-07-25 14:21  Jeremy Trammell <jtrammell@rpco2.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jeremy Trammell @ 2003-07-25 14:21 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

I am trying to use PostgreSQL as an embedded SQL database server, but the 30 meg installation size is killing me...  A quick scan of the various docs/FAQs around here have made no mention of any way to trim down that template database.  Am I missing something?  Why must it be so large?

Thanks,
Jeremy Trammell



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Smaller template database?
@ 2003-08-01 15:14  scott.marlowe <scott.marlowe@ihs.com>
  parent: Jeremy Trammell <jtrammell@rpco2.com>
  0 siblings, 1 reply; 3+ messages in thread

From: scott.marlowe @ 2003-08-01 15:14 UTC (permalink / raw)
  To: Jeremy Trammell <jtrammell@rpco2.com>; +Cc: pgsql-admin

On Fri, 25 Jul 2003, Jeremy Trammell wrote:

> Hi all,
> 
> I am trying to use PostgreSQL as an embedded SQL database server, but 
> the 30 meg installation size is killing me...  A quick scan of the 
> various docs/FAQs around here have made no mention of any way to trim 
> down that template database.  Am I missing something?  Why must it be so 
> large?

Are you sure all that is the template0/1 databases?  With WAL segments 
taking 16 Megs by default, that may be half of it.

If you're looking for a better choice for imbedding, look at firebird.

http://sourceforge.net/projects/firebird/

It's got a much smaller footprint and doesn't require as much regular 
daily maintenance as Postgresql does.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Smaller template database?
@ 2003-08-01 16:48  Tom Lane <tgl@sss.pgh.pa.us>
  parent: scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2003-08-01 16:48 UTC (permalink / raw)
  To: scott.marlowe <scott.marlowe@ihs.com>; +Cc: Jeremy Trammell <jtrammell@rpco2.com>; pgsql-admin

"scott.marlowe" <scott.marlowe@ihs.com> writes:
> If you're looking for a better choice for imbedding, look at firebird.

Or Berkeley DB, if you don't really need a SQL interface (which you
likely don't, for an embedded app).

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-08-01 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25 14:21 Smaller template database? Jeremy Trammell <jtrammell@rpco2.com>
2003-08-01 15:14 ` scott.marlowe <scott.marlowe@ihs.com>
2003-08-01 16:48   ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox