HiveMetastore
HiveMetastore 背后的存储[*]select * from DBS;
https://img-blog.csdnimg.cn/direct/8eabd48f9963422eac76ced321bac496.png
[*]select * from TBLS;
https://img-blog.csdnimg.cn/direct/3383b5cd157447b1a15aae0475b03fbf.png
select * from TABLE_PARAMS;
https://img-blog.csdnimg.cn/direct/77b29b1a3130468aa98cb332ca6d09b1.png
[*]查找出没有 totalSize stats 的table
SELECT DBS.NAME,t.TBL_NAME from DBS inner join (select DB_ID,TBL_NAME from TBLS where TBLS.TBL_ID not in(select TBL_ID from TABLE_PARAMSwhere PARAM_KEY = 'totalSize')) t on DBS.DB_ID=t.DB_ID;
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]