How the SQL Server Distribution Agent will resolve when bulk inserts occur indefinitely

Source: Internet
Author: User
Tags bulk insert

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.