Updated on 2025-10-23 GMT+08:00

optimizer_trace

The optimizer_trace view provides information produced by the optimizer tracing capability for traced statements. For details, see Table 1. This view is read-only. All users have the read permission on this view.

Table 1 information_schema.optimizer_trace columns

Name

Type

Description

QUERY

longtext

This column is not supported in the current version, and the value is null.

TRACE

longtext

This column is not supported in the current version, and the value is null.

MISSING_BYTES_BEYOND_MAX_MEM_SIZE

integer

This column is not supported in the current version, and the value is null.

INSUFFICIENT_PRIVILEGES

tinyint

This column is not supported in the current version, and the value is null.