SQL Server Extract Hang- SQLSTATE 08S01 native database error 104
(Doc ID 2872571.1)
Last updated on JULY 18, 2023
Applies to:
Oracle GoldenGate - Version 21.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
After upgrading the OGG SQL Server extract from 19.3 to 21.4.0.0.0 extract processes hung and will not abend.
The report file shows
2022-03-29 20:01:22 ERROR OGG-00551 Database operation failed: Execute
direct. ODBC error: SQLSTATE 08S01 native database error 104.
[Microsoft][ODBC Driver 17 for SQL Server]Communication link failure.
Source Context :
SourceModule : [gglib.ggdbsql.driver.odbc]
SourceID : [ggdbsql/odbc/ODBCDriver.cpp]
SourceMethod : [ExecuteDirect]
SourceLine : [1975]
ThreadBacktrace : [13] elements
:
[<OGG_HOME>/libgglog.so(CMessageContext::AddThreadContext())]
:
[<OGG_HOME>/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))]
:
[<OGG_HOME>/libgglog.so(_MSG_String_String_String_Int32(CSourceContext*, int, char const*, char const*, char
const*, int, CMessageFactory::MessageDisposition))]
:
[<OGG_HOME>/extract(ggs::gglib::ggdbsql::CODBCDriverImpl::CreateMessage(CSourceContext const&, char const*,
ggs::gglib::ggdbsql::CSQLError const&))]
:
[<OGG_HOME>/extract(ggs::gglib::ggdbsql::CODBCDriverImpl::CreateSQLException(CSourceContext const&, long, char
const*, void*, void*) const)]
:
[<OGG_HOME>/extract(ggs::gglib::ggdbsql::CODBCResult::CreateSQLException(CSourceContext const&, long, char
const*) const)]
:
[<OGG_HOME>/extract(ggs::gglib::ggdbsql::CODBCResult::ExecuteDirect(unsigned int))]
:
[<OGG_HOME>/extract(mssqlcdcvam::MSSqlCDCCleanupMgr::UpdateCheckpointTable())]
:
[<OGG_HOME>/extract(mssqlcdcvam::MSSqlCDCCleanupMgr::Run())]
:
[<OGG_HOME>/extract(mssqlcdcvam::MSSqlCDCCleanupMgr::CleanupThread(void*))]
:
[<OGG_HOME>/extract(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs
*))]
: [/lib64/libpthread.so.0()]
: [/lib64/libc.so.6(clone)]
2022-03-29 20:01:22 ERROR OGG-00551 Database operation failed: Execute
direct. ODBC error: SQLSTATE 08S01 native database error 104.
[Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x68.
The extract will show as running but "Time Since Chkpt" will gradually
increase. The stop extract will not work and we need to get the extract killed and on
restart it will move forward.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |