Azure SQL Managed Instance GP tier: Max Storage Size limitation + IO Latency

After completing migration from SQL Server from Azure VM to Azure SQL managed instance, I am faced with high IO latency issues with a few of our larger databases (400 GB, 300 GB etc.)

In the current production environment (SQL Server from Azure VM)

Current stats in SQL VM

DiskRead Bytes/Sec – 9 MB
Disk Write Bytes/Sec- 7 MB
Read and Write latencies: 4 – 6 ms

Azure SQL managed instance

Currently with “General-Purpose” tier with 8 cores you get 8 TB max storage space limit. Because the size of the database and transactional log files for a larger database directly impacts the IOPS and throughput, we would generally end up having bigger size files like 1 TB files (multiple database files and one log file) for both database and log files. This gives me IO Latencies starting from 7 to 250 ms. on the database files and 3 ms on the transactional log files.

Questions,

The DB has 3 files each of 1 TB and 1 log file of 1 TB while the actual size of the database is less than 500 GB.

  1. Why am not getting the desired IO numbers? Any thoughts?

  2. I already ended up using all 8 TB storage space on the managed instance (Multiple databases).
    I know that our databases will not outgrow 8 TB allocated space in the next 2 years. (We delete the old data by switching the partitions). Is it safe to assume that the IO latency will not worsen over a period of time and force us to go to the next configuration (16 cores 16 TB storage space)? If this happens our costs will just double immediately which is a huge concern of course. Any thoughts on this?

  3. Any thoughts on using “Next-gen General Purpose (preview)” service tier?
    It says Preview but the Azure documentation,

“https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/service-tiers-next-gen-general-purpose-use?view=azuresql&WT.mc_id=Portal-SqlAzureExtension”

does not seem to give a warning or anything as such. Can this be used for a production environment? Because it seems like “Next-gen General Purpose (preview)” is supposedly much better designed and should support a far better IO on storage space since this tier uses disks instead of blobs. The CPU cores, Storage space and IOPS can be configured on as per our need without having to go for a high-cost next tier with this option. Can anyone please confirm?

  1. If I move some databases to another instance say mi-2. Can I fail over mi-2 to “mi-sec”? While “mi-sec” is already configured as a failover group for “mi-primary”? This way I can have two smaller size mi instances configured to fail over to a single large instance. Just wondering if the vNet peering becomes an impediment. Is this allowed?

Things I tried,

  1. Looked at Query store for
    Regressed Queries – none found
    Query Wait Statistics/Top Resource Consuming Queries – Found issues (Indices, type conversion issues, out of date Statistics) have been addressed.

  2. Ran Azure Diagnostics tool and took care of storage space throttling complaint by resizing the file size as recommended.

  3. Tried a few variations in resizing the database files after verifying the results from “dm_io_virtual_file_stats”

Allocated space vs unused space ratio is high (meaning there is a much higher space which is unused for each database file).

Expectation

With these things in place, still the IO latency is high varying from 7 ms to 250 ms whereas I am expecting the IO latency to be within 0 – 10 ms.

Thanks for your time and help
SB

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật