CREATETABLEIFNOTEXISTS zipkin_spans (`trace_id_high`BIGINTNOTNULLDEFAULT0COMMENT'If non zero, this means the trace uses 128 bit traceIds instead of 64 bit',`trace_id`BIGINTNOTNULL,`id`BIGINTNOTNULL,`name`VARCHAR(255)NOTNULL,`remote_service_name`VARCHAR(255),`parent_id`BIGINT,`debug`BIT(1),`start_ts`BIGINTCOMMENT'Span.timestamp(): epoch micros used for endTs query and to implement TTL',`duration`BIGINTCOMMENT'Span.duration(): micros used for minDuration and maxDuration query',PRIMARYKEY(`trace_id_high`,`trace_id`,`id`))ENGINE=InnoDB ROW_FORMAT=COMPRESSED CHARACTERSET=utf8 COLLATE utf8_general_ci;ALTERTABLE zipkin_spans ADDINDEX(`trace_id_high`,`trace_id`)COMMENT'for getTracesByIds';ALTERTABLE zipkin_spans ADDINDEX(`name`)COMMENT'for getTraces and getSpanNames';ALTERTABLE zipkin_spans ADDINDEX(`remote_service_name`)COMMENT'for getTraces and getRemoteServiceNames';ALTERTABLE zipkin_spans ADDINDEX(`start_ts`)COMMENT'for getTraces ordering and range';CREATETABLEIFNOTEXISTS zipkin_annotations (`trace_id_high`BIGINTNOTNULLDEFAULT0COMMENT'If non zero, this means the trace uses 128 bit traceIds instead of 64 bit',`trace_id`BIGINTNOTNULLCOMMENT'coincides with zipkin_spans.trace_id',`span_id`BIGINTNOTNULLCOMMENT'coincides with zipkin_spans.id',`a_key`VARCHAR(255)NOTNULLCOMMENT'BinaryAnnotation.key or Annotation.value if type == -1',`a_value`BLOBCOMMENT'BinaryAnnotation.value(), which must be smaller than 64KB',`a_type`INTNOTNULLCOMMENT'BinaryAnnotation.type() or -1 if Annotation',`a_timestamp`BIGINTCOMMENT'Used to implement TTL; Annotation.timestamp or zipkin_spans.timestamp',`endpoint_ipv4`INTCOMMENT'Null when Binary/Annotation.endpoint is null',`endpoint_ipv6`BINARY(16)COMMENT'Null when Binary/Annotation.endpoint is null, or no IPv6 address',`endpoint_port`SMALLINTCOMMENT'Null when Binary/Annotation.endpoint is null',`endpoint_service_name`VARCHAR(255)COMMENT'Null when Binary/Annotation.endpoint is null')