You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-507 Further ExeMgr performance improvements
This does the following: * Switch resource manager to a singleton which reduces the amount of times the XML data is scanned and objects allocated. * Make the I_S tables use the FE implementation of the system catalog * Make the I_S.columnstore_columns table use the RID list cache * Make the extentmap pre-allocate a vector instead of many small allocs
This commit is contained in:
@ -795,7 +795,7 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep,
|
||||
ByteStream bs;
|
||||
uint32_t status;
|
||||
|
||||
ResourceManager rm(true);
|
||||
ResourceManager *rm = ResourceManager::instance(true);
|
||||
DistributedEngineComm* fEc = DistributedEngineComm::instance(rm);
|
||||
SJLP jl = JobListFactory::makeJobList(&csep, rm, true);
|
||||
//@bug 2221. Work around to prevent DMLProc crash.
|
||||
@ -5349,8 +5349,8 @@ void CalpontSystemCatalog::buildSysColinfomap()
|
||||
aCol.precision = 10;
|
||||
aCol.compressionType = 0;
|
||||
|
||||
ResourceManager rm;
|
||||
if( rm.useHdfs() )
|
||||
ResourceManager *rm = ResourceManager::instance();
|
||||
if( rm->useHdfs() )
|
||||
aCol.compressionType = 2;
|
||||
|
||||
DictOID notDict;
|
||||
|
Reference in New Issue
Block a user