MySQL Create Table SQL
Table Structure: okayapi_pinot_anomaly_function_index:/tablelist/okayapi_pinot_anomaly_function_index.html
-- MySQL Table okayapi_pinot_anomaly_function_index
-- From: OkayAPI.com
CREATE TABLE `okayapi_pinot_anomaly_function_index` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`function_name` varchar(200) NULL COMMENT '',
`active` tinyint(1) NULL COMMENT '',
`metric_id` bigint(20) NULL COMMENT '',
`collection` varchar(200) NULL COMMENT '',
`metric` varchar(200) NULL COMMENT '',
`base_id` bigint(20) NULL COMMENT '',
`version` int(10) NULL COMMENT '',
KEY `function_name` (`function_name`),
KEY `active` (`active`),
KEY `metric_id` (`metric_id`),
KEY `collection` (`collection`),
KEY `metric` (`metric`),
KEY `base_id` (`base_id`),
KEY `version` (`version`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OLAP存储分析-function';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
function_name | varchar(200) | 否 | ||||
active | tinyint(1) | 是 | ||||
metric_id | bigint(20) | 否 | ||||
collection | varchar(200) | 是 | ||||
metric | varchar(200) | 是 | ||||
base_id | bigint(20) | 否 | ||||
version | int(10) | 是 |