-
Notifications
You must be signed in to change notification settings - Fork 174
Create Table
liuhuicong edited this page Feb 19, 2019
·
2 revisions
CREATE TABLE `TestDB`.`test_table` (
`userid` int(11) NOT NULL,
`username` varchar(50) NOT NULL,
`birthdate` DATE NOT NULL,
`register_time` DATETIME NOT NULL,
`user_desc` TEXT NOT NULL,
PRIMARY KEY (`userid`),
KEY `name_key` (`username`),
FULLTEXT KEY `desc_key` (`user_desc`)
) ENGINE=Rocksdb DEFAULT CHARSET=gbk AVG_ROW_LENGTH=100 COMMENT='{"comment":"", "resource_tag":"", "namespace":"TEST_NAMESPACE"}';
After CREATE TABLE returns successfully, the synchronization of table schema from baikalMeta to baikaldb/baikalStore requires 10-30 seconds, during which SQL command like show tables and desc table may fail.
- Compile
- Installation
- Create Table Desc
- User Guide
- sql运维手册
- 使用Docker Compose快速体验
- 使用Ansible部署BaikalDB集群
- 使用Prometheus监控BaikalDB指标
- 索引选择规则
- 函数汇总
- 向量索引使用
- TTL使用
- 复杂类型
- 分区使用
- 窗口函数
- 全文索引
- 基于SST的备份恢复
- 数据表的延迟删除与恢复
- Region元信息管理
- MPP
- binlog设计
- meta功能
- meta心跳优化
- region调度相关
- 分区功能
- 多机房部署_peer_balance
- 表主机房功能
- online_ddl设计文档
- split_merge
- store内部设计
- 分布式事务
- 列存引擎
- 向量索引(向量数据库)
- 子查询设计文档
- 存算分离
- 执行引擎
- 索引设计
- 资源限制
- 其他