1.Q&A:外部数据库-Connections could not beacquired from the underlyingdatabase!

Connections could not beacquired from the underlyingdatabase!

在使用计划任务往第三方数据库中插入数据时
报错信息:  Connections could not beacquired from the underlyingdatabase! Connections could not beacquired from the underlyingdatabase! A ResourcePool could notacquire a resource from its prinaryfactory or source.Could not createconnection to database server.Attempted reconnect3 times. Givingup. Communications link failureThelast packet sentsuccessfully to theserver was 0 milliseconds ago. Thedriver has not received any packetsfrom the server.Connection refused:connect]  
报错原因:
上次没更新完就进行第二次拉取更新了,导致数据库死锁
解决方案:
sqlserver数据库优化:SqlServer使用优化
加上快照隔离一起使用解决
2026-02-27
0 0