(feat) insert into mysql database every 1,000 items.