pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Oliver Vecernik <vecernik@aon.at>
To: Chris Ruprecht <chrup999@yahoo.com>
Cc: p-admin <pgsql-admin@postgresql.org>
Subject: Re: data/base file structure
Date: Mon, 04 Jun 2001 20:50:01 +0200
Message-ID: <3B1BD859.E9A933A0@aon.at> (raw)
References: <00cd01c0ed23$616dd4c0$5dd26383@corp.compucom.com>
> Chris Ruprecht wrote:
>
> Hi all,
>
> can somebody explain to me, or point to an explanation of, the way,
> PostGreSQL names databases?I have files like 18732 and 7503034 - and
> they are big but I have no idea which data lives in what file:
>
> /home/pgsql/data/base/18720/
> -rw------- 1 postgres postgres 70385664 May 24 13:55 7503034
> -rw------- 1 postgres postgres 10788864 May 24 13:54 8748869
> -rw------- 1 postgres postgres 458752 May 24 12:21 8939786
> -rw------- 1 postgres postgres 158334976 May 24 13:51 8945104
>
In 7.1 and later, there is one database per directory and the
directories
are named $PGDATA/base/<oid>, where <oid> is the oid of the pg_database
entry.
Regards,
Oliver
view thread (3+ messages) latest in thread
Message-ID: <3B1BD859.E9A933A0@aon.at> Permalink: ../3B1BD859.E9A933A0@aon.at/ Also on: postgresql.org/message-id/3B1BD859.E9A933A0@aon.at ·
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: vecernik@aon.at, chrup999@yahoo.com Subject: Re: data/base file structure In-Reply-To: <3B1BD859.E9A933A0@aon.at> References: <00cd01c0ed23$616dd4c0$5dd26383@corp.compucom.com> <3B1BD859.E9A933A0@aon.at> * 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