| title | Configure transaction set job (Oracle Publisher) | ||
|---|---|---|---|
| description | Learn how to configure the transaction set job for an Oracle Publisher publishing to a SQL Server Subscriber. | ||
| author | MashaMSFT | ||
| ms.author | mathoma | ||
| ms.date | 09/25/2024 | ||
| ms.service | sql | ||
| ms.subservice | replication | ||
| ms.topic | how-to | ||
| ms.custom |
|
||
| helpviewer_keywords |
|
||
| dev_langs |
|
[!INCLUDE SQL Server] The Xactset job is an Oracle database job created by replication that runs at an Oracle Publisher to create transaction sets when the Log Reader Agent is not connected to the Publisher. You can enable and configure this job from the Distributor programmatically using replication stored procedures. For more information, see Performance Tuning for Oracle Publishers.
-
At the Oracle Publisher, set the job_queue_processes initialization parameter to a sufficient value to allow the Xactset job run. For more information about this parameter, see the database documentation for the Oracle Publisher.
-
At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher, a value of xactsetbatching for @propertyname, and a value of enabled for @propertyvalue.
-
At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher, a value of xactsetjobinterval for @propertyname, and the job interval, in minutes, for @propertyvalue.
-
At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher, a value of xactsetjob for @propertyname, and a value of enabled for @propertyvalue.
-
(Optional) At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher. This returns properties of the Xactset job at the Publisher.
-
At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher, the name of the Xactset job property being set for @propertyname, and new setting for @propertyvalue.
-
(Optional) Repeat step 2 for each Xactset job property being set. When changing the xactsetjobinterval property, you must restart the job on the Oracle Publisher for the new interval to take effect.
- At the Distributor, execute sp_helpxactsetjob. Specify the name of the Oracle Publisher for @publisher.
- At the Distributor, execute sp_publisherproperty (Transact-SQL). Specify the name of the Oracle Publisher for @publisher, a value of xactsetjob for @propertyname, and a value of disabled for @propertyvalue.
The following example enables the Xactset job and sets an interval of three minutes between runs.
:::code language="sql" source="../codesnippet/tsql/configure-the-transactio_1.sql":::