Investigating  and Preventing  Performance  issues in Greenplum