I'm not sure if we have an Azure expert on here but here goes...
I have an Azure Function, just runs a stored proc that doesnt return any data, see below. It uses a cron timer to schedule the job to run at a set time each day.
The proc just does an update and the function is pretty simple.
It's now taking 6 mins to run. Running the proc from SSMS it takes a few seconds with the exact same parameters. Nothing else is going on with the database server.
Any ideas or approaches?
I have an Azure Function, just runs a stored proc that doesnt return any data, see below. It uses a cron timer to schedule the job to run at a set time each day.
The proc just does an update and the function is pretty simple.
Code:
var result = cmd.ExecuteNonQuery();
Any ideas or approaches?
Comment