其他
OceanBase 源码解读(五):租户的一生 | 附中秋中奖名单
CREATE RESOURCE UNIT unitname
MAX_CPU [=] cpunum,
MAX_MEMORY [=] memsize,
MAX_IOPS [=] iopsnum,
MAX_DISK_SIZE [=] disksize,
MAX_SESSION_NUM [=] sessionnum,
[MIN_CPU [=] cpunum,]
[MIN_MEMORY [=] memsize,]
[MIN_IOPS [=] iopsnum] ;
CREATE RESOURCE POOL poolname
UNIT [=] unitname,
UNIT_NUM [=] unitnum,
ZONE_LIST [=] (‘zone’ [, ‘zone’ …]);
int ObUnitManager::allocate_pool_units(ObISQLClient& client, const share::ObResourcePool& pool)
CREATE TENANT [IF NOT EXISTS] tenantname [tenant_characteristic_list] [opt_set_sys_var]tenant_characteristic_list: tenant_characteristic [, tenant_characteristic...]tenant_characteristic: COMMENT 'string' |{CHARACTER SET | CHARSET} [=] charsetname |COLLATE [=] collationname|REPLICA_NUM [=] num |ZONE_LIST [=] (zone [, zone…]) |PRIMARY_ZONE [=] zone |DEFAULT TABLEGROUP [=] {NULL | tablegroup}|RESOURCE_POOL_LIST [=](poolname [, poolname…])|LOGONLY_REPLICA_NUM [=] num|LOCALITY [=] 'locality description'opt_set_sys_var:{ SET | SET VARIABLES | VARIABLES } system_var_name = expr [,system_var_name = expr] ...
const common::ObRegion& region, share::schema::ObTenantSchema& tenant_schema, const int64_t frozen_version,
const common::ObString* ddl_stmt_str = NULL);
DROP TENANT [IF EXISTS] tenant_name [FORCE];
DROP RESOURCE POOL poolname;
DROP RESOURCE UNIT unitname;
中秋中奖名单
TIGER
郑正正
mascot
请以上三位小伙伴赶快添加小助手的微信
并附上你们的联系方式和地址速速领取礼品哦!
往期推荐