Fetch data from the raw database