Configuration properties reference¶
Look up a Capture Agent or Launch Agent property here when a guide, a message or Stelo Support names it, or before you add or change one: its default, the source databases it applies to, what it changes, and whether it's set for you when the agent is created. Properties are grouped by area; to see only those that matter for your source database, see Properties by source database.
To change a property, see Change a Capture Agent's configuration.
How to read this reference¶
- Where you change them. On the agent's Configuration tab in the SQDR Control Center (the Launch Agent's on the
server node's Configuration tab). They're kept in the agent's
sqagent.propertiesfile (see Where the properties are stored). - When a change takes effect. The agent reads its properties when it starts; saving its configuration restarts it if it's running.
- Names aren't case-sensitive (
NotificationLevelandnotificationLevelare the same property). Unknown names are ignored and no value is validated: check the spelling and the value before you save. - Defaults. Default is the value the agent uses when the property isn't in its file. Some properties are written
into the file when the agent is created, with a value that can differ. Set says where:
- Wizard: a field of the Add Capture Agent wizard (see Add a Capture Agent), with the wizard's own default where it differs.
- Created: written by the SQDR Control Center or the Launch Agent when the agent is created, with no field for it. Most describe the agent's connections: don't change them.
- Configuration: add it on the Configuration tab when you need it.
- Advanced properties. Change a property marked Advanced only when this manual or Stelo Support tells you to.
Sources: i = Db2 for i, LUW = Db2 for Linux, UNIX and Windows, Oracle, SQL Server (Change Tracking and Change Data Capture), Informix, MySQL (also MariaDB and Aurora MySQL), PostgreSQL. All means every source.
Identity and connections¶
The agent's name and its connections to the source database and its staging database. The SQDR Control Center fills these in from the wizard; change them only when Stelo Support asks, or when this table says so.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
name |
database@host (the Launch Agent builds it from the source database, schema and host) |
All | The agent's name, as shown in the SQDR Control Center tree and in email notifications. Change it to rename the agent. | Created; Configuration |
sourceType |
DB2400 |
All | The type of source database: DB2400, UDB, MSSQL, ORACLE, INFORMIX, MYSQL or POSTGRES. |
Created |
sourceDbUrl, sourceDbDriver |
— | All | The JDBC URL and driver class of the source connection. | Created |
sourceDbHost, sourceDbPort, sourceDbName |
— | All | The source's host, port and database name. | Wizard |
sourceDbSchema |
the control database schema | All | The agent's control schema (library) on the source: the wizard's Control Schema field. | Wizard |
sourceUserId, sourcePassword |
userId, password |
All | The user and password the agent uses on the source. The password is stored encrypted. | Wizard |
useSourceAuthentication |
false | All | Sends the user and password on the source connection; true when a source user is given. | Created |
useSSL |
false | i, LUW, MySQL, PostgreSQL | Connects to the source with SSL/TLS: the wizard's Use SSL/TLS check box. On Db2 for i it also secures the journal connection. | Wizard |
jdbcProperties |
— | Oracle | Extra JDBC connection properties, as name=value pairs separated by semicolons. |
Configuration |
sourceSetupSQL |
— | All JDBC sources, PostgreSQL | SQL statements, separated by semicolons, run each time the agent opens a source connection (for example to set a session option). | Configuration |
pluggableDatabase, parent |
— | Oracle | For an agent on a pluggable database (PDB): the PDB name, and the id of the agent of its container database. | Wizard (Pluggable Database) |
controlDbUrl, controlDbDriver, controlDbType, controlDbPort |
— | All | The agent's staging database (the "control database" of the agent, a Db2 LUW database on the Stelo VM). | Created |
controlDbSchema |
SQDR |
All | The schema of the agent's tables in its staging database. | Created |
userId, password |
— | All | The user and password for the staging database, copied from the Launch Agent. The password is stored encrypted. See Change the passwords Stelo Capture uses. | Created |
useAuthentication |
false | All | Sends the user and password on the staging database connection; copied from the Launch Agent (true). | Created |
port |
50005 | All | The agent's management (RMI) port. The Launch Agent gives each new agent the next free port above its own. See Ports. | Created |
clientODBCString |
DRIVER={StarSQL 32};HostName=<this computer>;Port=50000;Server=<staging database>;PkgColId=STARSQL;UseJumboPackages=Yes |
All | The ODBC connection string the agent publishes on the source for the Replicator Service to reach the staging database; the Replicator Service replaces StarSQL 32 with StarSQL (64-bit). Set it when the Replicator Service can't resolve this computer's name, or when Db2 doesn't listen on port 50000. |
Configuration |
clientUser, clientPassword |
userId, password |
All | The user and password published with clientODBCString for the Replicator Service. |
Configuration |
numControlDbConnectionsPerVm |
50 | All | The size of the agent's staging database connection pool. Values below 3 are ignored. Advanced. | Configuration |
grantees |
PUBLIC (none for MySQL) |
All | The users or groups, separated by commas, that are granted SELECT on the tables the agent creates. |
Configuration |
jvmParms |
— | All | Extra Java options for the agent's JVM. Set it on the Launch Agent for every agent, or on one agent to override that value. Advanced. | Configuration |
Logging¶
The agent's own log, shown on its Diagnostics tab. See Read the Capture Agent and server logs.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
logLevel |
WARNING (wizard: INFO) | All | How much the agent logs: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER or FINEST; an invalid value means WARNING. Raise it to FINE only while diagnosing a problem. |
Wizard (Log Level) |
maxLogFileSize |
1048576 (bytes, 1 MB) | All | The size at which the agent starts a new log file. | Configuration |
maxNumLogFiles |
40 | All | How many log files are kept; the oldest is deleted. | Configuration |
dataLogLevel |
OFF | All | Writes the captured change data to a separate log, for Stelo Support. Advanced. | Configuration |
collectLogDetail |
false | i | Stores the journal entry details with each staged row. Advanced. | Configuration |
detailedXStreamLog |
false | Oracle (XStream) | Adds the V$XSTREAM_MESSAGE_TRACKING and V$XSTREAM_TRANSACTION views to the XStream status the agent logs (when it starts and when no changes arrive for a while). Advanced. |
Configuration |
Email notification¶
The agent can email its own log messages, for example when a worker fails. Nothing is sent unless commonEmailConfig
is true, or SmtpServer, to and from are all set. See
Email notification.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
NotificationLevel |
SEVERE (wizard: OFF) | All | The lowest level of message emailed: OFF, SEVERE, WARNING or INFO. OFF sends nothing; lower levels mean INFO. |
Wizard (Email Notification Level) |
commonEmailConfig |
false (wizard: true) | All | true sends the agent's emails with the Replicator Service's email settings (sender method, server, addresses) from the Data Replicator Manager (see Notification), instead of SmtpServer, to and from. The level still comes from NotificationLevel. |
Wizard (Use Email Configuration from Replication Manager.) |
SmtpServer |
— | All | The SMTP server, for example mail.mydomain.com. |
Wizard (SMTP Server Name) |
to |
— | All | The recipient address. | Wizard (Email Notification Address) |
from |
SqdrPlus |
All | The sender address. | Wizard (Email Sender Address) |
mailUser, mailPassword |
— | All | The user and password, when the SMTP server requires authentication. The password is stored encrypted. | Configuration |
mailOptions |
— (port 25, no encryption) | All | JavaMail properties for the SMTP connection, as name=value pairs separated by semicolons, for example mail.smtp.port=587;mail.smtp.starttls.enable=true. Without a port, port 25 is used. |
Configuration |
clientControlDbUrl, clientControlDbSchema |
the staging database URL with the database name SQDRC; SQDR |
All | Where the agent finds the Replicator Service's control database, to read its email settings when commonEmailConfig is true. Advanced. |
Configuration |
starquestNotification |
OFF | All | The lowest level of message also emailed to Stelo Support. The wizard sets SEVERE when Send Error Notifications to Stelo is checked, OFF otherwise. If your network blocks outside mail servers, keep it OFF (see Mail notifications fail: access to outside mail servers is blocked). |
Wizard (Send Error Notifications to Stelo) |
starquestSmtp, starquestTo, starquestFrom, starquestMailUser, starquestMailPassword, starquestMailOptions |
built in | All | How email to Stelo Support is sent. Change them only when Stelo Support asks. | Configuration |
Change data notification¶
When changes are committed for a subscribed table, the agent notifies the Replicator Service with a UDP datagram, so the incremental group fetches them right away. The address is the source's Notification Address in the Data Replicator Manager (see Change data notifications).
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
udpPort |
2728 | All | The UDP port notifications are sent to. The agent also publishes it (as notificationPort) for the Replicator Service. See Ports. |
Configuration |
broadcastAddress |
255.255.255.255 | All | The address used when a subscriber registered the broadcast address instead of its own (a directed notification goes to the subscriber's own address). | Configuration |
minimumNotificationDelay |
5000 (ms) | All | The shortest time between two rounds of notifications, so as not to flood the network. | Configuration |
Pruning¶
The pruner removes change data from the staging database once every subscriber has applied it. See Control how staged changes are pruned.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
pruneInterval |
30 (minutes) | All | How often the pruner runs. The first run is about a minute after the agent starts. | Configuration |
pruneRetention |
0 (hours) | All | Prunes only transactions committed more than this many hours ago. 0 prunes as soon as the changes are applied. | Configuration |
maintenanceWindow |
— (any time) | All | Limits pruning to these times, unless the storage monitor is throttling: ranges HH[:mm]-HH[:mm], separated by commas, in 24-hour local time of the Stelo VM; a range may cross midnight (22:00-04:00). An invalid value allows pruning at any time. |
Configuration |
maxPruneRows, maxPruneTx |
20000, 20000 | All | How many rows and transactions one prune step deletes. Advanced. | Configuration |
maxPruneThreads |
2 | All | How many threads the pruner uses. Advanced. | Configuration |
alwaysPruneChangeData |
true | All | No effect: kept so that existing configurations still load (see Pruning). Advanced. | Configuration |
pruneExclude |
— | All | An SQL condition added to the prune query, to keep some data. Advanced. | Configuration |
deepCleaning |
false | All | Runs an extra clean-up when the agent starts and at its first prune. Advanced. | Configuration |
Storage monitor and congestion¶
The storage monitor counts the rows waiting in the staging database, warns and, above a second level, pauses capture until pruning catches up. See Storage monitor and When a Capture Agent falls behind.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
smInterval |
30 (minutes) | All | How often the storage monitor runs; 0 turns it off. | Configuration |
smSQL |
the sum of ROWCOUNT in SQ_TRANSACTIONS |
All | A query that returns the backlog as one number, for example SELECT COUNT(*) FROM MYSCHEMA.SQ_TRANSACTIONS. |
Configuration |
smWarningLevel |
40000000 (rows) | All | Above this backlog, the agent logs a SEVERE message (and emails it, if email notification is on). | Configuration |
smThrottleLevel |
50000000 (rows) | All | Above this backlog, the agent pauses all its workers and prunes; they resume once the backlog is below it. | Configuration |
congestedThreshold |
5 (minutes) | All | A worker that falls further behind the source log than this shows as Congested. Values below 1 mean 5. | Configuration |
uncongestedThreshold |
1 (minute) | All | A congested worker returns to normal when it's this close to the source log again. Must be lower than congestedThreshold, or 0 is used. |
Configuration |
Subscribers¶
The Replicator Service groups that read from the agent.
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
clientMonitoringInterval |
60 (minutes) | All | How often the agent checks subscriber activity. | Configuration |
clientDeleteGrace |
0 (days) | All | Deletes the subscriptions of a subscriber (an incremental group) that stops acknowledging changes, so their change data can be pruned. Changes unacknowledged for more than 6 days give a SEVERE message; with a value above 0, after 6 + this many days the agent deletes that subscriber's subscriptions to the tables concerned. 0 never deletes. To recover, pause the group and Reset it in the Data Replicator Manager (see Incremental groups): every member needs a new baseline. Advanced. | Configuration |
Maintenance windows and failover¶
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
sourceMaintenanceWindow |
— | All | Pauses the agent during planned source outages; same format as maintenanceWindow. When a window starts, the agent pauses capture and pruning; when it ends, the Launch Agent restarts the agent. A window takes effect within 30 seconds of its start or end. An invalid value is logged (SEVERE) and turns the feature off. See Pause capture during host maintenance. |
Configuration |
usingFailover |
false | All | Two agents share the workers of one source, active and standby: each worker runs on one agent, and the other takes it over when the first agent has stopped running it for 3 minutes. Advanced. | Configuration |
failOverSchema |
sourceDbSchema |
All | The schema of the table the two agents share for usingFailover. Advanced. |
Configuration |
usingShutdownHook |
true | All | false starts the agent's JVM with -Xrs. Advanced. |
Configuration |
Capture: all sources¶
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
pollSleepTime |
5000 (ms) | All | How long a log reader waits between reads of the source log. The SQDR Control Center sets 1 for Oracle agents. | Created (Oracle); Configuration |
batch, batchSize |
true, 100 | All | Inserts change data into the staging database in batches of this many rows. | Configuration |
requirePublication |
false | All | A table must be published before it can be subscribed to. The SQDR Control Center sets true for Oracle agents. See Publish tables. | Created (Oracle); Configuration |
requireUniqueIndex |
false | All | Refuses a subscription for a table without key columns (no primary key or unique index). | Configuration |
retryPublishLock |
false | All | Retries publishing a table when it can't get a lock, instead of failing. | Configuration |
compareChangeData |
true | All but SQL Server | Doesn't stage updates whose before and after images are the same. | Configuration |
suppressNoOpUpdate |
true | MySQL, PostgreSQL | Doesn't stage updates that change no column. | Configuration |
filterUserId |
— | i, LUW, Oracle | Ignores changes made by this user, for example the user a Replicator Service applies changes with in two-way replication. | Configuration |
alterOption |
2 | i, LUW, Oracle | What the agent does when a subscribed source table is altered: 0 handles it as an alter, 1 as a new snapshot, 2 takes no action. Advanced. | Configuration |
alwaysUseRowId |
false | i, Oracle | Ignores the tables' key columns and identifies rows by their relative record number (RRN) or ROWID. | Configuration |
collectLobFromSource |
false | All but Oracle XStream | Reads LOB values from the source table instead of the log. | Configuration |
lowerCaseTables |
false | All | Uses lower-case names for the agent's tables in the source database, for sources that don't allow upper-case names (for example Azure Database for MySQL). | Configuration |
rollbackLookAhead |
false | i, LUW | When a transaction contains undo (rollback) records, reads ahead in the log to find its outcome, and doesn't stage a rolled-back transaction. Helps only with very large rollbacks; leave it off unless Stelo Support asks. Advanced. | Configuration |
validateMetadata |
false | All | When the agent starts replicating a subscribed table (for example when the agent starts), checks the table's definition against the source instead of relying on the agent's own copy, and handles the table as altered if it changed. By default the definition is checked only when a change is detected or a subscription is added. | Configuration |
retryOnInvalidLogPosition |
false | All | Retries instead of stopping when the stored log position is invalid. Advanced. | Configuration |
useTxSequence |
false | All | Records the order of a transaction's changes across tables, so they can be applied in source order. See Apply changes in source order across tables. Advanced. | Configuration |
openWindow |
false | All | Keeps a subscriber in open-window processing after a baseline. For Stelo Support only. | Configuration |
singleWorkerDefault |
false | All | New subscribers use a single worker. Advanced. | Configuration |
TABLEINFO |
true | i | Finds a table's key columns with the TABLEINFO procedure in the agent's library. The SQDR Control Center sets false for all other sources. |
Created |
inflation |
0 or 100 (%) | All | Widens character columns in the staging tables by this percentage: by default 0 when the staging database is the same type as the source, 100 otherwise. Advanced. | Configuration |
forceDBCS |
false | All | Defines character columns as GRAPHIC and VARGRAPHIC in the staging tables. Advanced. | Configuration |
logWorkaround |
true | All | Loads staged baselines without transaction logging. Advanced. | Configuration |
multiMember |
true | i | Captures every member of multi-member files. See Multimember Support. | Configuration |
Db2 for i¶
Journals, journal receivers and the exit program. See Journaling, Autojournaling and Maintaining journals and log files.
| Property | Default | What it does | Set |
|---|---|---|---|
autoJournal |
false (created: true) | Starts journaling unjournaled tables when they're subscribed to, and restores journaling when the agent starts in a mode other than Normal. The SQDR Control Center sets true for Db2 for i agents. | Created |
managedLogs |
false (created: true) | Stelo Capture manages the journal receivers: the exit program keeps receivers the agent still needs from being deleted. See Exit Program Reason Codes. The SQDR Control Center sets true for Db2 for i agents. Also Db2 LUW (see below). | Created |
receiverLibrary |
the agent's library on the source (sourceDbSchema) |
The library of the journal receivers the agent creates when it creates a journal. | Configuration |
deleteLogsWithoutSave |
true | For journals the agent creates: true creates them with DLTRCV(*YES), false with DLTRCV(*NO). Also Db2 LUW (see below). |
Configuration |
filterAtSource |
true | Filters journal entries on the IBM i, so only entries for subscribed tables are sent to the agent. Works for journals with up to 300 subscribed tables; see Performance. | Configuration |
filterJobName, filterProgramName |
— | Ignores changes made by these jobs or programs (names separated by commas). | Configuration |
userSpaceSize |
16000000 (bytes) | The size of the user space the agent reads journal entries into. | Configuration |
userSpaceSchema |
sourceDbSchema |
The library of that user space. Advanced. | Configuration |
minimizeLatency |
false | true reads the journal again right away instead of waiting pollSleepTime when the last read didn't fill the user space. Uses more CPU on the IBM i. |
Configuration |
autoGrant |
true | Grants the agent's user *USE authority to the objects it needs. |
Configuration |
minimizeChangeData |
false | Stages less change data for updates. Advanced. | Configuration |
maxNonTxTables |
10 | The most tables grouped into one staged transaction for changes made without commitment control. Advanced. | Configuration |
relaxedJournalCheck |
false | Allows subscriptions that need before images on tables journaled *AFTER only. Advanced. |
Configuration |
binaryCCSID |
65535 | Converts character columns tagged CCSID 65535 (FOR BIT DATA) as text in this CCSID. 65535 keeps them binary. |
Configuration |
datalinkccsid |
37 | The CCSID used for DATALINK columns that have none. | Configuration |
flagInvalidDecimalData |
false | true fails on invalid packed or zoned decimal data; false stages 0 and logs it at FINE. | Configuration |
Db2 LUW¶
| Property | Default | What it does | Set |
|---|---|---|---|
udbAuthentication |
SERVER |
The authentication type of the ODBC connection the agent reads the log with, when it doesn't read it through the stored procedure. See Authentication. | Configuration |
udbReadLogUsingSP |
false | Reads the Db2 log through a stored procedure on the source. See Log reader stored procedure. | Configuration |
largestStagedLOB |
104857600 (bytes, 100 MB) | The largest LOB value the agent stages. | Configuration |
udbReorgPollInterval |
300 | How often, in seconds, the agent checks the database's recovery history (SYSIBMADM.DB_HISTORY) for INPLACE reorganizations of replicated tables, which give rows new RID values. 0 turns the check off. See The RRN or ROWID column. |
Configuration |
managedLogs, deleteLogsWithoutSave |
false, true | Used by the Stelo Capture log exit program on the source, which archives Db2 log files. | Configuration |
archivedLogPath |
— | The directory the Stelo Capture log exit program saves archived log files to. Not used when deleteLogsWithoutSave is true. |
Configuration |
Oracle¶
The agent reads the redo logs with LogMiner or, with xstream, through an XStream outbound server.
| Property | Default | What it does | Set |
|---|---|---|---|
xstream |
false | Uses XStream instead of LogMiner. | Wizard (Use XStream-Out) |
xstreamServer |
the database name | The XStream outbound server. | Wizard (XStream-Out Name) |
xstreamUser, xstreamPassword |
— | The XStream administrator and password. The password is stored encrypted. | Wizard (XStream User, XStream Password) |
xstreamUrl |
sourceDbUrl |
The JDBC URL of the XStream connection. | Configuration |
xstreamFilter |
false | true replaces the outbound server's rules with one rule per published table. | Configuration |
initialXStreamGrace, XStreamGrace |
30, 5 (minutes) | XStream: how long the log reader waits for a record from the outbound server, after attaching to it (initialXStreamGrace) and after receiving records (XStreamGrace). When the time runs out, the reader re-attaches at its last position, or stops with "Waiting too long for XStream Records" and is restarted. With large transactions this can repeat so no data moves while the agent looks healthy; raising the values (for example to 180 and 30) has fixed that. Advanced. |
Configuration |
deferAcknowledgement, deferInterval |
false, 14400 (seconds) | XStream: delays acknowledging processed changes to the outbound server. Advanced. | Configuration |
continuousMining |
true | LogMiner continuous mining, used only with Oracle before 19c and without XStream; Oracle 19c and later always mine the archived log files. | Configuration |
oracleDictionary |
true | Uses the online dictionary to interpret LogMiner data. Always true with XStream. | Configuration |
numArchiveSession, numArchiveLogsPerSession |
1, 1 | How many archived-log mining sessions run, and how many log files each mines. Oracle 19c and later, or continuousMining false. |
Configuration |
avoidActiveLog |
false | Reads only archived logs, never the online redo log. Oracle 19c and later, or continuousMining false. |
Configuration |
commitInterval |
5000 (ms) | How often change data is committed to the staging database. Also PostgreSQL (3000 ms). | Configuration |
supplementalLogging |
ALL |
The supplemental log data the agent adds to a table when it's published, if the table doesn't already have all-column logging. ALL adds all-column logging (ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS). DYNAMIC adds it only when a subscription to the table has criteria or needs before images, otherwise primary key logging (and unique key logging for a table with a unique index but no primary key). RELAXED adds none, and suits only tables whose rows are identified by ROWID. |
Configuration |
oracleFetchSize |
1000 (rows) | The fetch size of the LogMiner and XStream queries. Advanced. | Configuration |
prefetchDepth |
100 (rows) | How many LogMiner rows are read ahead. Advanced. | Configuration |
oracleWhereClause |
built in | Replaces the condition of the LogMiner query. Advanced. | Configuration |
SQL Server¶
| Property | Default | What it does | Set |
|---|---|---|---|
msSqlChangeTracking |
true | true reads changes with Change Tracking, false with Change Data Capture. | Wizard (Change Tracking or Change Data Capture) |
minimumDelay |
0 (seconds) | Change Tracking: the shortest time between two reads. | Configuration |
handleHiddenColumns |
false | Change Tracking: reads tables with an explicit column list, for tables with hidden columns. | Configuration |
manageMsCdcCapture |
true | Change Data Capture: lets the agent replace a table's capture instance whose columns don't match the table, and drop a second capture instance. false fails such a table instead. |
Configuration |
msCdcMaxMinutes |
5 | Change Data Capture: the time range, in minutes, read at a time. Advanced. | Configuration |
numInsertThreads |
5 | Threads that insert change data into the staging database. Advanced. | Configuration |
MySQL, PostgreSQL and Informix¶
| Property | Default | Sources | What it does | Set |
|---|---|---|---|---|
interpretEnum |
false (created: true) | MySQL | true stages ENUM values as their text and SET values as a comma-separated list of names; false stages the numbers MySQL stores. The SQDR Control Center sets true for MySQL agents it creates. |
Created |
pgSlot |
sourceDbSchema |
PostgreSQL | The logical replication slot (pgoutput). The agent creates it if it doesn't exist. |
Configuration |
pgPubName, pgPubMode, pgAutoPublish |
sourceDbSchema, table, true |
PostgreSQL | The PostgreSQL publication the agent uses, whether tables are added to it one by one, and whether the agent adds them. Advanced. | Configuration |
commitInterval |
3000 (ms) | PostgreSQL | See Oracle. | Configuration |
ifxReadSize, ifxBufferSize |
50 records; 10485760 bytes (10 MB) | Informix | Log read and buffer sizes: the most records the agent reads at a time, and the size of its read buffer. A positive number overrides the default. Advanced. | Configuration |
charsetName |
the database's character set | Informix | The character set used to read the log. | Configuration |
Databricks baselines¶
How the agent stages a baseline for a Databricks (Spark) destination: it copies the source rows into temporary staging tables that the Databricks connector loads.
| Property | Default | What it does | Set |
|---|---|---|---|
maxStagedRows |
400000 (rows) | The size of each staging table. For a larger source table, the connector loads one staging table while the agent fills the next: faster than staging the whole table first, and less space in the staging database. | Configuration |
maxStagedBlob |
20971520 (bytes) | BLOB values longer than this are truncated in the baseline. |
Configuration |
maxStagedClob |
10485760 (characters) | CLOB, DBCLOB and NCLOB values longer than this are truncated in the baseline. |
Configuration |
stableKeys |
true | false makes the connector delete rows with duplicate keys from the destination table after the baseline, for sources whose keys can be reused during a long baseline. The cleanup is costly; archive subscriptions never get it. Advanced. | Configuration |
Launch Agent¶
The Launch Agent starts and stops the Capture Agents and manages their configuration. Its sqagent.properties is on
the server node's Configuration tab. See The Stelo VM.
| Property | Installer value | What it does |
|---|---|---|
port |
50005 | The Launch Agent's management (RMI) port. Agents get the next free ports above it. |
controlDbType, controlDbUrl, controlDbDriver, controlDbSchema, userId, password, useAuthentication |
UDB, the SQDRC database on the local Db2 (localhost:50000), SQDR, the Db2 user entered during installation, true |
The control database, where the Launch Agent keeps the list of agents. New agents get the same user and password. |
logLevel, maxNumLogFiles |
INFO, 5 |
The Launch Agent's own log (sq_launcher0.log). |
notificationLevel, starquestNotification |
OFF, OFF |
Email from the Launch Agent. |
db2DftDbPath, *TemplateDB*, controlDbRoot, UDBRestoreOption, DB2iSAVF |
set by the installer | Where the Launch Agent creates staging databases (db2DftDbPath, for example ON 'E:' DBPATH ON 'L:') and finds the files it needs. Change only db2DftDbPath, to create new staging databases on other drives (see Where new staging databases are created). |
grantingUser, grantUsingJdbc |
SYSTEM; false on Windows, true on Linux |
How the Launch Agent grants the Db2 instance owner the authority automatic RUNSTATS needs on new staging databases. Advanced. |
jvmParms |
— | Extra Java options for every agent's JVM (see jvmParms). |
webdrmPort, webdrmPorts |
—, 9119,3000 |
The Data Replicator Manager's port on this computer, for the SQDR Control Center's Data Replicator Manager link. Without webdrmPort, the ports in webdrmPorts are tried. |
sqdrServicePort |
7737 | The Replicator Service port the SQDR Control Center checks for the Dashboard. |
Destination properties¶
Properties of the streaming destinations (Kafka, BigQuery, Databricks, Microsoft Fabric, Snowflake, AWS S3 Tables)
aren't in sqagent.properties: they're set on the destination in the Data Replicator Manager. See
Destination properties.
Properties by source database¶
Which properties apply to which source database. Every property not listed here applies to all sources.
Set when the agent is created¶
Besides the connection properties and the Add Capture Agent wizard's choices (see
Add a Capture Agent), the SQDR Control Center writes these into a new agent's
sqagent.properties. They differ from the agent's built-in defaults, so an agent created today may not match one
created by an older release.
| Source | Properties set | Why |
|---|---|---|
| Db2 for i | autoJournal=true, managedLogs=true, TABLEINFO=true | The agent journals subscribed tables and protects the journal receivers it still needs. |
| Oracle | requirePublication=true, pollSleepTime=1, TABLEINFO=false | Tables must be published before they can be subscribed to. |
| MySQL | interpretEnum=true, TABLEINFO=false | ENUM and SET values are staged as text. |
| SQL Server | msSqlChangeTracking (from the wizard's Change Tracking / Change Data Capture choice), TABLEINFO=false | Selects the log reader. |
| Db2 LUW, Informix, PostgreSQL | TABLEINFO=false |
Properties that apply to some sources only¶
X = applies. Properties marked Advanced are in the next table.
Advanced properties by source¶
Advanced settings
Change these properties only when Stelo Support asks.
| Property | Db2 for i | Db2 LUW | Oracle | SQL Server Change Tracking | SQL Server CDC | Informix | MySQL | PostgreSQL |
|---|---|---|---|---|---|---|---|---|
| alterOption | X | X | X | |||||
| collectLogDetail | X | |||||||
| deferAcknowledgement, deferInterval | X (XStream) | |||||||
| ifxReadSize, ifxBufferSize | X | |||||||
| initialXStreamGrace, XStreamGrace | X (XStream) | |||||||
| maxNonTxTables | X | |||||||
| minimizeChangeData | X | |||||||
| msCdcMaxMinutes | X | |||||||
| numInsertThreads | X | X | ||||||
| oracleFetchSize | X | |||||||
| oracleWhereClause | X | |||||||
| pgPubName, pgPubMode, pgAutoPublish | X | |||||||
| prefetchDepth | X | |||||||
| relaxedJournalCheck | X | |||||||
| rollbackLookAhead | X | X | ||||||
| userSpaceSchema | X |
Related¶
- Configuration: editing the properties in the SQDR Control Center
- Ports
- SQDR Plus release notes
- IBM i columns with CCSID 65535 arrive as hex text or right truncation