Sort (cost=434500.43..434500.44 rows=1 width=322) |
Sort Key: fns.nspname, fc.relname, a.attnum |
-> Nested Loop Left Join (cost=17.13..434500.42 rows=1 width=322) |
-> Nested Loop Left Join (cost=16.71..434499.98 rows=1 width=289) |
-> Nested Loop Left Join (cost=16.57..434499.82 rows=1 width=229) |
Join Filter: (fc.oid = ct.confrelid) |
-> Nested Loop (cost=16.57..431736.16 rows=1 width=161) |
Join Filter: (c.oid = a.attrelid) |
-> Nested Loop (cost=16.15..431735.70 rows=1 width=126) |
Join Filter: (c.relnamespace = ns.oid) |
-> Seq Scan on pg_namespace ns (cost=0.00..1.07 rows=1 width=4) |
Filter: (nspname = 'a57be577deb434'::name) |
-> Hash Join (cost=16.15..431734.49 rows=11 width=130) |
Hash Cond: (ct.conrelid = c.oid) |
-> ProjectSet (cost=0.00..123592.54 rows=24406000 width=123) |
-> Seq Scan on pg_constraint ct (cost=0.00..1379.50 rows=24406 width=118) |
Filter: (contype = 'f'::"char") |
-> Hash (cost=16.11..16.11 rows=3 width=8) |
-> Bitmap Heap Scan on pg_class c (cost=4.44..16.11 rows=3 width=8) |
Recheck Cond: (relname = 'tbl_users'::name) |
-> Bitmap Index Scan on pg_class_relname_nsp_index (cost=0.00..4.44 rows=3 width=0) |
Index Cond: (relname = 'tbl_users'::name) |
-> Index Scan using pg_attribute_relid_attnum_index on pg_attribute a (cost=0.42..0.44 rows=1 width=70) |
Index Cond: ((attrelid = ct.conrelid) AND (attnum = (ct.conkey)[(generate_subscripts(ct.conkey, 1))])) |
-> Seq Scan on pg_class fc (cost=0.00..2257.74 rows=40474 width=72) |
-> Index Scan using pg_namespace_oid_index on pg_namespace fns (cost=0.13..0.15 rows=1 width=68) |
Index Cond: (fc.relnamespace = oid) |
-> Index Scan using pg_attribute_relid_attnum_index on pg_attribute fa (cost=0.42..0.44 rows=1 width=70) |
Index Cond: ((attrelid = ct.confrelid) AND (attnum = (ct.confkey)[(generate_subscripts(ct.conkey, 1))])) |