File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,13 @@ import "github.com/youtube/vitess/go/vt/throttler"
8
8
9
9
const (
10
10
defaultSourceReaderCount = 10
11
- // defaultDestinationPackCount is the number of rows which will be aggreated
12
- // into one transaction. Note that higher values will increase memory
13
- // consumption in vtworker, vttablet and mysql.
14
- defaultDestinationPackCount = 1000
11
+ // defaultDestinationPackCount is the number of StreamExecute responses which
12
+ // will be aggreated into one transaction. See the vttablet flag
13
+ // "-queryserver-config-stream-buffer-size" for the size (in bytes) of a
14
+ // StreamExecute response. As of 06/2015, the default for it was 32 kB.
15
+ // Note that higher values for this flag --destination_pack_count will
16
+ // increase memory consumption in vtworker, vttablet and mysql.
17
+ defaultDestinationPackCount = 10
15
18
defaultMinTableSizeForSplit = 1024 * 1024
16
19
defaultDestinationWriterCount = 20
17
20
defaultMinHealthyRdonlyTablets = 2
You can’t perform that action at this time.
0 commit comments