Solution i ended up using was the retry option in the lookup activity, along with specifying the seconds between each retry.
prevent timeout when connecting to paused azure sql database serverless
I have a linked service to an azure sql database on serverless.
The sql database auto pauses when not in use for a period of time.
The first connection to the database always fails, as the un-pause takes a number of minutes.
I added a connection property "connection timeout" with a value of 100000, but it still fails after about 30 seconds.
How can i ensure the connection to the paused azure sql database does not timeout while the database is un-pausing?
Azure SQL Database
Azure Data Factory
2 answers
Sort by: Most helpful
-
-
Pratik Somaiya 4,211 Reputation points Volunteer Moderator
2022-05-26T13:18:24.023+00:00 Hello @na
Instead of adding connection timeout property, I would recommend you to use Wait activity before the activity where you access synapse, this way your pipeline will trigger at your scheduled time but will wait for x number of time until Synapse is resumed