MySQL Create Table SQL
Table Structure: okayapi_pinot_event_index:/tablelist/okayapi_pinot_event_index.html
-- MySQL Table okayapi_pinot_event_index
-- From: OkayAPI.com
CREATE TABLE `okayapi_pinot_event_index` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(100) NULL COMMENT '',
`event_type` varchar(100) NULL COMMENT '',
`start_time` bigint(20) NULL COMMENT '',
`end_time` bigint(20) NULL COMMENT '',
`metric_name` varchar(200) NULL COMMENT '',
`service_name` varchar(200) NULL COMMENT '',
`base_id` bigint(20) NULL COMMENT '',
`version` int(10) NULL COMMENT '',
KEY `name` (`name`),
KEY `event_type` (`event_type`),
KEY `start_time` (`start_time`),
KEY `end_time` (`end_time`),
KEY `metric_name` (`metric_name`),
KEY `service_name` (`service_name`),
KEY `base_id` (`base_id`),
KEY `version` (`version`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OLAP存储分析-事件';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
name | varchar(100) | 是 | ||||
event_type | varchar(100) | 是 | ||||
start_time | bigint(20) | 否 | ||||
end_time | bigint(20) | 否 | ||||
metric_name | varchar(200) | 是 | ||||
service_name | varchar(200) | 是 | ||||
base_id | bigint(20) | 否 | ||||
version | int(10) | 是 |