+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_cloud_auto_scale_log:/tablelist/okayapi_cloud_auto_scale_log.html


-- MySQL Table okayapi_cloud_auto_scale_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_auto_scale_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `create_time` varchar(32) NULL COMMENT '创建时间',
    `okayapi_cloud_auto_scale_log_query` varchar(500) NULL COMMENT '查询参数',
    `app_name` varchar(100) NULL COMMENT '应用名称',
    `cluster_name` varchar(36) NULL COMMENT '集群名称',
    `metric_type` varchar(10) NULL COMMENT '指标类型',
    `metric_name` varchar(10) NULL COMMENT '指标名称',
    `es` varchar(100) NULL COMMENT 'es连接地址',
    `last_count` int(11) NULL COMMENT '最近几次超过阈值',
    `increase_step` int(11) NULL COMMENT '扩容步长',
    `reduce_step` int(11) NULL COMMENT '缩容步长',
    `okayapi_cloud_auto_scale_log_status` varchar(32) NULL COMMENT '扩容状态,成功失败',
    `monitor_value` double NULL COMMENT '',
    `replicas_max` int(11) NULL COMMENT '最大值',
    `replicas_min` int(11) NULL COMMENT '最小值',
    `replicas` int(11) NULL COMMENT '扩展到',
    `action_interval` int(11) NULL COMMENT '扩容或缩容间隔',
    `gt` int(11) NULL COMMENT '',
    `step` varchar(32) NULL COMMENT '',
    `service_name` varchar(132) NULL COMMENT '',
    `entname` varchar(100) NULL COMMENT '',
    KEY `create_time` (`create_time`),
    KEY `okayapi_cloud_auto_scale_log_query` (`okayapi_cloud_auto_scale_log_query`),
    KEY `app_name` (`app_name`),
    KEY `cluster_name` (`cluster_name`),
    KEY `metric_type` (`metric_type`),
    KEY `metric_name` (`metric_name`),
    KEY `es` (`es`),
    KEY `last_count` (`last_count`),
    KEY `increase_step` (`increase_step`),
    KEY `reduce_step` (`reduce_step`),
    KEY `okayapi_cloud_auto_scale_log_status` (`okayapi_cloud_auto_scale_log_status`),
    KEY `monitor_value` (`monitor_value`),
    KEY `replicas_max` (`replicas_max`),
    KEY `replicas_min` (`replicas_min`),
    KEY `replicas` (`replicas`),
    KEY `action_interval` (`action_interval`),
    KEY `gt` (`gt`),
    KEY `step` (`step`),
    KEY `service_name` (`service_name`),
    KEY `entname` (`entname`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'k8s管理-弹性扩容日志';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-20 of 20 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
create_timevarchar(32)创建时间
okayapi_cloud_auto_scale_log_queryvarchar(500)查询参数
app_namevarchar(100)应用名称
cluster_namevarchar(36)集群名称
metric_typevarchar(10)指标类型
metric_namevarchar(10)指标名称
esvarchar(100)es连接地址
last_countint(11)最近几次超过阈值
increase_stepint(11)扩容步长
reduce_stepint(11)缩容步长
okayapi_cloud_auto_scale_log_statusvarchar(32)扩容状态,成功失败
monitor_valuedouble
replicas_maxint(11)最大值
replicas_minint(11)最小值
replicasint(11)扩展到
action_intervalint(11)扩容或缩容间隔
gtint(11)
stepvarchar(32)
service_namevarchar(132)
entnamevarchar(100)

Guess You Like

MySQL Table Design okayapi_cloud_api_resource

MySQL Table Design okayapi_cloud_app

MySQL Table Design okayapi_cloud_app_configure

MySQL Table Design okayapi_cloud_app_service

MySQL Table Design okayapi_log_show_appname

MySQL Table Design okayapi_log_show_ip

MySQL Table Design okayapi_log_show_filter

MySQL Table Design okayapi_log_data_source

MySQL Table Design okayapi_log_show_history

MySQL Table Design okayapi_cloud_app_template

MySQL Table Design okayapi_cloud_authority_user

MySQL Table Design okayapi_cloud_auto_scale

MySQL Table Design okayapi_cloud_build_job

MySQL Table Design okayapi_cloud_build_job_history

MySQL Table Design okayapi_cloud_ci_dockerfile

MySQL Table Design okayapi_cloud_ci_perm

MySQL Table Design okayapi_cloud_ci_release_history

MySQL Table Design okayapi_cloud_ci_release_log

MySQL Table Design okayapi_cloud_ci_service

MySQL Table Design okayapi_cloud_cluster

TOP ↑