要查看所有hive表和數據量,可以使用以下命令:
show tables;
select count(*) from table_name;
你也可以使用以下命令來查看所有表的數據量:
show table extended like '*';
這將顯示所有表的詳細信息,包括表的數據量。