notify every 1000 rows