Skip to content

Service properties

Every Replicator Service setting, by area: name, default, what it does and where you change it. Most are on the tabs of Service Settings › Properties (see Service settings); the advanced ones only on the Advanced tab. Change an advanced property only when this page or Stelo Support tells you to.

How service properties work

  • Where they're stored. In the control database, loaded when the Replicator Service starts. A few are in the service's properties file instead, because the service needs them before it can reach the control database: the control database connection, the service listeners and svcLocale. The file is C:\ProgramData\StarQuest\SQDR\sqdr.properties on Windows and /var/sqdr/sqdr.properties in the Docker container; Service Settings › Properties › Service shows it as Properties Path.
  • Where you change them. On the Service Settings tabs listed below, or on the Advanced tab, which lists every property, including those with their own field on another tab. With PowerShell: Set-BooleanProperty, Set-Int32Property, Set-StringProperty or Import-Properties.
  • When a change takes effect. Most properties are read each time they're used, so a change applies to the next run, poll or connection. The listener properties, svcLocale and those marked restart are read only when the service starts.
  • Every change is recorded. The service logs Service property '...' changed from '...' to '...' and, with audit journal logging on, records who made the change.
  • Group overrides. Rows marked group override can also be set for one group, in its Group Replication Settings; a group that doesn't override a setting uses the service's value.
  • Defaults. The defaults below are the service's own. The first time properties are saved, the service stores the current value of every property in the control database.

Replication

How the Replicator Service copies data during a snapshot run or a baseline. The first eleven are on Service Settings › Properties › Replication, card Global replication settings.

Property Default What it does Set on
rowBufferTimeout 30000 (ms) How long the service waits for a fetch or insert buffer when Use Multithread Fetch and Insert is on. Shown in seconds as Multithread timeout (seconds). Increase it if a replication times out waiting for a buffer. Replication tab; group override
odbcCommitAt 10000 (rows) ODBC commit interval (rows): about how many rows are committed at a time when rows are inserted through ODBC. 0 commits at the end of the table. Committed rows can't be rolled back if the replication fails. Replication tab; group override
bcpCommitAt 20000 (rows) BCP commit interval (rows): the same for a native loader (such as SQL Server Bulk Copy). 0 commits at the end of the table. With DML Replication set to Merge, it's also how many rows are committed at a time when changes are loaded into the merge table (0 means 20000). Replication tab; group override
maxLongFieldData 1048576 (bytes, 1024 KB) Indeterminable-size column limit (KB): the largest value of a column of indeterminable size (LOB, and LONG / LONG RAW on Oracle sources) held in memory, during a baseline and during incremental apply. See LOB columns. Values above 16 KB are rounded up to a multiple of 16 KB when saved. Replication tab; group override
replicatorBufferSize 10240000 (bytes, 10000 KB) Replication Buffer Size (KB): the size of the buffer used to move rows. Decrease it only if memory use is an issue or to work around a driver problem. Replication tab; group override
sourceTranCtrl true Use single transaction for source processing: rolls back the source processing (SQL run on the source before a snapshot run) if the replication fails. Off keeps its results. Replication tab; group override
useWideBinding true Bind Character Types as Wide (Unicode): binds character data as Unicode (SQL_C_WCHAR); off, as single-byte characters (SQL_C_CHAR). Affects how data is moved, not the destination column types. Replication tab; group override
multiThread true Use Multithread Fetch and Insert: fetches from the source and inserts into the destination on separate threads, at once. Replication tab; group override
multiRowFetch true Use Multirow Fetch and Insert: fetches and inserts several rows at a time when the ODBC drivers support it. Replication tab; group override
rtrimVarchar false Strip trailing blanks (RTRIM) for VARCHAR: removes trailing blanks from VARCHAR values during a baseline or snapshot run. For incremental changes, see padVarchar. Replication tab; group override
remediateData true Remediate Data: during a baseline or snapshot run, replaces invalid Unicode (UTF-16) characters with the replacement character U+FFFD, and truncates Unicode values longer than the destination column, instead of failing. Replication tab; group override
remediateNulls true During a baseline or snapshot run, cuts a VARCHAR value at its first embedded NUL (0x00) character. Advanced
disableIndices true Disables the destination's non-unique indexes before the data is copied and enables them again afterwards (SQL Server and Oracle destinations). Used only for groups without their own Allow disable/enable indexes setting; groups created with the Data Replicator Manager always have one. A clustered index is never disabled. Advanced
msSQLIndexRebuildOptions empty SQL Server destinations: text added to the command that rebuilds the non-unique indexes after they were disabled, for example COMPRESSION(PAGE). Advanced
tolerateSourceCommitError false Ignores an error committing the source connection at the end of a long baseline (for example Oracle ORA-01555) instead of failing the replication. Incremental replication corrects the data afterwards. Advanced
maxMySQLParms 2000 The most parameter markers in one insert statement of the native loader for MySQL (and compatible) and Redshift destinations. Rows per statement = this value ÷ number of columns: 100 rows for 20 columns. Advanced
minNumBufferAllocation 2 The minimum number of row buffers in a transfer. More can speed up multithreaded baselines, at the cost of memory. Advanced
bufferFactorMBCS 10 (%) Extra row buffer space, as a percentage, when characters are bound as single-byte, to leave room for multibyte characters. Advanced
bufferFactorWIDE 100 (%) The same when characters are bound as Unicode (useWideBinding). Advanced
useCluster false SQL Server destinations: creates the destination indexes as CLUSTERED. Advanced
deepSubValidation false Validates new subscriptions more thoroughly when saved, and every subscription when the service starts. Advanced
subMutexTimeout 30000 (ms) How long an operation waits for a subscription that another operation has locked. Advanced
subCacheLimit 250 How many subscriptions the service keeps in its memory cache. Raise it when you have many more. Restart. Advanced
maxReplicationThreads 0 The most worker threads the service runs at the same time. 0 is no limit. Restart. Advanced

Incremental apply

How incremental groups poll for changes and apply them. See Incremental groups and Incremental apply options.

Property Default What it does Set on
applyAutoStartUp true Starts polling for the active incremental groups when the service starts. Restart. Advanced
applyMaxStartupRetryInterval 60 (seconds) How long the service waits before retrying when incremental replication can't be initialized at startup. Advanced
applyMaxExceptionRetryInterval 60 (seconds) How long an incremental group waits before retrying after a polling or apply error. Advanced
applyMaxAutoSnapshotInterval 360 (seconds) While members are waiting for a baseline or an ALTER run, the longest an incremental group waits between checks, even if its Poll Interval is longer. Advanced
netByRowMaxKB 50000 (KB) The memory a change set may take while a statement that moved key values is applied by the net change of each row (see One statement that moves key values). A larger change set is applied one change at a time. 1,000 to 1,000,000. Advanced
useMultiRowApply true With DML Replication set to Merge, moves changes to the merge table several rows at a time. False forces single-row transfers. Advanced
applyCompressTier4 true With Merge, compresses the changes (keeps the last change of each row) in the destination database. False does it in the Capture Agent's staging database, which adds load to that system. Advanced
applyRetainMergeContent false With Merge In Place, keeps the rows of the last merge in the merge table instead of emptying it. For troubleshooting. Advanced
padVarchar false Pads incremental changes with blanks when a fixed-length (CHAR) source column goes to a VARCHAR destination column, as a baseline does. Independent of rtrimVarchar (baselines). Advanced
includeBeforeImage true Includes the before image of updates (the B rows) for subscriptions that archive all DML activity. Before images are available only from some sources. Advanced
archiveIgnoreDeletes false Makes subscriptions that archive all DML activity ignore deletes. Advanced
assumeStableKey false The default of the Stable key option: a new group gets it as its Stable key default, and a new subscription gets it when its group has no such default (a group saved before 7.0) or it's in no group. For Allow UPSERT members still without the option, whose destination table the Replicator Service created, it adds the destination primary key right after the baseline; without it, the key is added once the changes captured during the baseline have been applied (SQL Server sources using Change Tracking always get it right after the baseline). See Keys, RRN/ROWID and indexes. Advanced
autoRefreshStaging false When the staging database can't be reached, asks the source for the Capture Agent's current connection details and reconnects. For Capture Agents that move between servers (high availability). Advanced
incrementalDebug 0 How an integrity violation (such as a duplicate key) while applying changes is handled: 0 stops the group with an error; any other value flags the subscription and carries on; a negative value also stops the group when a subscription is flagged. Advanced
flaggedSubscriptionEventLogLimit 3 How many errors are logged in full for a flagged subscription, so one bad table doesn't flood the log. Advanced
useXMLEncoding false The encoding of change data logging when a group's Encoding is *Default: JSON (false) or XML (true). See Change Data Logging. Advanced

