| From: | Oliver Vecernik <vecernik(at)aon(dot)at> |
|---|---|
| To: | Chris Ruprecht <chrup999(at)yahoo(dot)com> |
| Cc: | p-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: data/base file structure |
| Date: | 2001-06-04 18:50:01 |
| Message-ID: | 3B1BD859.E9A933A0@aon.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tauren Mills | 2001-06-04 20:27:04 | RE: Alternate database locations |
| Previous Message | Chris Ruprecht | 2001-06-04 18:22:56 | data/base file structure |