make db queries for opr approximately 150x faster