Skip to main content

Query history

You can view recent query history and detailed query results.

info

Query history is retained for 45 days.
After that, queries are no longer accessible. It is recommended to save important queries in advance.

View query history list

  1. Go to KakaoCloud Console > Analytics > Data Query menu.

  2. In the query history menu, check the list of executed queries.

    ItemDescription
    Query IDID generated on query execution
    QueryExecuted SQL query
    Start timeTime when the query started
    ResultQuery execution status
    ReuseWhether result reuse was applied
    - If reused: Reused
    - If not: -
    Execution timeTime taken to execute query
    Scanned data sizeAmount of data scanned
    UserUser who executed the query
    [Open query] buttonView full query and open in a new tab of the query editor

View query history detail

  1. Go to KakaoCloud Console > Analytics > Data Query menu.

  2. In the query history menu, select a query ID to view its details.

  3. Check the information on the query history detail page.

    CategoryItemDescription
    SummaryResult statusQuery execution status
    ReuseWhether result reuse was applied
    - If reused: Reused
    - If not: -
    Object Storage pathPath where query result is stored
    UserUser who executed the query
    Basic infoQuery IDID generated on query execution
    QueryExecuted SQL query
    - [Open query] button opens full query in a new tab of the editor
    Execution infoInput rowsNumber of rows scanned
    Output rowsNumber of rows returned
    Input sizeSize of scanned data
    Output sizeSize of query result
    Execution timeStart timeTime when query execution began
    End timeTime when query execution ended
    Total timeExecution time + internal processing time
    Wait timeTime spent in queue before execution
    Plan timeTime spent on query planning
    Execution timeTime taken to actually execute and generate result

Execution flow chart

The execution flow chart visually represents how data is processed during query execution.
It helps users easily analyze the execution plan and performance of their queries.

Image
Example: execution flow chart

caution

Execution charts are available only within 24 hours of query execution.

Stage view

Shows detailed execution info by stage.
You can monitor data flow and parallel processing in real time to optimize query performance.

ItemDescription
StatusQuery execution status
Execution timeTotal time of tasks per stage
⚠️ Different from Query result details execution time, as it includes time of parallel tasks
Input rowsNumber of rows scanned
Input sizeSize of scanned data
Aggregated valuesCalculated aggregate values from grouping or summarization during execution
- Multiple aggregates may appear in one stage if multiple GROUP BY operations are performed
Overview

Shows a summarized view of execution by stage.

ItemDescription
StatusQuery execution status
Execution timeTotal time of parallel tasks per stage
Input rowsNumber of rows scanned
Input sizeSize of scanned data