Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFM7h-0005Ib-V1 for pgsql-sql@arkaria.postgresql.org; Mon, 29 May 2017 14:58:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFM7h-0007CE-HW for pgsql-sql@arkaria.postgresql.org; Mon, 29 May 2017 14:58:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFM6g-0005I1-7L for pgsql-sql@postgresql.org; Mon, 29 May 2017 14:57:18 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFM6Y-0008M0-4l for pgsql-sql@postgresql.org; Mon, 29 May 2017 14:57:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 954BF20B3E; Mon, 29 May 2017 10:57:08 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 29 May 2017 10:57:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Goh9/qSjMpWm1+Zif1 MEn4comColTy6f7ZgBn6KgOKU=; b=SqERIElj4IcoNZmxXLcR1EfjmkPVZAHKw+ CY4+0Kf2EWD0gVlWk0iWzveSeCfudzD7w8EOHHpo5hSdA0njnZ/MKDdC6prECUbV HohExVGOr7V9wbf9kBIpYtxotKmiJ7am5ZqQtoD/wUFY0B4VvTxl05KSh79T23Ti l/up8sr54F/t+dv0ornJeYu+MQevXmeGAQ2pRIojIGhE5muT/57smkaW/DCVkFvD bgwZqeCSsQvn3FJ8lH0TCgVZ7v2pyxOV3mfV9UyVbkayjlMGydYk2uu7aUxaMtv6 kI9VpBNp+bDzNvWZ9ZSlMVEBnTA6gzyMQQLqxMLTcaZrqBfHxBGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=Goh9/qSjMpWm1+Zif1MEn4comColTy6f7ZgBn6KgOKU=; b=bi/2RrgJ REud9stH5w72+BFHg5oflz8r5S5gjYERk5p4LFyRTPi/aOeRNGREuGRNLaR4JiBm Mif9qaFJErK99oK8WbrK4Uz8fImWH4xVt/amYJeb0bNOoMbsdBUS4Yllk17eNScA 5wzav9itCpDdrj7RmaiF0LDJAg1URjWrg+Ub5d9166RoTeh3efAwJFXzu2UaDQ3h aP1wYVwG/3rB9eos+4SOrIWH5/r0ycCqNVBJautxpj3z0PtrhfQbLmxpETXQvwHd D7jkwsxIM72NTQUKX6yGIAysZAnxyLxIRx2NfmxKz+Qjgey5ALfqYUzFE6FAXZlI T3A34T+rpHTfcg== X-ME-Sender: X-Sasl-enc: hAVZ31Q4Q+DaCd90pufLgfuDptrPI3l4ngw4s8apmaVX 1496069828 Received: from [192.168.1.2] (75-172-126-41.tukw.qwest.net [75.172.126.41]) by mail.messagingengine.com (Postfix) with ESMTPA id F0D862486E; Mon, 29 May 2017 10:57:07 -0400 (EDT) Subject: Re: Lost my tablespace To: tel medola Cc: pgsql-sql@postgresql.org References: <2a418dab-d17f-9d3a-0ac4-53678c1ce16f@aklaver.com> From: Adrian Klaver Message-ID: <97bd2743-46c3-32c4-7b3f-62def38aea65@aklaver.com> Date: Mon, 29 May 2017 07:57:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org 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