Menu

TIPS

Koichi Suzuki
There is a newer version of this page. You can find it here.

= Show Table Distribution and Replication

The following statement shows each table's distribution/replication status.

 SELECT pg_class.relname, pgxc_class.pclocatortype,pgxc_class.pcattnum FROM
        pg_class, pgxc_class WHERE pg_class.oid = pgxc_class.pcrelid;

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.