consolidate and correct db activity in getdata