There is a database we use for archiving old data which I want to be 'serverless' so that it only fires up when we make a query.
I changed the size from standard to serverless without issues. I have not connected to this DB since making the change.
However it doesn't pause despite setting the auto-pause to 1 hour.
Looking in Query Performance Insight, I can see there is a query which regularly polls the DB for size information... every hour at least.
(@type int)SELECT file_id, name, size AS size_8KB, max_size AS max_size_8KB, ISNULL(FILEPROPERTY(name, 'SpaceUsed'), size) AS space_used_8KB FROM sys.database_files WHERE type = u/type ORDER BY size DESC
If Azure SQL Serverless thinks the DB is in use because Azure services are polling the DB several times an hour to get information, it'll never auto pause?
Am I doing something wrong?