We are importing azure database from bacpac in blob and it takes 2 days with 100 %DTU. Sometimes I accept a quick but expensive restore (but want to pay additional costs only to restore time), how can I do it?
If I will change tier to higher level with 100 or 200 DTUs, will it speed up restore? Also what if I do it after starting of restore, will changes be applied or I have to do it initially while starting import?
After restore I will switch back to desired S2 tier. Another subquestion is what potential risk of downgrading database tier? At least I know about needs to disable geo-replication.
According to https://msdn.microsoft.com/en-us/library/azure/dn369872.aspx, it may takes hours to apply and normalize performance after upgrade and usually momentally after downgrade.
So ideal way it to start restore at maximal P6 tier, then downgrade to S2 and it must be momentally in most cases?
Particular case details:
Database size ~ 60 gb, bacpac ~ 5 gb, S2 Standard (50 DTUs). I saw 100% DTU percentage for whole restore time, and for last day import-export history stuck at "STATUS Running, Progress = 94.81 %" while database size increasing slowly from 30 to 60 Gb.
'select * from sys.dm_db_resource_stats' gives for example this
avg_cpu_percent=42.96
avg_data_io_percent=37.08
avg_log_write_percent=91.65
avg_memory_usage_percent=83.67