6. What do you get?
Hyper-V VM with TIER and SIZE
Multi-tenant configuration
Windows Server and SQL Server installed
3 disks
OS
Temporary
Data disk
7. Tip #1 –VM Size
Start from Standard A2
2CPUs and 3,5GB Memory
Basic Tier use different hardware
For intensive workloads –A8 and A9 Standard
Utilize the Standard D_XX VMs
Non-persistent data
BPE
8. Tip #2 –Storage account settings
Keep it close to the VM
Disable GEO replication
9. Tip #3 –Disks and Storage caching
Disable caching on data disks
Changing cache settings require VM restart
Disktype
ReadOnly
ReadWrite
None(disabled)
Operatingsystemdisk
Supported
Defaultmode
Notsupported
Datadisk
Supported
Supported
Defaultmode
11. Disk striping vs Storage Pools
Dynamic volume on OS level
No Protection
Multiple volumes
Storage Pools
You can use RAID protection
Multiple volumes on the same pool
14. Tip #5 –Single vs. Multiple storage accounts
Avoid mixing up
Recovery is more difficult with mixed accounts
Be careful with limits!
500TB per account
15. Tip #6 –NTFS Allocation size
Default = 4 KB
Recommended = 64 KB
Test with 256 KB cluster size
16. Tip #7 –Instant file initialization
Part of the local security policy
17. Performance impact of IFI
0
10
20
30
40
50
60
Create 100 GB database
Restore 100 GB database
Time (minutes)
Impact of Instant File Initialization
Without Instant File Initialization
With Instant File Initialization
19. 400000
500000
600000
700000
800000
900000
1000000
100000
150000
200000
250000
NONE
PAGE
Reads
Time (ms)
Query Performance with Data Compression
CPU Time
Elapsed Time
Logical Reads
Physical Reads (+RA)
20. 0
10
20
30
40
50
60
70
NONE
PAGE
CPU Time (%), Throughput (Business Transactions/sec)
OLTP Throughput and CPU Usage with Data Compression
Throughput
CPU Time (%)
22. Tip #10 –Growing and shrinking
Disable autoshrink
Limit or disable autogrowth
23. What I did not mention
Adaptive partitioning and load balancing
Backups to Azure BLOB storage
-NumberOfColumnsand –Interleave when adding disk to Storage Pools
Preconfigured and optimized VMs
DWH
OLTP