From: Adrian Klaver <adrian.klaver@aklaver.com>
To: tel medola <tel.medola@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Lost my tablespace
Date: Mon, 29 May 2017 07:57:07 -0700
Message-ID: <97bd2743-46c3-32c4-7b3f-62def38aea65@aklaver.com> (raw)
In-Reply-To: <CANRMYmjbg6MFhB=3wo6tcueUL8mqmqRfysSYrgRFHUu04Mxrwg@mail.gmail.com>
References: <CANRMYmgu3ddSU62-=a3QCnsbGYuMVJXZ-ydTm7vd_2TQLp-Oqg@mail.gmail.com>
<2a418dab-d17f-9d3a-0ac4-53678c1ce16f@aklaver.com>
<CANRMYmjbg6MFhB=3wo6tcueUL8mqmqRfysSYrgRFHUu04Mxrwg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
On 05/29/2017 07:39 AM, tel medola wrote:
> I have a serious problem in my database. I have a table, divided into 4
>
>
> Postgres version?
>
> /PostgreSQL 9.3.5, compiled by Visual C++ build 1600, 64-bit/
>
>
> What was the command?
I meant the command you used to create the inheritance structure.
>
> If you execute the SELECT command pg_size_pretty (pg_database_size
> ('database_name')), the result comes complete, as if the tables were
> filled normally.
>
>
> What does
> /2848 GB/
Can you provide the parent and child table sizes?
>
> select * from pg_tablespace;
My mistake I should have asked for:
select oid, * from pg_tablespace;
Please run the command as above.
>
> show?
> /Yes, all tablespaces/
> /disco01/
> /disco02/
> /disco03/
> /disco04/
> /disco05
> /
>
> What does $PGDATA/pg_tblspc show?
> /this shortcouts:/
>
> /2193601 -> E:/
> /5205910 -> G:/
> /7245095 -> H:/
> /9277962 -> I:/
> /11242858-> J: (new)/
What do you mean by new?
>
>
> Thanks.
>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@aklaver.com, tel.medola@gmail.com
Subject: Re: Lost my tablespace
In-Reply-To: <97bd2743-46c3-32c4-7b3f-62def38aea65@aklaver.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