github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/tenant/clustertable4.sql (about)

     1  set global enable_privilege_cache = off;
     2  use mo_catalog;
     3  create cluster table t1(a int);
     4  drop table if exists t1;
     5  use information_schema;
     6  create cluster table t1(a int);
     7  use system;
     8  create cluster table t1(a int);
     9  use system_metrics;
    10  create cluster table t1(a int);
    11  use mysql;
    12  create cluster table t1(a int);
    13  use mo_task;
    14  create cluster table t1(a int);
    15  
    16  drop database if exists db1;
    17  create database db1;
    18  use db1;
    19  create cluster table t1(a int);
    20  drop database if exists db1;
    21  
    22  use mo_catalog;
    23  CREATE CLUSTER TABLE `mo_instance` (`id` varchar(128) NOT NULL,`name` VARCHAR(255) NOT NULL,`account_name` varchar(128) NOT NULL,`provider` longtext NOT NULL,`provider_id` longtext,`region` longtext NOT NULL,`plan_type` longtext NOT NULL,`version` longtext,`status` longtext,`quota` longtext,`network_policy` longtext,`created_by` longtext,`created_at` datetime(3) NULL,PRIMARY KEY (`id`, `account_id`),UNIQUE INDEX `uniq_acc` (`account_name`));
    24  SHOW CREATE TABLE mo_catalog.mo_instance;
    25  drop table mo_instance;
    26  set global enable_privilege_cache = on;