Query Processing and Concurrency control