From: Mingzuo Shen <mzshen@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Read db files directly
Date: Fri, 28 Jul 2006 13:28:16 -0700 (PDT)
Message-ID: <20060728202816.5281.qmail@web60413.mail.yahoo.com> (raw)
In-Reply-To: <1154116722.31664.135.camel@state.g2switchworks.com>
Thanks Scott.
That is a much clearer way of putting it.
That old PostgreSQL runs just fine,
in one place, but I have 50 GB of files in
another place. PostgreSQL is not reading it.
How can I persuade this PostgreSQL,
or any PostgeSQL, to read that 50 GB of files.
Or any independent tool to read the files.
Tom Lane mentioned "vacuum".
If only I knew the database name,
I could try "psql dbname".
But I don't know the database name either.
I did run "vacuum" in my new testdb.
Yeah. I guess the previous DBA put those files
on a different file system,
and then forgot about them, probably with
good reason. But as I said, the previous DBA
is no longer available.
Imagine I send just those files to you,
and you try to get some text out of them.
I do not have the SQL used to create
the tables, no table structures.
--- Scott Marlowe <smarlowe@g2switchworks.com> wrote:
> It sounds like the current postgresql is running in
> one directory, and
> you're looking in another directory. If you can see
> how postgresql was
> started, does it have a -D switch that shows the
> directory? My guess is
> you could chmod 000 the master directory you're
> looking at right now and
> postgresql could still startup, because it's not
> where you think it is.
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: mzshen@yahoo.com
Subject: Re: Read db files directly
In-Reply-To: <20060728202816.5281.qmail@web60413.mail.yahoo.com>
References: <1154116722.31664.135.camel@state.g2switchworks.com> <20060728202816.5281.qmail@web60413.mail.yahoo.com>
* 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