Switching from Local SQL to Azure SQL Database on Azure VM - Lower performance -
currently hosting online application on azure vm. pretty standard umbraco website around 300 visitors per day, nothing special here.
details of azure vm: - basic a3 - 4 cores - 7 gb memory
in current situation mssql installed on vm , working fine, not great expert in maintenance. solution found migrating sql database sql azure.
looking @ current website decided , migrated database sql azure: - s3 standard - 100 dtu - 250gb
after migration switched connection string connection string provided in azure portal. when reloaded website loading time 3 times slower.
for switched local sql database, wondering if normal situation local sql faster sql azure in case.
i hope can answer question, please let me know if more information required answer question.
best regards, martijn
edit issue resolved! found out sql azure server created located in different region azure vm. after created new sql azure server in same region performance issues fixed.
good hear perf issues fixed. in general, comparing performance of local database versus paas database not apples-to-apples comparison number of reasons:
- azure sql database highly available service (99.99%) requires synchronous commits secondary database. local database typically not configured high availability.
- azure sql database provides automatic backup. depending on setup, local database might may or may not configured backup.
- the affect of network latency on local database not exist
- the memory , cpu between of s3 azure sql database , a3 vm not same
Comments
Post a Comment