我正在努力在Azure SQL数据仓库上自动执行一些性能测试。我一直在使用Azure门户扩展/缩小数据库。我在https://msdn.microsoft.com/en-us/library/mt204042.aspx中读到可以通过
使用T-SQL来实现这一点ALTER DATABASE ...
在我第一次尝试使用T-SQL时,尝试失败了:
RunScript:INFO: Mon Feb 6 20:11:06 UTC 2017 : Connecting to host "logicalserver.database.windows.net" database "master" as "myuser"
RunScript:INFO: stdout from sqlcmd will follow...
ALTER DATABASE my_db MODIFY ( SERVICE_OBJECTIVE = 'DW1000' ) ;
Msg 49918, Level 16, State 1, Server logicalserver, Line 1
Cannot process request. Not enough resources to process request. Please retry you request later.
RunScript:INFO: Mon Feb 6 20:11:17 UTC 2017 : Return Code = "1" from host "logicalserver.database.windows.net" database "master" as "myuser"
RunScript:INFO: stdout from sqlcmd has ended ^.
我立即前往Azure门户网站,请求扩展,并且工作正常(需要10分钟才能完成)。
有没有解释?