[ 
https://issues.apache.org/jira/browse/ARTEMIS-4382?focusedWorklogId=873939&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-873939
 ]

ASF GitHub Bot logged work on ARTEMIS-4382:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Aug/23 03:05
            Start Date: 01/Aug/23 03:05
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on code in PR #4572:
URL: https://github.com/apache/activemq-artemis/pull/4572#discussion_r1280064266


##########
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/DBOption.java:
##########
@@ -172,7 +183,7 @@ public Object execute(ActionContext context) throws 
Exception {
       super.execute(context);
 
       if (output != null) {
-         fileOutputStream = new FileOutputStream(output);
+         fileOutputStream = new BufferedOutputStream(new 
FileOutputStream(output));

Review Comment:
   this is the fix for the export ... it would take forever without this..





Issue Time Tracking
-------------------

    Worklog Id:     (was: 873939)
    Time Spent: 20m  (was: 10m)

> CLI import / export may take a huge amount of time in large datasets.
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-4382
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4382
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.30.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.31.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to