Received: from email01.aon.at (WARSL401PIP1.highway.telekom.at [195.3.96.69]) by postgresql.org (8.11.3/8.11.1) with SMTP id f54IwdE73297 for ; Mon, 4 Jun 2001 14:58:40 -0400 (EDT) (envelope-from vecernik@aon.at) Received: (qmail 113774 invoked from network); 4 Jun 2001 18:58:16 -0000 Received: from m222p005.dipool.highway.telekom.at (HELO aon.at) ([62.46.17.165]) (envelope-sender ) by qmail1.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 4 Jun 2001 18:58:16 -0000 Message-ID: <3B1BD859.E9A933A0@aon.at> Date: Mon, 04 Jun 2001 20:50:01 +0200 From: Oliver Vecernik Organization: VECERNIK Datenerfassungssysteme X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.4.0-4GB i686) X-Accept-Language: de-AT, en MIME-Version: 1.0 To: Chris Ruprecht CC: p-admin Subject: Re: data/base file structure References: <00cd01c0ed23$616dd4c0$5dd26383@corp.compucom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/13 X-Sequence-Number: 1549 > 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/, where is the oid of the pg_database entry. Regards, Oliver