//
開發(fā)高效的hive程序,hive優(yōu)化 - 博客搬家至 lxw1234.com - ITeye技術(shù)網(wǎng)站
http://superlxw1234.iteye.com/blog/1564456
ppt見附件。
? 分區(qū)裁剪、列裁剪
? 合理利用中間表,避免對一個表重復(fù)掃描
? 盡量避免笛卡爾積
? 合理使用 MapJoin
? 用 Join 代替 IN
? 合理使用 Union all
? 合理使用動態(tài)分區(qū)
? 數(shù)據(jù)傾斜