High Performance Query Processing and Optimization on Parallel Machine