hive通過元數據查詢表數據量

orc存儲的表默認保存文件數和文件大小,textfile存儲的保存數據條數

 select * from TBLS where TBL_NAME='tablename';

 select * from TABLE_PARAMS where TBL_ID='111';

 select * from PARTITIONS where tbl_id=111;

select * from PARTITION_PARAMS where part_id=222;

發佈了35 篇原創文章 · 獲贊 0 · 訪問量 1906
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章