more efficient DB polling