fix: change pagesize of row storage disk based buf

This commit is contained in:
slzhou 2023-12-21 09:36:11 +08:00
parent 70419dcbc6
commit 7a237504f9
1 changed files with 1 additions and 1 deletions

View File

@ -3578,7 +3578,7 @@ int32_t startRowIdSort(STableMergeScanInfo *pInfo) {
pageSize *= 2; pageSize *= 2;
int numOfTables = pInfo->tableEndIndex - pInfo->tableStartIndex + 1; int numOfTables = pInfo->tableEndIndex - pInfo->tableStartIndex + 1;
int32_t memSize = MIN(pageSize * numOfTables, 512 * 1024 * 1024); int32_t memSize = MIN(pageSize * numOfTables, 512 * 1024 * 1024);
int32_t code = createDiskbasedBuf(&pSort->pExtSrcRowsBuf, pageSize * 2, memSize, "tms-ext-src-block", tsTempDir); int32_t code = createDiskbasedBuf(&pSort->pExtSrcRowsBuf, pageSize, memSize, "tms-ext-src-block", tsTempDir);
dBufSetPrintInfo(pSort->pExtSrcRowsBuf); dBufSetPrintInfo(pSort->pExtSrcRowsBuf);
return code; return code;
} }