Scene:
Server 64 bits, SQL Server 2008r2sp1,32g memory, 16 Cpu,sql server allocates approximately 29G of memory.
Publish a small table, the Distribution Agent stopped in the bulk copy to table XXX, the table has only dozens of rows of data, the total amount of up to hundreds of K
Query subscriber distribution process, show BULK insert suspend state, wait type: Resource_semaphore
Related information as shown:
The memory request information related to this session is as follows: You can see that the process is requesting more than 5G of memory, which is why?
The memory information is as follows:
Even if DBCC FREEPROCCACHE does not work, freeing up memory, releasing empty tables is no problem because you don't have to bulk insert
The restart service problem can be resolved.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/SQLServer/