SQL Server事务复制在正常创建发布和订阅之后,log reader Job 启动异常,出现“The process could not execute ‘sp_replcmds’ on xxx”等异常日志导致代理服务无法正常启动。 异常现象 参考下图,异常日志如下 Error messages: The process could not execute ‘
Applies to: SQL Server Azure SQL Managed Instance The Replication Log Reader Agent is an executable that monitors the transaction log of each database configured for transactional replication and copies the transactions marked for replication from the transaction log into the distribution database. Note...
适用范围:SQL Server MSlogreader_history表包含与本地分发服务器关联的日志读取器代理的历史记录行。 此表存储在分发数据库中。 展开表 列名称数据类型描述 agent_id int 日志读取器代理的 ID。 runstatus int 运行状态: 1 = 开始。 2 = 成功。 3 = 正在进行。 4 = 空闲。 5 = 重试。 6 = 失...
sp_helplogreader_agent [ [ @publisher = ] N'publisher' ] [ ; ] 参数 [ @publisher = ] N'publisher' 发布服务器的名称。 @publisher为 sysname,默认值为 NULL. 此参数仅适用于非 SQL Server 发布服务器。 此参数的值必须为 NULL SQL Server 发布服务器。 结果集 展开表 列名称数据类型描述 id...
在Microsoft SQL Server 中的事务复制中,SQL 查询中的项目在 Transact-SQL 语句中具有一个空字符串(@destination_table = N”。 在这种情况下,可能会在指定位置收到以下错误消息: 在快照代理中: 值不能为 null。参数名称:strObjectName 在Logreader 代理中: 进程无法在“SERVER”上执行“sp_replcmd...
假设在 Microsoft SQL Server 2008 R2、SQL Server 2012、SQL Server 2014 SQL Server 2016 中配置 Oracle 发布。 当HREPL_SEQ超出 2147483647 的 INT 容量时,日志读取器代理将失败。 此外,还会收到以下错误: ORA-01455:转换列时溢出整数数据类型 (源:MSSQL_REPL_ORACLE,错误号:1455) ...
USE[master]GOCREATELOGIN[repl]WITHPASSWORD=N'a123456!'GOALTERSERVER ROLE[sysadmin]ADDMEMBER[repl]GO 在两台机器上互相连接对方主机名:如下,可以连通就证明网络已经搞定了,账户名密码也是确认无误可以使用了。 【1.4】构建快照共享文件夹 (1)修改发布端(192.168.175.145)agent启动账户为 localsystem,这个账户拥有本...
Read the SQL Server transaction logs to audit, rollback or replay database schema and data changes
SQL Server Reader使用驱动版本是com.microsoft.sqlserver sqljdbc4 4.0,驱动能力具体请参见官网文档。该驱动支持的SQL Server版本如下所示: 使用限制 离线同步支持读取视图表。 支持的字段类型 SQL Server全量的字段类型请参见SQL Server帮助文档。以下以SQL Server 2016为例,为您列举常见的字段类型的支持情况。
This article introduces the performance statistics tools for Replication Log Reader and Distribution Agent in SQL Server. Original product version: SQL Server Original KB number: 2892631 Introduction Performance statistics were added to the mslogreader_history table and the msdistribution_hist...