harbor/make/migrations/postgresql
Chlins Zhang 43ccd2f09f
perf: optimize the performance of accessory query (#19557)
1. Add db index for subject_artifact_id in table artifact_accessory.
2. Optimize the SQL of excluding the accessory for artifact count.

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-11-22 02:11:11 +00:00
..
0001_initial_schema.up.sql
0002_1.7.0_schema.up.sql
0003_add_replication_op_uuid.up.sql
0004_1.8.0_schema.up.sql
0005_1.8.2_schema.up.sql
0010_1.9.0_schema.up.sql
0011_1.9.1_schema.up.sql
0012_1.9.4_schema.up.sql
0015_1.10.0_schema.up.sql
0030_2.0.0_schema.up.sql
0031_2.0.3_schema.up.sql
0040_2.1.0_schema.up.sql
0041_2.1.4_schema.up.sql
0050_2.2.0_schema.up.sql
0051_2.2.1_schema.up.sql
0052_2.2.2_schema.up.sql
0053_2.2.3_schema.up.sql
0060_2.3.0_schema.up.sql
0061_2.3.4_schema.up.sql Allow empty email attribute for ldap/oidc user 2021-09-30 14:35:18 +08:00
0070_2.4.0_schema.up.sql fix: convert severity from negligible to none before saving to db (#15791) 2021-10-14 16:02:38 +08:00
0071_2.4.2_schema.up.sql Move removing old version scan reports of trivy to 2.4.2 (#16261) 2022-01-24 14:05:24 +08:00
0080_2.5.0_schema.up.sql Create index on task with job_id 2022-03-02 20:51:36 +08:00
0081_2.5.2_schema.up.sql migrate: add db index on artifact repository name (#17053) 2022-06-22 14:34:40 +08:00
0082_2.5.3_schema.up.sql fix: repair execution status when it inconsistent (#17128) 2022-07-06 17:02:03 +08:00
0090_2.6.0_schema.up.sql fix: reduce the high db cpu usage for tag retention (#17296) 2022-08-04 10:08:02 +08:00
0091_2.6.2_schema.up.sql fix: cherry pick 262 sql for migrations (#17735) 2022-11-03 10:05:46 +08:00
0100_2.7.0_schema.up.sql Add REST API to list job queue status, pause/resume job queue and list schedulers (#17707) 2022-11-17 20:12:07 +08:00
0110_2.8.0_schema.up.sql style: adjust the style of migration SQL (#18475) 2023-04-04 17:37:27 +08:00
0111_2.8.1_schema.up.sql fix: cherry pick the migration sql (#18644) 2023-05-10 16:35:07 +08:00
0120_2.9.0_schema.up.sql Sort most dangerous vulnerabilities by score and severity level (#19103) 2023-08-07 10:13:34 +08:00
0130_2.10.0_schema.up.sql perf: optimize the performance of accessory query (#19557) 2023-11-22 02:11:11 +00:00