If this is an incremental update case, you can simply activate the insertion of new data via cron / scheduling.
Download XYZ records every minute, see if the previous update has finished, create a lock file, insert delay, rinse and repeat.
If you want to get real information about this, update the script, check the server load at runtime and adjust the import quantity accordingly.
, .