Teradate查看表在每个AMP的分布的情况
查看表在每个AMP记录数分布的情况
SQL如下:
select hashamp(hashbucket(hashrow(ID1))) as amp_num ,count(1) as row_count from sdb.test20201027 group by 1;
其中sdb.test20201027为表名,ID1为主索引。
查看表在每个AMP空间占用情况:
select * from dbc.TableSize where databasename = 'sdb' and tablename = 'test20201027' order by vproc ;

浙公网安备 33010602011771号