From: Guido Barosio <gbarosio@gmail.com>
To: Marco Rademeyer <mrademeyer@pnp.co.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database disappeared
Date: Wed, 27 Jul 2005 11:13:23 +0100
Message-ID: <f7f6b4c7050727031379a1d9be@mail.gmail.com> (raw)
In-Reply-To: <1122457800.19198.53.camel@localhost.localdomain>
References: <800FF6DB85F96B488D9CD739A651C5B503881230@ucidcw.uci.cu>
<20050726172703.GE14882@alvh.no-ip.org>
<1122457800.19198.53.camel@localhost.localdomain>
You mention:
script has ended -> so, it was a piece of sql sentences, no drop at any
time?
databases disappeared -> the db is not any more, or the relations are not
more there?
Could this script create a schema and moved everything on this schema?
try postgresql-shell # \dn
That should list your schemas.
On 7/27/05, Marco Rademeyer <mrademeyer@pnp.co.za> wrote:
>
>
> Hi
>
> I have a very strange problem.
> I was importing about 5 gigs of data last night.
>
> When I got in this morning the script had completed. But my database has
> disappeared. I login to the databases , but all the tables are gone.
>
> in the /var/lib/postgresql/data/base/17164/ . The data is still there.
>
> When logged into the databases
>
> \d gives me the following output:
> 'no relations found '
>
> Is there any way that I can put these relations back?
> Any help would be great.
>
> Regards
> Marco Rademeyer
>
>
> Read our disclaimer at: http://www.picknpay.co.za/pnp/view/pnp/en/page5093
> ?
> If you don't have web access, the disclaimer can be mailed to you on
> request.
> Disclaimer requests to be sent to it-security@pnp.co.za
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
--
"Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more" - Tom Lane.
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: gbarosio@gmail.com, mrademeyer@pnp.co.za
Subject: Re: Database disappeared
In-Reply-To: <f7f6b4c7050727031379a1d9be@mail.gmail.com>
References: <800FF6DB85F96B488D9CD739A651C5B503881230@ucidcw.uci.cu> <20050726172703.GE14882@alvh.no-ip.org> <1122457800.19198.53.camel@localhost.localdomain> <f7f6b4c7050727031379a1d9be@mail.gmail.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