Hive Optimization Part 1