Re: Tablespace files deleted during continuous run

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: "Vishnu S(dot)" <vishnu(dot)s(at)nestgroup(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Tablespace files deleted during continuous run
Date: 2011-10-14 04:32:26
Message-ID: CAOR=d=2zDUeuTi0Eow4bLeCAcHxsn1YLw=52uU4Kw0rUaYFuHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 13, 2011 at 10:12 PM, Vishnu S. <vishnu(dot)s(at)nestgroup(dot)net> wrote:
> Hi,
>
>
> The tablespace is created using CREATE TABLESPACE query.

Is it a local drive? USB or eSATA maybe?

> Also Slony-I replication is working on the tablespace for Master - slave implementation.

should work. I've done it before with no problems.

> The machine has logged off 5-6 times without stopping the server.

Do you mean that it's logged off the local user who was logged in?

> Is there any problem on it. If yes why this is happening?
>
> I have an application that deletes data from the tables that are in the tablespace.
> The Query used for deletion is DELETE FROM <table> WHERE <condition>.
>
>
> Also the tablespace contains about 7-8 GB data. Is there any problem in it.
> Is there any size limit for tablespace in PostgreSQL.(Documentation says no).

7 to 8 gig is small by pg standards.

> The problem was occurred twice. In first situation all the files in the tablespace are get deleted.
> In second condition some folders in  \16384 was present. But the files including the PG_VERSION are get deleted.

Well something is deleting the files, and it's not likely postgres.

> No anti virus application is installed on the system.(Both in master and slave)
> Is there any possibility that Slony-I will delete the tablespace files?

Nope. Any odd power outages or disconnected drives? chkdsk finding
problems on bootup etc?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2011-10-14 04:33:23 Re: Tablespace files deleted during continuous run
Previous Message René Fournier 2011-10-14 00:25:50 Re: PostGIS: Approximating a house number from street address range