opt memory usage of schema service

This commit is contained in:
obdev
2023-05-26 13:16:48 +00:00
committed by ob-robot
parent 43ea6cec49
commit d9e3c7357d
22 changed files with 88 additions and 79 deletions

View File

@ -72,8 +72,8 @@ class ObPrivMgr
typedef common::ObSortedVector<ObTablePriv *> TablePrivInfos;
typedef common::ObSortedVector<ObObjPriv *>ObjPrivInfos;
typedef common::ObSortedVector<ObSysPriv *>SysPrivInfos;
typedef common::hash::ObPointerHashMap<ObTablePrivSortKey, ObTablePriv *, ObGetTablePrivKeyV3> TablePrivMap;
typedef common::hash::ObPointerHashMap<ObObjPrivSortKey, ObObjPriv *, ObGetObjPrivKey> ObjPrivMap;
typedef common::hash::ObPointerHashMap<ObTablePrivSortKey, ObTablePriv *, ObGetTablePrivKeyV3, 128> TablePrivMap;
typedef common::hash::ObPointerHashMap<ObObjPrivSortKey, ObObjPriv *, ObGetObjPrivKey, 128> ObjPrivMap;
typedef DBPrivInfos::iterator DBPrivIter;
typedef DBPrivInfos::const_iterator ConstDBPrivIter;
typedef TablePrivInfos::iterator TablePrivIter;