airflow-commits mailing list archives

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


ASF subversion and git services commented on AIRFLOW-1064:

Commit 708e8ad7bbaf865ca850bbcdfcfd89b914a09dea in incubator-airflow's branch refs/heads/v1-8-test
from [~saguziel]
[;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:
>             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

View raw message