SQL Server上的更改数据捕获(CDC)作业失败

时间:2019-05-10 10:45:49

标签: sql-server change-data-capture

我在CDC捕获作业中遇到错误

select * from sys.dm_cdc_errors 显示3个错误


  

日志扫描过程无法处理日志记录。参考上一个   当前会话中的错误,以确定原因并更正   相关问题。

     

日志扫描过程无法处理ddl日志记录。参考   当前会话中的先前错误以查明原因并   纠正所有相关问题。

     

从字符转换日期和/或时间时转换失败   字符串。


当我查找日志时,得到以下信息:

Select * FROM sys.fn_dblog(NULL,NULL) where [Current LSN]='00052CF8:0000B26D:0001'

Current LSN   00052cf8:0000b26d:0001
Operation LOP_BEGIN_XACT
Context   LCX_NULL
Transaction ID    0000:3ce48ff1
LogBlockGeneration    0
Tag Bits  0x0000
Log Record Fixed Length   64
Log Record Length 132
Previous LSN  00000000:00000000:0000
Flag Bits 0x0002
Log Reserve   9098
AllocUnitId   NULL
AllocUnitName NULL
Page ID   NULL
Slot ID   NULL
Previous Page LSN NULL
PartitionId   NULL
RowFlags  NULL
Num Elements  NULL
Offset in Row NULL
Modify Size   NULL
Checkpoint Begin  NULL
CHKPT Begin DB Version    NULL
Max XDESID    NULL
Num Transactions  NULL
Checkpoint End    NULL
CHKPT End DB Version  NULL
Minimum LSN   NULL
Dirty Pages   NULL
Oldest Replicated Begin LSN   NULL
Next Replicated End LSN   NULL
Last Distributed Backup End LSN   NULL
Last Distributed End LSN  NULL
Server UID    0
SPID  191
Beginlog Status   0x01
Xact Type 1
Begin Time    2019/05/08 15:30:40:607
Transaction Name  user_transaction
Transaction SID   0x01050000000000051500000059ADF097EFECBAAC61F6ACD15D0C0000
Xact ID   407417737
Xact Node ID  0
Xact Node Local ID    0
End Time  NULL
Transaction Begin NULL
Replicated Records    NULL
Oldest Active LSN NULL
Server Name   NULL
Database Name NULL
Mark Name NULL
Master XDESID NULL
Master DBID   NULL
Preplog Begin LSN NULL
Prepare Time  NULL
Virtual Clock NULL
Previous Savepoint    NULL
Savepoint Name    NULL
Rowbits First Bit NULL
Rowbits Bit Count NULL
Rowbits Bit Value NULL
Number of Locks   NULL
Lock Information  NULL
LSN before writes NULL
Pages Written NULL
Data Pages Delta  NULL
Reserved Pages Delta  NULL
Used Pages Delta  NULL
Data Rows Delta   NULL
Command Type  NULL
Publication ID    NULL
Article ID    NULL
Partial Status    NULL
Command   NULL
Byte Offset   NULL
New Value NULL
Old Value NULL
New Split Page    NULL
Rows Deleted  NULL
Bytes Freed   NULL
CI Table Id   NULL
CI Index Id   NULL
NewAllocUnitId    NULL
FileGroup ID  NULL
Meta Status   NULL
File Status   NULL
File ID   NULL
Physical Name NULL
Logical Name  NULL
Format LSN    NULL
RowsetId  NULL
TextPtr   NULL
Column Offset NULL
Flags NULL
Text Size NULL
Offset    NULL
Old Size  NULL
New Size  NULL
Description   user_transaction;0x01050000000000051500000059adf097efecbaac61f6acd15d0c0000
Bulk allocated extent count   NULL
Bulk RowsetId NULL
Bulk AllocUnitId  NULL
Bulk allocation first IAM Page ID NULL
Bulk allocated extent ids NULL
RowLog Contents 0 NULL
RowLog Contents 1 NULL
RowLog Contents 2 NULL
RowLog Contents 3 NULL
RowLog Contents 4 NULL
Compression Log Type  NULL
Compression Info  NULL
PageFormat PageType   NULL
PageFormat PageFlags  NULL
PageFormat PageLevel  NULL
PageFormat PageStat   NULL
PageFormat FormatOption   NULL
Log Record    0x00004000000000000000000000000200F18FE43C00008000BF000000010000000100000000000000369EFF0047AA000089B34818000000000000000000000000020020001C00000075007300650072005F007400720061006E00730061006300740069006F006E0001050000000000051500000059ADF097EFECBAAC61F6ACD15D0C0000

如何解决此问题或找到此问题的根本原因?

感谢您的帮助

尼克

0 个答案:

没有答案