airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1064) TaskInstanceModelView is slow
Date Thu, 08 Jun 2017 15:37:18 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042870#comment-16042870
] 

ASF subversion and git services commented on AIRFLOW-1064:
----------------------------------------------------------

Commit 708e8ad7bbaf865ca850bbcdfcfd89b914a09dea in incubator-airflow's branch refs/heads/v1-8-test
from [~saguziel]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=708e8ad ]

[AIRFLOW-1064] Change default sort to job_id for TaskInstanceModelView

The TaskInstanceModelView default sort column is
on an unindexed column.
We shouldn't need an index on start_date, and
job_id is just as logical
of a default sort.

Closes #2215 from saguziel/aguziel-fix-ti-page


> TaskInstanceModelView is slow
> -----------------------------
>
>                 Key: AIRFLOW-1064
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1064
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Alex Guziel
>            Assignee: Alex Guziel
>             Fix For: 1.8.2
>
>
> Due to a bad query (a full table scan), the TaskInstanceModelView is very slow. Adding
an index is costly, and job_id is a good approximation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message