pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hugh Esco <hesco@greens.org>
To: pgsql-admin@postgresql.org
Subject: How are postgreSQL database files structured?
Date: Fri, 22 Nov 2002 23:12:31 -0500
Message-ID: <5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org> (raw)

Hey folks:

I am mounting the learning curve from MySQL to postgreSQL.  It seemed so 
straight forward before.  On my Win98 box, everything was clearly named as 
I had designated in the c:/mysql/data directory.  On the Debian server, the 
/var/lib/mysql directory is similarly and intuitively laid out in an 
understandable way.

But when I take a look at /usr/local/pgsql/data/base, I am baffled by its 
contents.  I hear that the directory at: /usr/local/pgsql/data/base/1 is 
the template1 database.  But I do not know where the template0 database 
is.  And I certainly do not understand how testtest gets named 16555, much 
less what the numbered directories and files subordinate to that directory 
have to do with anything real in the world.

Can someone please refer me to a document (preferably off the net, as my 
book buying budget is non-existent, these days) which will explain it all 
for me?  I would certainly appreciate that.  Thanks.

-- Hugh Esco 




view thread (3+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org>
Permalink:  ../5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org/
Also on:    postgresql.org/message-id/5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: hesco@greens.org
  Subject: Re: How are postgreSQL database files structured?
  In-Reply-To: <5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org>
  References: <5.1.0.14.0.20021122225733.02c20230@petra.cagreens.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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