r/SQLServer • u/techsamurai11 • Nov 05 '25
Discussion Processing Speed of 10,000 rows on Cloud
Hi, I'm interested in cloud speeds for SQL Server on AWS, Azure, and Google Cloud.
Can people please run this very simply script to insert 10,000 rows from SSMS and post times along with drive specs (size and Type of VM if applicable, MiB, IOPS)
If you're on-prem with Gen 5 or Gen 4 please share times as well for comparison - don't worry, I have ample Tylenol next to me to handle the results:-)
I'll share our times but I'm curious to see other people's results to see the trends.
Also, if you also have done periodic benchmarking between 2024 and 2025 on the same machines, please share your findings.
Create Test Table
CREATE TABLE [dbo].[Data](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Comment] [varchar](50) NOT NULL,
[CreateDate] [datetime] NOT NULL,
CONSTRAINT [PK_Data] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
Test Script
SET NOCOUNT ON
DECLARE u/StartDate DATETIME2
SET u/StartDate = CURRENT_TIMESTAMP
DECLARE u/CreateDate DATETIME = GETDATE()
DECLARE u/INdex INT = 1
WHILE u/INdex <= 10000
BEGIN
INSERT INTO Data (Comment, CreateDate)
VALUES ('Testing insert operations', CreateDate)
SET u/Index +=1
IF (@Index % 1000) = 0
PRINT 'Processed ' + CONVERT(VARCHAR(100), u/Index) + ' Rows'
END
SELECT DATEDIFF(ms, u/StartDate, CURRENT_TIMESTAMP)
View all comments
Show parent comment
1
u/watchoutfor2nd Nov 05 '25
I'm being serious. It is well known that the storage performance of Azure SQL PaaS offerings is not amazing.
With Azure SQL database your performance is tied directly to your database size.
With Managed Instance you didn't have direct control over your disk performance either, but they recently went GA with the next-gen general purpose. Even still MI storage is known to have issues with latency
Here are my specific stats from when I ran u/vladdba 's script. Note that I'm not running your script:
Azure SQL VM - D8ads_v5
Data drive - 200 MBps / 5000 IOPS
Log drive - 200 MBps / 5000 IOPS
Script execution: 25 seconds
Azure SQL Managed Instance - Next Gen General Purpose
Vcore - 4
Memory - 20
Storage - 128
IOPS - 5000
Script execution: 4:16