Reputation: 51
I have a nightly batch load job (14.7 million records)into a mySQL table, we have been using the GCP cron, but it occasionally times out. Do you have any suggestions or best practice tips for this type of scheduled process? We are using the following sql statements:
Our time is greatly reduced if we use a truncate statement rather than a delete, however with truncate we cannot rollback if there is a problem with the load.
Upvotes: 0
Views: 271
Reputation: 75735
2 parts in your question:
Upvotes: 1