[ https://issues.apache.org/jira/browse/KYLIN-5763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832719#comment-17832719 ]
ASF subversion and git services commented on KYLIN-5763: -------------------------------------------------------- Commit 71a7a52d669f3c33b6efd7f9bbc80a5b1dfd894a in kylin's branch refs/heads/kylin5 from lixiang [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=71a7a52d66 ] KYLIN-5763 Fix query history model filter > Very slow to filter query history > --------------------------------- > > Key: KYLIN-5763 > URL: https://issues.apache.org/jira/browse/KYLIN-5763 > Project: Kylin > Issue Type: Bug > Components: Query Engine > Affects Versions: 5.0-beta > Reporter: pengfei.zhan > Assignee: pengfei.zhan > Priority: Major > Fix For: 5.0-beta > > > 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. > {code:sql} > 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"; > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)