DROP TABLE IF EXISTS diaries;
CREATE TABLE diaries (
temperature DECIMAL(6, 3)
) ENGINE InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
SHOW CREATE TABLE diaries;
Table	Create Table
diaries	CREATE TABLE `diaries` (
  `temperature` decimal(6,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
INSERT INTO diaries (temperature) VALUES (21.281);
SELECT * FROM diaries;
temperature
21.281
ALTER TABLE diaries ENGINE = mroonga;
SELECT * FROM diaries;
temperature
21.281
INSERT INTO diaries (temperature) VALUES (14.213);
INSERT INTO diaries (temperature) VALUES (17.821);
SELECT * FROM diaries;
temperature
21.281
14.213
17.821
SHOW CREATE TABLE diaries;
Table	Create Table
diaries	CREATE TABLE `diaries` (
  `temperature` decimal(6,3) DEFAULT NULL
) ENGINE=Mroonga DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
DROP TABLE diaries;
