Increase logging
Add pagination so that we do not put the whole DB into memory
Set the limit only after we counted the total number of records
Log the pagination
datanommer.models returns directly a datetime object, no need to re-convert it