Re: sql to show tablespace for indexes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Sep 11, 2009 at 9:29 AM, Kevin Kempter <kevink@xxxxxxxxxxxxxxxxxxx> wrote:
Hi all;

How / where can I find which tablespace the indexes live in?



you can find which tablespace the indexes live in, by using below sql command:-

postgres=# select c.relname,t.spcname from pg_class c,pg_tablespace t where relkind='i' and c.reltablespace=t.oid ;


Regards
Raghu Ram

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux