Valkyrie
Valkyrie

Reputation: 189

Cloud SQL export table to CLoud storage

I need to export a couple of tables from cloudsql to cloud storage . I'm using the SQLAdmin APIs to do the same. I'm following the guide to automate export data from a cloud SQL tables to cloud storage. The table has approximately 5-6 million rows and this needs to be exported to cloud storage bucket daily.

Given that cloud functions have a limit on runtime, Would it be a problem if the export takes longer than 15 mins. Please correct me if I'm not understanding this right.

Upvotes: 0

Views: 243

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317427

Would it be a problem if the export takes longer than 15 mins.

Yes, it would be a problem. Cloud Functions will forcibly terminate any code that runs past the configured timeout, which means it will not complete. The max configurable timeout is 9 minutes.

Upvotes: 1

Related Questions