stores 1000 records into sqlite database