You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/01/26 07:50:25 UTC

[GitHub] [dolphinscheduler] JinyLeeChina commented on a change in pull request #8199: [Cherry-pick-2.0.4][Improvement-8192][dolphinschedule_sql] Index query performance improvement

JinyLeeChina commented on a change in pull request #8199:
URL: https://github.com/apache/dolphinscheduler/pull/8199#discussion_r792377957



##########
File path: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.3_schema/mysql/dolphinscheduler_ddl.sql
##########
@@ -15,7 +15,9 @@
  * limitations under the License.
 */
 
+ALTER TABLE `t_ds_task_instance` ADD INDEX `idx_code_version` (`task_code`, `task_definition_version`) USING BTREE;

Review comment:
       Please add this to 2.0.4 schema folder




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org