我已经在SQL Server数据库中配置了更改数据捕获(CDC)。当我启动它时,它将工作一段时间(几分钟),然后它将停止工作。当我查看SQL Server代理的作业活动监视器时,看到“捕获作业”错误。当我打开作业时,在作业历史记录中看到以下错误:
Datum 07.12.2018 11:19:54
Protokoll Auftragsverlauf (cdc.Versand_capture)
Schritt-ID 2
Server xxx\SQLSERVERPPSYS
Auftragsname cdc.Versand_capture
Schrittname Change Data Capture Collection Agent
Dauer 00:00:00
SQL-Schweregrad 16
SQL-Meldungs-ID 217
E-Mail an Operator
NET SEND an Operator
Pagernachricht an Operator
Versuchte Wiederholungen 10
Meldung
Executed as user: xxx\yyy$. Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).
[SQLSTATE 42000] (Error 217). NOTE: The step was retried the requested number of times (10) without succeeding. The step failed.
我不知道,为什么Capture-Job会产生此错误:
Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)