logical query plan optimization figures