Lists: | pgsql-general |
---|
From: | S Arvind <arvindwill(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Postgres physical directory structure meaning |
Date: | 2010-02-16 06:35:51 |
Message-ID: | abf9211d1002152235n730830cfg29dc6758a37e2a61@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
I want to know about the meaning of various directory present in data
folder. Mostly what will the 'base' folder contains? The reason of this is
recently in the datafolder 'global' was deleted unknowingly which leads to
entire DB crash in a second. We found a tool to get the data from the base
folder as sql queries, but many table content are missing.
Pls tell what kind of data will be present in each folder, if possible sent
the doc link.
Arvind S
From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres physical directory structure meaning |
Date: | 2010-02-16 06:44:14 |
Message-ID: | 20100216064414.GA5386@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
In response to S Arvind :
> I want to know about the meaning of various directory present in data folder.
> Mostly what will the 'base' folder contains? The reason of this is recently in
> the datafolder 'global' was deleted unknowingly which leads to entire DB crash
> in a second. We found a tool to get the data from the base folder as sql
> queries, but many table content are missing.
> Pls tell what kind of data will be present in each folder, if possible sent the
> doc link.
http://www.postgresql.org/docs/8.4/interactive/storage.html
Read there and the sub-chapters.
Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | S Arvind <arvindwill(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres physical directory structure meaning |
Date: | 2010-02-16 14:41:04 |
Message-ID: | 20100216144104.GD5330@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
S Arvind escribió:
> I want to know about the meaning of various directory present in data
> folder. Mostly what will the 'base' folder contains? The reason of this is
> recently in the datafolder 'global' was deleted unknowingly which leads to
> entire DB crash in a second.
"global" contains some system catalogs. Not terribly critical, but you
need to do quite some work in order to make the system work again
without them.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres physical directory structure meaning |
Date: | 2010-02-16 18:47:23 |
Message-ID: | 201002161847.o1GIlN422570@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
A. Kretschmer wrote:
> In response to S Arvind :
> > I want to know about the meaning of various directory present in data folder.
> > Mostly what will the 'base' folder contains? The reason of this is recently in
> > the datafolder 'global' was deleted unknowingly which leads to entire DB crash
> > in a second. We found a tool to get the data from the base folder as sql
> > queries, but many table content are missing.?
> > Pls tell what kind of data will be present in each folder, if possible sent the
> > doc link.
>
> http://www.postgresql.org/docs/8.4/interactive/storage.html
>
> Read there and the sub-chapters.
Yea, "base" was chosen because that makes the directory hierarchy
"/data/base", e.g. "database".
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres physical directory structure meaning |
Date: | 2010-02-16 19:21:20 |
Message-ID: | 20100216192120.GA11800@tux |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> A. Kretschmer wrote:
> > In response to S Arvind :
> > > I want to know about the meaning of various directory present in data folder.
> > > Mostly what will the 'base' folder contains? The reason of this is recently in
> > > the datafolder 'global' was deleted unknowingly which leads to entire DB crash
> > > in a second. We found a tool to get the data from the base folder as sql
> > > queries, but many table content are missing.?
> > > Pls tell what kind of data will be present in each folder, if possible sent the
> > > doc link.
> >
> > http://www.postgresql.org/docs/8.4/interactive/storage.html
> >
> > Read there and the sub-chapters.
>
> Yea, "base" was chosen because that makes the directory hierarchy
> "/data/base", e.g. "database".
;-)
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°