From Isabella.Ghiurea@nrc-cnrc.gc.ca Wed Jul 18 17:06:02 2018 Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffpuS-000609-KY for pgsql-admin@arkaria.postgresql.org; Wed, 18 Jul 2018 17:06:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffpuA-0007iD-T5 for pgsql-admin@arkaria.postgresql.org; Wed, 18 Jul 2018 17:06:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffpuA-0007i1-1B for pgsql-admin@lists.postgresql.org; Wed, 18 Jul 2018 17:06:22 +0000 Received: from mx.ssan.egs-seg.gc.ca ([205.193.229.132]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ffptu-0002IG-HX for pgsql-admin@postgresql.org; Wed, 18 Jul 2018 17:06:08 +0000 Received: from DC01ZWH0021.corp.nrc.gc.ca ([167.37.58.17]) by mx.ssan.egs-seg.gc.ca with ESMTP id w6IH62Gl028207-w6IH62Go028207 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=CAFAIL) for ; Wed, 18 Jul 2018 13:06:02 -0400 Received: from DC01ZWH0015.Corp.nrc.gc.ca (167.37.54.209) by DC01ZWH0021.Corp.nrc.gc.ca (167.37.58.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 18 Jul 2018 13:05:59 -0400 Received: from DC01ZWH0011.Corp.nrc.gc.ca (167.37.54.205) by DC01ZWH0015.Corp.nrc.gc.ca (167.37.54.209) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 18 Jul 2018 13:06:02 -0400 Received: from DC01ZWH0011.Corp.nrc.gc.ca ([167.37.54.205]) by DC01ZWH0011.Corp.nrc.gc.ca ([167.37.54.205]) with mapi id 15.00.1347.000; Wed, 18 Jul 2018 13:06:02 -0400 From: "Ghiurea, Isabella" To: "pgsql-admin@postgresql.org" Subject: find objects stored on a specific tablespace Thread-Topic: find objects stored on a specific tablespace Thread-Index: AQHUHrkhcqyceKxd1EC/3Yo86o1zOA== Date: Wed, 18 Jul 2018 17:06:02 +0000 Message-ID: <1531933561900.95684@nrc-cnrc.gc.ca> Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [167.37.48.8] Content-Type: multipart/alternative; boundary="_000_153193356190095684nrccnrcgcca_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_153193356190095684nrccnrcgcca_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Gurus I am looking to drop a user tablespace I need to find and confirm if the= re are any and which tables+indexers still using this tablespace, what p= g view and statement will give me this information? thank you Isabella --_000_153193356190095684nrccnrcgcca_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi Gurus

I am looking to drop  a  user tablespace  I need to find = and confirm if there are any and which  tables+indexers  stil= l using this  tablespace, what pg view and statement will gi= ve me this information?


thank you

Isabella

--_000_153193356190095684nrccnrcgcca_-- From david.g.johnston@gmail.com Wed Jul 18 17:10:21 2018 Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffpyW-0006DT-FS for pgsql-admin@arkaria.postgresql.org; Wed, 18 Jul 2018 17:10:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffpyU-0003se-9b for pgsql-admin@arkaria.postgresql.org; Wed, 18 Jul 2018 17:10:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffpy6-000209-Tr for pgsql-admin@lists.postgresql.org; Wed, 18 Jul 2018 17:10:27 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ffpy3-0002Kh-H0 for pgsql-admin@postgresql.org; Wed, 18 Jul 2018 17:10:24 +0000 Received: by mail-ed1-x544.google.com with SMTP id t2-v6so4857723edr.5 for ; Wed, 18 Jul 2018 10:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0yav5VvLPgPmI0x99XixruhXkvJoQ4fFaeOafk11OdU=; b=mtc4D/V0+5qvF+1H+rjbzQhAF9eH08EsKDOrbUyJTaKbFi1YLDU/WZTZD0jmtqlkMN /B9La2hFrVIFNI6JirmxQQSj9T6EiYWMTDCGpFNAyJOcBONyncc/2d1RpXj76+/q1rKn HuB7TBUYvVqS7CD3+bZQJuD366ZMTJfFg3lkSgbjsdqv/A8CMC+fqwaoh1qZu9fKUjDe W9T1Rqjy1Sjvd+vWVE2u0xh4Papv/nMwz58s2nvUpS7Kp7gD2Yn3c5fF5u3f21OwT9M4 WIRSPF3v2ZGZA2/L7CyQwCd+GMRN8AkxdF0rhluIie+3FrmTs0+vmPatRmqoTTNFTLE/ hrrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0yav5VvLPgPmI0x99XixruhXkvJoQ4fFaeOafk11OdU=; b=OHve6gKubWOxDQe339xw//GkK4CGtztdpy5NZZy/RghFmq9tN5v4s2UBCbNkg+IF9x 5yxwhTA0tZtn5kwa7utldSnvdBeWwTaUABJbMRq3FObzEV9odhNPTdBorPKgY8R+WNla 2uEclIsEZDAOaJ7JFXpPXVornDFH4UUb1vDYqofgCJu0i0GOTuDPh9kn5R/6fGJZx/kP nRs+Ut3GteIZwurMBRVekZic+abrSp2oeBgZMF4FBlUv2YI7zBbkVuos/DGcCckMgZgJ avYe7CpkXKEgYgPWWKM0WY3Iij1kDDr0b7RvmsxsUfG2fEfm7LTcirTFsiiU1Z4O7WaG gAKQ== X-Gm-Message-State: AOUpUlEfA/4W2Gzn0s6hTY8fRB5vKV7InuMoWkQ51EgtILcxMRv1jgP4 kLs/dq0gB3g8IOhIs0WuBUppVLcQZzGCMIuxUCY= X-Google-Smtp-Source: AAOMgpeg/+0d7Vxfvj1QdojWobhuV6k1j7e2Zv6vmFN3lUi5YuRqWGJ8eHLUqn1SpOO5YEDTlxGvMALnDGtjh3P660Q= X-Received: by 2002:a50:9010:: with SMTP id b16-v6mr7905457eda.110.1531933822135; Wed, 18 Jul 2018 10:10:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:fc8a:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 10:10:21 -0700 (PDT) In-Reply-To: <1531933561900.95684@nrc-cnrc.gc.ca> References: <1531933561900.95684@nrc-cnrc.gc.ca> From: "David G. Johnston" Date: Wed, 18 Jul 2018 10:10:21 -0700 Message-ID: Subject: Re: find objects stored on a specific tablespace To: "Ghiurea, Isabella" Cc: "pgsql-admin@postgresql.org" Content-Type: multipart/alternative; boundary="00000000000049b0fb05714923a8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000049b0fb05714923a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 18, 2018 at 10:06 AM, Ghiurea, Isabella < Isabella.Ghiurea@nrc-cnrc.gc.ca> wrote: > Hi Gurus > > I am looking to drop a user tablespace I need to find and confirm if > there are any and which tables+indexers still using this > tablespace, what pg view and statement will give me this information? > "pg_class.=E2=80=8B=E2=80=8Breltablespace" linking to "pg_tablespace" David J. --00000000000049b0fb05714923a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Ju= l 18, 2018 at 10:06 AM, Ghiurea, Isabella <Isabella.Ghiurea@nrc-cnrc.gc.ca>= wrote:

Hi Gurus

I am looking to drop =C2=A0a =C2=A0user tablespace=C2=A0 I need to find = and confirm if there are any and which=C2=A0 tables+indexers=C2=A0 still us= ing this=C2=A0 tablespace,=C2=A0what pg view and statement will=C2=A0give m= e this information?

"pg_class.=E2=80=8B=E2=80= =8Breltablespace" linking to "pg_tablespace"

David J.

--00000000000049b0fb05714923a8--