Reputation: 936
We have recently implemented the CDC in SQL Server 2008. The execution was fine till the last week. But day before yesterday, we got an out of memory issue from the server. It says that the temp files created from CDC made the server hard disk full. Do we have a solution for this. The temp files are being removed as soon as the CDC finish, but since this creates huge temp files, the OUT or Memory issue arises.
Is it possible to optimize the CDC package so that it will consume less memory for huge updates.
Upvotes: 0
Views: 226
Reputation: 61221
Your package is using more memory than the server can allocate. When this happens, it creates temporary files on disk to cope with memory situation. By default, this is going to write to the BufferTempStoragePath
value in your Data Flow Task. If you have not provided this value, then those files will be defaulted to the OS's temporary file location. This is typically the C: which when you fill can cause instability. That's bad (tm)
When this occurs, you have 4 options to you.
Reference on buffer location What is the actual use of buffer temp and blob temp in ssis
Upvotes: 2