当前位置: 首页 > 工具软件 > MyRocks > 使用案例 >

MyRocks引擎与MariaDB

燕扬
2023-12-01
https://mariadb.com/kb/en/getting-started-with-myrocks/
INSTALL SONAME 'ha_rocksdb';

CREATE TABLE sample (
    id INT PRIMARY KEY AUTO_INCREMENT,
    uid INT,
    name VARCHAR(25),
    ts TIMESTAMP,
    KEY(`uid`) COMMENT 'cfname=cf_uid',
    KEY(`name`) COMMENT 'cf_name'
) ENGINE=rocksdb;

 类似资料: