DBZ-7750: Set default for max.iteration.transactions to 500
This commit is contained in:
parent
a00a165bce
commit
3a8421ba4a
@ -47,7 +47,7 @@ public class SqlServerConnectorConfig extends HistorizedRelationalDatabaseConnec
|
||||
|
||||
public static final String MAX_TRANSACTIONS_PER_ITERATION_CONFIG_NAME = "max.iteration.transactions";
|
||||
protected static final int DEFAULT_PORT = 1433;
|
||||
protected static final int DEFAULT_MAX_TRANSACTIONS_PER_ITERATION = 0;
|
||||
protected static final int DEFAULT_MAX_TRANSACTIONS_PER_ITERATION = 500;
|
||||
private static final String READ_ONLY_INTENT = "ReadOnly";
|
||||
private static final String APPLICATION_INTENT_KEY = "database.applicationIntent";
|
||||
private static final int DEFAULT_QUERY_FETCH_SIZE = 10_000;
|
||||
|
@ -3187,10 +3187,10 @@ No entry is created for the signal to close the snapshot window.
|
||||
Set this option to prevent rapid growth of the signaling data collection.
|
||||
|
||||
|[[sqlserver-property-max-iteration-transactions]]<<sqlserver-property-max-iteration-transactions, `+max.iteration.transactions+`>>
|
||||
|0
|
||||
|500
|
||||
|Specifies the maximum number of transactions per iteration to be used to reduce the memory footprint when streaming changes from multiple tables in a database.
|
||||
When set to `0` (the default), the connector uses the current maximum LSN as the range to fetch changes from.
|
||||
When set to a value greater than zero, the connector uses the n-th LSN specified by this setting as the range to fetch changes from.
|
||||
When set to `0`, the connector uses the current maximum LSN as the range to fetch changes from.
|
||||
When set to a value greater than zero, the connector uses the n-th LSN specified by this setting as the range to fetch changes from. Defaults to 500.
|
||||
|
||||
|[[sqlserver-property-incremental-snapshot-option-recompile]]<<sqlserver-property-incremental-snapshot-option-recompile, `+incremental.snapshot.option.recompile+`>>
|
||||
|`false`
|
||||
|
Loading…
Reference in New Issue
Block a user