yso 发表于 2015-07-28 20:17

求助:gp的pg_attribute表,当删除表后不会清除数据的?

   求助各位大神,GP的pg_attribute表,在删除表以后,pg_attribute表的记录不会被物理删除,只是做了删除标记的?我看了explain analyze select a.relname, b.attname from pg_class a, pg_attribute b where a.oid =b.attrelid and a.relname ='dr_XXXX' and b.attnum > 0 order by b.attnum的执行计划,当我删除了其它表,发现这个执行计划显示的数据还是一样的,在执行计划中,我看到扫描pg_attribute表的rows到了51亿行了。
页: [1]
查看完整版本: 求助:gp的pg_attribute表,当删除表后不会清除数据的?