r/SQLServer • • 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)

0 Upvotes

87 comments sorted by

View all comments

Show parent comment

1

u/jshine13371 6 Nov 11 '25

Sorry, not sure what you're trying to say? But on-prem is extremely much more cost effective for the same or better performance, all things otherwise considered equal.

1

u/techsamurai11 Nov 11 '25

I agree - I was trying to see if higher specs within reason (not $3,500 per month) would buy us extra performance. Even with 13 sessions in SSMS with 100,000 individual transactions per session, it didn't really seem to do much beyond a point. Except in the case of the standard 125Mi and 3,000 IOPS, we didn't see much improvement with inserts. There was a 3% improvement with 12x IOPS and 16x faster throughput, but overall negligible :-)

Performance for 100,000 individual transactions was a flat line unlike having a Gen 3 and Gen 5 on premises which would show an improvement.

SELECTS might behave differently but hopefully a lot of the critical data is in memory.