Improving Query Performance Through Application-Driven Processing And Retrieval