提交 b47ed7f2 编写于 作者: T Tyshawn 提交者: LINGuanRen

[BUG.FIX]adapt interm result scanner mem limit to tmp file block size

上级 f5090758
...@@ -31,7 +31,8 @@ public: ...@@ -31,7 +31,8 @@ public:
// before interm result add to manager. // before interm result add to manager.
static const int64_t SCANNER_CAPACITY = 256L << 10; // 256K static const int64_t SCANNER_CAPACITY = 256L << 10; // 256K
static const int64_t SCANNER_MEM_LIMIT = 8 << 20; // 8MB // adapt to block size in tmp file.
static const int64_t SCANNER_MEM_LIMIT = (8 << 20) - (32 << 10); // 8MB - 32K
ObIntermResultPool(); ObIntermResultPool();
virtual ~ObIntermResultPool(); virtual ~ObIntermResultPool();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册