摘要: 1、hive建表 hive是支持分区的,但是这次建表没有写分区。 2、opt文件 3、执行opt文件 sqoop --options-file 目录.opt 阅读全文
posted @ 2016-08-09 15:20 木子小僧 阅读(2484) 评论(0) 推荐(0) 编辑
摘要: 1、统计每张表的数据量SELECT *FROM ( select TABLE_NAME, concat( round( sum(DATA_LENGTH / 1024 / 1024 ), 7 ) ) as size from information_schema. tables where table 阅读全文
posted @ 2016-08-09 09:58 木子小僧 阅读(5395) 评论(0) 推荐(0) 编辑