Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How can I resolve this "A time-out occurred while waiting for buffer latch" problem in SQL Server 2012 Express?

$
0
0

Hi,

I'm running Windows 7 Pro, 64-bit, 8 Gb installed memory.

I've installed SQLEXPRADV_x64_ENU.exe (its rollover displays "SQL Server 2012 Service Pack 1 Express Advanced SP1").

I've designed a voter information database for a non-profit, and am loading (1) several million voter information records and (2) several million voter history records into it.

I'm using SSIS (Visual Studio 2008) to validate, transform and load the data. I didn't see this error-message at all when loading the voter information records from the single 600Kb flat-file.

But now, looping through the 351 flat-files to load the voter history records for the State's cities and towns, the package may process a few files, or up to 20 at a pop, before failing. I've been executing the packages interactively.  This is the text from the Output window from the last run:

SSIS package "SSEXPR(JH)_LoadVoterHistoryTable.dtsx" starting.

Information: 0x4004300A at LoadVoterHistory, SSIS.Pipeline: Validation phase is beginning.

Information: 0x4004300A at LoadVoterHistory, SSIS.Pipeline: Validation phase is beginning.

Information: 0x40043006 at LoadVoterHistory, SSIS.Pipeline: Prepare for Execute phase is beginning.

Information: 0x40043007 at LoadVoterHistory, SSIS.Pipeline: Pre-Execute phase is beginning.

Information: 0x402090DC at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\091_voter_act.txt" has started.

Information: 0x402090DC at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has started.

Information: 0x4004300C at LoadVoterHistory, SSIS.Pipeline: Execute phase is beginning.

Information: 0x402090DE at LoadVoterHistory, VoterHistoryFile [1]: The total number of data rows processed for file "C:\VoterDB_Project\DataFiles\VoterActivity\091_voter_act.txt" is 14734.

Information: 0x40043008 at LoadVoterHistory, SSIS.Pipeline: Post Execute phase is beginning.

Information: 0x402090DD at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\091_voter_act.txt" has ended.

Information: 0x402090DD at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has ended.

Information: 0x4004300B at LoadVoterHistory, SSIS.Pipeline: "component "Flat File Destination" (274)" wrote 2193 rows.

Information: 0x40043009 at LoadVoterHistory, SSIS.Pipeline: Cleanup phase is beginning.

Information: 0x4004300A at LoadVoterHistory, SSIS.Pipeline: Validation phase is beginning.

Information: 0x40043006 at LoadVoterHistory, SSIS.Pipeline: Prepare for Execute phase is beginning.

Information: 0x40043007 at LoadVoterHistory, SSIS.Pipeline: Pre-Execute phase is beginning.

Information: 0x402090DC at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\092_voter_act.txt" has started.

Information: 0x402090DC at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has started.

Information: 0x4004300C at LoadVoterHistory, SSIS.Pipeline: Execute phase is beginning.

Information: 0x402090DE at LoadVoterHistory, VoterHistoryFile [1]: The total number of data rows processed for file "C:\VoterDB_Project\DataFiles\VoterActivity\092_voter_act.txt" is 35458.

Information: 0x40043008 at LoadVoterHistory, SSIS.Pipeline: Post Execute phase is beginning.

Information: 0x402090DD at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\092_voter_act.txt" has ended.

Information: 0x402090DD at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has ended.

Information: 0x4004300B at LoadVoterHistory, SSIS.Pipeline: "component "Flat File Destination" (274)" wrote 4685 rows.

Information: 0x40043009 at LoadVoterHistory, SSIS.Pipeline: Cleanup phase is beginning.

Information: 0x4004300A at LoadVoterHistory, SSIS.Pipeline: Validation phase is beginning.

Information: 0x40043006 at LoadVoterHistory, SSIS.Pipeline: Prepare for Execute phase is beginning.

Information: 0x40043007 at LoadVoterHistory, SSIS.Pipeline: Pre-Execute phase is beginning.

Information: 0x402090DC at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\093_voter_act.txt" has started.

Information: 0x402090DC at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has started.

Information: 0x4004300C at LoadVoterHistory, SSIS.Pipeline: Execute phase is beginning.

Error: 0xC0202009 at LoadVoterHistory, OLE DB Command [240]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.

An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E14 Description: "Time-out occurred while waiting for buffer latch type 2 for page (1:103072), database ID 7.".

Error: 0xC0209029 at LoadVoterHistory, OLE DB Command [240]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Command Input" (245)" failed because error code 0xC020906E occurred, and the error row disposition on "input "OLE DB Command Input" (245)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

Error: 0xC0047022 at LoadVoterHistory, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Command" (240) failed with error code 0xC0209029 while processing input "OLE DB Command Input" (245). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

Error: 0xC02020C4 at LoadVoterHistory, VoterHistoryFile [1]: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

Error: 0xC0047038 at LoadVoterHistory, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "VoterHistoryFile" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.

Information: 0x40043008 at LoadVoterHistory, SSIS.Pipeline: Post Execute phase is beginning.

Information: 0x402090DD at LoadVoterHistory, VoterHistoryFile [1]: The processing of file "C:\VoterDB_Project\DataFiles\VoterActivity\093_voter_act.txt" has ended.

Information: 0x402090DD at LoadVoterHistory, Flat File Destination [274]: The processing of file "C:\VoterDB_Project\ErrorFiles\ErrorFile_ForLoadVoterActivityRecords.txt" has ended.

Information: 0x4004300B at LoadVoterHistory, SSIS.Pipeline: "component "Flat File Destination" (274)" wrote 38782 rows.

Information: 0x40043009 at LoadVoterHistory, SSIS.Pipeline: Cleanup phase is beginning.

Task failed: LoadVoterHistory

SSIS package "SSEXPR(JH)_LoadVoterHistoryTable.dtsx" finished: Failure.

(I tried to paste-in images of the Control Flow and Data Flow tabs but it wasn't allowed.)

On the Control Flow, I simply have one Foreach Loop Container that runs the Load Voter History Data Flow Task, renames the Error-File, and gets the next Voter History file.

I had SQL Server 2008R2 and SQL Server 2012 Express both installed.  The best I could determine was that the fix was to install SQL Server Express 2012 SP1.

I know the Service Packs are Cumulative, and in general you shouldn't have to uninstall and reinstall, but since I couldn't find that stated explicitly anywhere (at the time), and I wanted to wipe the slate clean, I uninstalled them and have only thus far installed the SQLEXPRADV_x64_ENU.exe.

Any suggestions for resolving this will be appreciated. Another KB article suggested you might "increase the number of data files for the Tempdb database to maximize disk bandwidth.

Thanks, John


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>