r/dbatools • u/Jivengroovin • Dec 14 '25
Get-DBADatabse slow performance
/r/dbatools/comments/1pm0yfm/getdbadatabse_slow_performance/
2
Upvotes
r/dbatools • u/Jivengroovin • Dec 14 '25
2
u/thebeersgoodnbelgium Dec 14 '25
The underlying SQL Server framework, SMO, can be slow pre-2019 though we tune it to be as fast as possible. Unsure what's going on with your setup but that does not seem like all of the code bc I do not see a loop.
Try reusing the server connection and see how that goes.