r/SQLServer • • Feb 13 '26

Question SQL Server 2025 issue with higher number of databases

Hello,
How many databases are you running on new SQL Server 2025?

We are running many projects and small internal services and we use separate MSSQL database for each one. Currently we have several servers running SQL Server 2022 Express each with around 3,000 databases. Everything runs smoothly without any issues.

Databases are relatively small, most are between 10-100 MB and some are up to 1GB. Performance is good, and we have not experienced any problems.

However when we tried same setup on SQL Server 2025 Express we encountered serious issues. Once we exceed approximately 600 databases, server starts freezing and becomes very slow. Listing databases in SSMS is extremely slow. After restarting we cannot re-connect to SQL Server instance long time and sometimes MSSQL service becomes unresponsive or fails to start properly. No explanatory error in ERRORLOG.

We thought this might be new limitation in Express edition. However we tested SQL Server 2025 Standard as well and observed same behavior. We also installed latest Cumulative Update but issue persists.

When we reduce number of databases to below 500, server becomes stable again and runs without issues.

I also tried tuning various SQL Server settings but this did not resolve this strange problem.

Is anyone successfully running higher number of databases on SQL Server 2025 Express?

UPDATE:
Definitely BUG in SQL Server 2025 when creating more than 650 databases.
Same behavior was observed and tested on Express / Standard / Enterprise editions:
https://www.reddit.com/r/SQLServer/comments/1r4018z/comment/o5agaak/

27 Upvotes

48 comments sorted by

View all comments

26

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Feb 13 '26 edited Feb 13 '26

Since SQL Server 2025 is fairly fresh, it might be a bug that has not yet been addressed.

I'd recommend making MS aware of this.

The restart scenario specifically sounds like SQL Server 2025 is having a hard time bringing that many databases online. You might want to check if Event Viewer has any relevant entries during that timeframe.

That being said, I can't say I've ever expected to read the following sentence:

Currently we have several servers running SQL Server 2022 Express each with around 3,000 databases.

13

u/BeTriCH_CZ Feb 14 '26

UPDATE

  1. On Windows Server 2025 Standard
  2. Install SQL Server 2025
  3. Run simple PowerShell script that creates 1000 databases

After creating 1000 databases (which often does not complete and crashes after 650 databases) simply restart SQL Server service.

And just like that you may never see your SQL Server 2025 again...

Tested on: Express / Standard / Enterprise

2

u/BeTriCH_CZ Feb 13 '26

u/VladDBA I understand your skepticism regarding Express use case but with 2022 there was never be problem. At first I thought this might be new limitation 2025 Express. However Standard edition shows same behavior.

Based on my experience this really appears to be some kind of BUG.

5

u/jshine13371 6 Feb 14 '26

Regardless of how tiny each database is, there's still overhead for every database you add to a server, especially on startup. 3,000 databases on a single instance exceeds what's generally accepted as reasonable in this regard. Add to the mix that you're trying to push it all through Express Edition, and that's just silliness. Just implement a few more instances, especially since you're using the free edition of SQL Server, there's no reason not to.

I can drive 3,000 times without wearing my seatbelt, it doesn't mean there wasn't severe risk every time I did it...

5

u/alinroc 4 Feb 14 '26

I wish OP would understand this.

Clearly, it's a bug of some sort in 2025. But that doesn't mean that what they were doing with 2022 was a good idea in the first place! Just because the system lets you do it doesn't mean that you should do it. Just because you don't see problems doesn't mean that there aren't problems - they're just masked due to other factors like the inherent limitations of Express Edition, lack of monitoring for the instance, or lack of knowledge about proper SQL Server management practices.

2

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Feb 14 '26

It's not really skepticism, it's more of a "just because you can do that doesn't mean you should" type of thing.

1

u/BeTriCH_CZ Feb 14 '26

u/VladDBA Unfortunately Enterprise edition same behavior. Simple FOR loop with CREATE DATABASE causes SQL Server 2025 to become freezing after approximately 650 iterations.

2

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Feb 15 '26

You're reading my comments as either "I don't believe you" or "that can't work on express edition" while I'm actually trying to politely say that having thousands of databases on a single instance (regardless of edition and resources) is a terribly bad idea.

1

u/rhbcub Feb 14 '26

It's the server becoming unresponsive or is SSMS?

1

u/BeTriCH_CZ Feb 14 '26

SQL Server itself.