You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +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:
@ -68,9 +68,9 @@ void SystemCatalog::build()
|
||||
uint32_t partition = 0;
|
||||
uint16_t segment=0;
|
||||
|
||||
ResourceManager rm;
|
||||
ResourceManager *rm = ResourceManager::instance();
|
||||
std::map<uint32_t,uint32_t> oids;
|
||||
if( rm.useHdfs() )
|
||||
if( rm->useHdfs() )
|
||||
{
|
||||
compressionType = 2;
|
||||
oids[OID_SYSTABLE_TABLENAME] = OID_SYSTABLE_TABLENAME;
|
||||
@ -191,7 +191,7 @@ void SystemCatalog::build()
|
||||
// dbRoot = 1;
|
||||
|
||||
//SYSCOLUMN
|
||||
if( rm.useHdfs() )
|
||||
if( rm->useHdfs() )
|
||||
{
|
||||
oids[OID_SYSCOLUMN_SCHEMA] = OID_SYSCOLUMN_SCHEMA;
|
||||
oids[DICTOID_SYSCOLUMN_SCHEMA] = DICTOID_SYSCOLUMN_SCHEMA;
|
||||
|
Reference in New Issue
Block a user