ALTER and change data logging defaults

The defaults for incremental groups whose Apply options are *Default, on Service Settings › Properties › Replication, cards Incremental Group DDL Replication Defaults and Change Data Logging Defaults. See ALTER processing.

Property Default What it does Set on
defaultDdlContinuous 0 (On Demand) DDL Replication: when a source ALTER is applied to the destination. 0 On Demand (when you run the group or subscription), 1 Automatic, 2 Off. Replication tab
defaultDdlAdd false (Ignore) Superseded by defaultDdlAddOption, which starts from this value: the ADD setting saved by SQDR 6.x or earlier (Perform adds added source columns to the destination; Ignore doesn't). Replication tab
defaultDdlAddOption 0 (Ignore), or 1 if defaultDdlAdd was on ADD: what happens to source columns added by an ALTER. 0 Ignore; 1 Perform (added to the destination); 2 Copy (added, and their values in existing rows copied from the source table). Replication tab
defaultDdlDrop false (Ignore) DROP: whether dropped source columns are dropped from the destination. Replication tab
defaultDdlAlter false (Ignore) MODIFY: whether changes of a column's type, precision, scale or nullability are applied to the destination. Replication tab
defaultBeforeLogging false (Separately) Before Image included: how change data logging delivers the before image of an update: as its own row (Separately) or appended to the after image (Combined). Replication tab

Subscription Wizard defaults

How new subscriptions map source columns to destination columns. The first ten, on Service Settings › Properties › Subscription Wizard, are the defaults of each subscription's Mapping Options. Changing them doesn't change existing subscriptions unless you rebuild their column list. See Data type mapping.

Property Default What it does Set on
dbcsPadding 0 Character data destination precision heuristic: 0 Use source precision (no Inflation), 1 Inflate VARCHAR type, 2 Inflate both VARCHAR and CHAR types. Subscription Wizard tab
mbcsInflator 10 (%) Inflation percentage: how much longer inflated character columns are made. Subscription Wizard tab
createLobAsNotLogged 0 (off) Create LOB columns as not logged: creates CLOB, BLOB and DBCLOB columns as NOT LOGGED (Db2 for LUW destinations). Subscription Wizard tab
createCharAsNullable false Default CHAR and VARCHAR as Nullable: creates character columns as nullable. Subscription Wizard tab
promoteToVarchar false Promote CHAR to VARCHAR: creates fixed-length character columns longer than 1 as variable-length. Subscription Wizard tab
promoteToWide false Promote CHAR types to wide-CHAR equivalent types: creates character columns as Unicode types (SQL Server and Oracle destinations). Subscription Wizard tab
quotedIdentifier true Quote SQL identifiers: quotes destination names, so they can be reserved words or contain spaces and keep their case. Subscription Wizard tab
foldCase true Fold case of identifiers per destination default: converts destination names to upper or lower case when the destination database prefers one. Subscription Wizard tab
mapDecimalToInteger false Map NUMERIC(p,0) to INTEGER types: DECIMAL/NUMERIC without decimals becomes INTEGER (precision up to 9) or BIGINT (up to 18). Subscription Wizard tab
useDeprecatedTypes false Enable deprecated types: allows SQL Server's deprecated types (text, ntext, image, datetime). Subscription Wizard tab
suppressWideTypes false Hides the Unicode types (SQL_WCHAR, SQL_WVARCHAR, SQL_WLONGVARCHAR) from the Columns tab's destination data type list. Doesn't change the default mapping. Advanced
suppressAutoUnique true Leaves types whose values the database generates (such as SQL Server int identity) out of column mapping and the data type list. Advanced
forceNonNullPK 0 Creates key columns as NOT NULL, so a primary key can be created: 0 never, 1 always, 2 for SQL Server and MySQL destinations only. A baseline or apply then fails if a key column holds NULL. Rebuild existing subscriptions' column lists after changing it. Advanced
useMaxVARCHAR false PostgreSQL and Snowflake destinations: creates VARCHAR columns at the maximum length (without a length), so UTF-8 data never exceeds the column. Advanced
setOracleSemantics 0 Oracle destinations: how character lengths are declared: 0 VARCHAR(n CHAR), 1 VARCHAR(n BYTE), 2 no qualifier (the database's NLS_LENGTH_SEMANTICS applies). Advanced
rrnName RRN The name of the column added for the relative record number of Db2 for i sources. See RRN and ROWID. Advanced
rowidName ROWID The name of the column added for the ROWID of Oracle sources. Change it when the destination is Oracle, where ROWID is reserved. Advanced
rrnType, rrnPrecision BIGINT, 19 Reported to the Data Replicator Manager with the RRN name; the service chooses the RRN column's type itself. See RRN and ROWID. Advanced
addUnsupportedDrivers false Lists every ODBC data source when you create a source or destination, not only supported drivers'. Advanced
viewSystemTables false Includes system tables in the list of source tables. Advanced

History and scheduling

How much replication history the control database keeps, and the scheduler. See Replication events and Scheduling.

Property Default What it does Set on
limitHistory true Limit replication history logging: deletes the oldest history records when the limits below are reached. Off keeps history indefinitely. Logging tab
totalHistoryLimit 5000 Maximum history records (total) in the control database. 0 keeps no history (the last run of each subscription and group is always kept). See How long history is kept. Logging tab
subscriptionHistoryLimit 5 Maximum records per object (subscription or group): the most history records kept for each subscription and each group, oldest deleted first. It applies whatever the total, and 0 keeps no history. Upgrading to 7.0 rewrites saved limits of 0 to keep what they kept; see How long history is kept. Logging tab
pruneFrequency 15 (minutes) How often the service deletes history beyond the limits, and audit journal entries older than rbacRetentionPolicy. Advanced
forceScheduleRecalculation false Recalculates the next run of every enabled schedule when the service starts, for example after the system clock changed. Restart. Advanced

Logging and tracing

The service log, the Windows event log (or the container log) and the debug log. See Logs and Tracing. Severity values: 0 none, 1 errors, 2 warnings and errors, 3 information and up.

Property Default What it does Set on
logSQDRCONTROL, logSQDRCONFIG, logAPPLYMANAGER, logREPLICATOR, logDIAGNOSTIC 3 (information) The lowest severity the service log records for each source of events (service control, configuration, incremental apply, replication, ODBC diagnostics). Logging tab (Log File, one value for all nine)
logSCHEDULER, logPOOLMANAGER, logLICENSEMANAGER, logNETWORK 2 (warnings) The same for the scheduler, connection pools, licensing and network events. Logging tab (Log File)
eventLogForwardLevel 0 (off) Copies service log records of this severity and up to the Windows Application event log (the container log in Docker), for external monitoring. Logging tab (System Log); Service Logs tab, Logging settings
serviceLogEnabled true Turns the service log on or off. Advanced
serviceLogMaxBytes 10485760 (10 MB) The size of each service log file before rotation. 0 turns rotation off, for logs rotated by another tool. Logging tab (Service log size per generation (MB)); Service Logs tab
serviceLogGenerations 5 How many service log files are kept, the current one included. Logging tab (Service log generations kept); Service Logs tab
debugLogEnabled false Writes the debug log, a detailed developer trace. Use it only when Stelo Support asks. Service Logs tab, Logging settings
debugLogPath empty The debug log file. Empty is sqdrsvc_trace.log in the service's log folder. Advanced
sqdrRecordSub, sqdrRecordRuns, sqdrRecordUntil empty, 0, 0 Tracing of a subscription not in a group: its name, how many runs are still to be recorded in full, and when tracing stops (seconds since 1970; 0 never). Set by the Service Logs tab when you trace a subscription. Service Logs tab

Audit journal and access control

Role Based Access Control and the audit journal. See Access control.

Property Default What it does Set on
rbacEnabled false Turns on Role Based Access Control. Don't change it on the Advanced tab. SQDR Configuration Tool (see Turn on access control)
rbacKeySeed *DEFAULT The key seed, a separate secret that lets you manage users, roles, groups and members. Don't change it on the Advanced tab. SQDR Configuration Tool (see Update seed)
rbacLoggingEnabled true Audit journal logging: records administrative actions (who changed what, and when) in the audit journal, shown on the Audit tab of the Monitoring page. Logging tab
rbacLogDetails true Also records the request and reply of each action in the audit journal. Advanced
rbacRetentionPolicy 7 (days) How long audit journal entries are kept. 0 keeps them forever. Logging tab (Audit journal retention); Audit tab, Log Retention...
rbacJournalMaxRecords 10000 How many audit journal records the Data Replicator Manager loads. 0 is unlimited. Audit tab, Log Retention... (Max Records)
rbacJournalEventMirror false Also copies service events into the audit journal, which otherwise holds only administrative actions (the events are in the service log). Advanced

Licenses

The license keys themselves are on the Licenses tab; see Licenses.

Property Default What it does Set on
licenseWarningDays 60 (days) How many days before a license ends the Data Replicator Manager shows License expiring (see Expiration warning). 0 turns the warning off. Advanced

Notifications

Email notifications, on Service Settings › Properties › Notification; see Email notifications.

Property Default What it does Set on
notifySenderMethod SMTP Sender Method: SMTP, MS Graph API (Microsoft 365) or GMail API. Notification tab
notifyToAddress, notifyFromAddress empty To and From addresses of the notification emails. Notification tab
notifySmtpServer, notifyPort empty, 25 SMTP server and Port. Notification tab
notifyMailEncryption 0 Secure: 0 no encryption, 1 SSL/TLS, 2 TLS Only. Notification tab
notifyUserID, notifyPassword empty Credentials for SMTP servers that require authentication. Notification tab
notifyOAuthClientId, notifyOAuthClientSecret, notifyOAuthTenantId, notifyOAuthAuthorizeEndpoint, notifyOAuthTokenEndpoint, notifyOAuthScope, notifyOAuthRedirectUri, notifyOAuthAuthorizedEmail, notifyOAuthToken empty The OAuth 2.0 settings of the Microsoft Graph and Gmail sender methods, and the token obtained with Authorize. Notification tab
notifyLevel 2 (errors) Which events are emailed: 0 all, 1 warnings and errors, 2 errors only, 3 none. Notification tab (Notification level); Logging tab (Email)
notifyEmailPaused false Stops sending email without clearing the email settings. Notification tab
emailThrottleMinutes 15 (minutes) Suppress repeated messages for: the same message isn't emailed again within this time. 0 sends every occurrence. Notification tab

Connections

Connections to sources, destinations and the control database, on Service Settings › Properties › Connection Pools except where noted.

Property Default What it does Set on
connPoolTimeout 360000 (ms, 6 minutes) Connection time limit (minutes): how long an unused pooled connection stays open. 0 keeps pooled connections open. Connection Pools tab
connPoolInterval 120000 (ms, 2 minutes) Pool inspection interval (minutes): how often the pools are checked for connections past the time limit. Connection Pools tab
odbcLoginTimeout 30 (seconds) Login Timeout (seconds): how long opening an ODBC connection may take. Connection Pools tab
odbcPacketSize 0 Packet Size: the ODBC packet size of new connections. 0 leaves it to the driver. Connection Pools tab
connPoolServerLost verify What the service does about pooled connections that a database has dropped (after a restart, a failover or a killed session). verify checks a pooled connection to a source or destination with a short query before using it; a dropped one is closed with the pool's other unused connections, and a new connection is opened. Only SQL Server, Db2, Oracle, MySQL, PostgreSQL and Informix connections are checked: a query could start, and bill, a cloud warehouse's compute. react doesn't check: the pool's unused connections are closed when a run finds one dropped. Advanced

Control database

Set in the SQDR Configuration Tool when the Replicator Service is configured, and kept in the properties file. See Control database.

Property Default What it does Set on
ctrlMaxConn 100 Maximum number of connections to the control database. Must be at least Maximum pooled connections. Service tab
ctrlMaxPool 50 Maximum pooled connections: how many unused control database connections are kept open. Service tab
ctrlTxnIsoLevel 2 (read committed) The ODBC transaction isolation level of control database connections, and of the connections that apply incremental changes to destinations and read the Capture Agents' staging databases. On Db2 for i destinations, read committed needs journaled tables. SQDR Configuration Tool
ctrlDSN, ctrlUID, ctrlPwd, ctrlConnectString, ctrlSchema, ctrlDB, ctrlIntegrated — The control database's ODBC data source, user, password, connection string, schema (default SQDR), database and whether Windows authentication is used. SQDR Configuration Tool

Service listeners and locale

The ports the Data Replicator Manager and PowerShell connect to, kept in the properties file; restart the service after a change. A wrong value can make the service unreachable. See also Ports.

Property Default What it does Set on
grpcADDRPORT 0.0.0.0:7737 The address and port the Data Replicator Manager connects to (all interfaces by default). Several listeners can be separated by semicolons. Restart. Advanced
grpcTransADDRPORT 127.0.0.1:7738 The port PowerShell connects to. Local connections only by default; set 0.0.0.0:7738 (and open the firewall) to allow remote ones. In the Docker container the service always listens on 0.0.0.0:7738. Restart. Advanced
grpcKEEPALIVE_TIME_MS, grpcKEEPALIVE_TIMEOUT_MS, grpcHTTP2_BDP_PROBE, grpcKEEPALIVE_PERMIT_WITHOUT_CALLS, grpcHTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS, grpcHTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS 10000, 10000, 1, 1, 5000, 10000 Keep-alive settings of both listeners (times in ms). Change them only when Stelo Support asks. Restart. Advanced
grpcMAX_SEND_LENGTH, grpcMAX_RECV_LENGTH 8388608 (8 MB) The largest message the service sends or receives. Restart. Advanced
svcLocale C on Windows, empty in Docker The locale (character type) the service sets when it starts. Empty uses the system's. An invalid value is logged and ignored. Restart. Advanced

Properties no longer used

Still listed on the Advanced tab, but neither the Replicator Service nor the Data Replicator Manager uses them: changing them has no effect.

Property Default Former use
defaultUseSelectDML false Default apply algorithm of new incremental groups (classic manager).
defaultApplyRetryTimer 180000 Default retry timer of new incremental groups (classic manager).
defaultGroupHaltOnError 2 Default Error Recovery of new groups (classic manager).
defaultIrRowLimitDefault 20000 Default Row Limit of new incremental groups (classic manager).
defaultAllowCheckpointRestart true Default Allow Checkpoint/Restart of new groups (classic manager). The Data Replicator Manager turns it on for new groups.
eventLogLevel 0 Windows event logging level. Replaced by the logging properties.
useOrderBy false ORDER BY in baseline queries.
killseconds, miniDumpType, txnIsoLevel, v35 36000, 0, 2, false —