他的回复:
简单总结:查看【Skew倾斜率】:select schemaname,tablename, (100-100*avg(dnsize)/nullif(max(dnsize),0))::numeric(5,2) "New_Skew(%)" ,max(dnsize)*count(1)-sum(dnsize) "WastedPerm(B)" from table_distribution('schema名称','表名称') a group by 1,2 order by 3 desc;希望【重新选择分布列】:select * from table_skewness('表名称','相关字段名');