pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Minimum database size 2+ messages / 2 participants [nested] [flat]
* Minimum database size @ 2002-02-25 21:36 Rohit Dewan <rdewan@cisco.com> 2002-02-26 19:50 ` Re: Minimum database size Peter Eisentraut <peter_e@gmx.net> 0 siblings, 1 reply; 2+ messages in thread From: Rohit Dewan @ 2002-02-25 21:36 UTC (permalink / raw) To: pgsql-admin What is the size of an empty database? I heard somewhere that a DB created using CreateDB has a default size of about 20MB. Is that true and is that default size configurable. Thanks, Rohit ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Minimum database size 2002-02-25 21:36 Minimum database size Rohit Dewan <rdewan@cisco.com> @ 2002-02-26 19:50 ` Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 2+ messages in thread From: Peter Eisentraut @ 2002-02-26 19:50 UTC (permalink / raw) To: Rohit Dewan <rdewan@cisco.com>; +Cc: pgsql-admin Rohit Dewan writes: > What is the size of an empty database? Have you considered just creating one and looking? > I heard somewhere that a DB created using CreateDB has a default size > of about 20MB. Is that true and is that default size configurable. The size of an empty database is not determined by the amount of useless data that's put in there. In other words, no, you can't configure it. In some installation I have here, the size of an empty database appears to be about 2MB, but you will find that the database cluster overhead is much more than that. You can control some aspect of that by reducing the number of WAL files, but that will really kill the performance for only a relatively small space gain. -- Peter Eisentraut peter_e@gmx.net ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-02-26 19:50 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-02-25 21:36 Minimum database size Rohit Dewan <rdewan@cisco.com> 2002-02-26 19:50 ` Peter Eisentraut <peter_e@gmx.net>
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