Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23432

Provide System View for running queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      Add a node system view SQL_QUERIES with a list of currently running SQL queries.

      INITIATOR_NODE    VARCHAR
      PHASE             VARCHAR -- i.e. INITIALIZATION | OPTIMIZATION | EXECUTION | etc
      TYPE              VARCHAR -- DDL, DML, QUERY, SCRIPT
      ID                VARCHAR -- Query ID
      PARENT_ID         VARCHAR -- reference to a script
      SQL               VARCHAR
      START_TIME        TIMESTAMP WITH LOCAL TIME ZONE
      SCHEMA_NAME       VARCHAR
      TX_ID             VARCHAR
      STATEMENT_NUM     INT -- Statement number in script (NULL if not applicable)
      

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              mzhuravkov Maksim Zhuravkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h