Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5763

Very slow to filter query history

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0-beta
    • 5.0-beta
    • Query Engine
    • None

    Description

      If there are many queryHistory records,

      1) filtering them by query object is very slow;

      2) searching them by key(the model name) cannot work.

       

      However, executing query in mysql, the result responses very fast.

      select distinct model from kylin_query_history_realization 
      where project_name = "abc";
      
      select distinct engine_type from kylin_query_history where engine_type <>  'NATIVE' and project_name = "abc";
       

      Attachments

        Activity

          People

            pfzhan pengfei.zhan
            pfzhan pengfei.zhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: