You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-3460. Found that indeed this is a worthwhile optimization.
Write and appendtask were breaking the incoming data into 1MB chunks to call IOC::write/append() with. Keeping the limit for safety, but bumping it to 100MB.
This commit is contained in:
@ -68,7 +68,8 @@ bool WriteTask::run()
|
||||
|
||||
ssize_t readCount = 0, writeCount = 0;
|
||||
vector<uint8_t> databuf;
|
||||
uint bufsize = min(1 << 20, cmd->count); // 1 MB
|
||||
uint bufsize = min(100 << 20, cmd->count); // 100 MB
|
||||
//uint bufsize = cmd->count;
|
||||
databuf.resize(bufsize);
|
||||
|
||||
while (readCount < cmd->count)
|
||||
|
Reference in New Issue
Block a user