diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java index 3a1c8ca56e..f66b75e377 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java @@ -337,13 +337,12 @@ public class PutDatabaseRecord extends AbstractProcessor { static final PropertyDescriptor MAX_BATCH_SIZE = new Builder() .name("put-db-record-max-batch-size") .displayName("Maximum Batch Size") - .description("Specifies maximum batch size for INSERT and UPDATE statements. This parameter has no effect for other statements specified in 'Statement Type'." - + " Zero means the batch size is not limited.") - .defaultValue("0") + .description("Specifies maximum number of statements to be included in each batch. Zero means the batch size is not limited, " + + "which can cause memory usage issues for a large number of statements.") + .defaultValue("1000") .required(false) .addValidator(StandardValidators.NON_NEGATIVE_INTEGER_VALIDATOR) .expressionLanguageSupported(FLOWFILE_ATTRIBUTES) - .dependsOn(STATEMENT_TYPE, INSERT_TYPE, UPDATE_TYPE, USE_ATTR_TYPE, USE_RECORD_PATH) .build(); static final PropertyDescriptor DB_TYPE;