[Performance] Fix CompoundID vocabulary query project filtering

Đang mở
#236 1 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@bgajria đang làm issue này rồi.

Từ ngày 2/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

Live project filtering on the type aheads from this commit https://github.com/VEuPathDB/ApiCommonModel/commit/6fa383404875dabe878a93a507d2d9606e06d674 makes this query take almost 3 minutes. Even when the partitioned webready.transcriptpathway_p table is replaced with the unpartitioned apidbtuning counterpart, it's still too expensive (~1minute) for a live query.

The potential solutions are

  • Find a cheaper way to filter by project_id (if even possible)
  • Create a lightweight compound-project association table in either comparative webready or apidbtuning schema and rewrite the join with the association table.

If the decision ends up being a webready table, we should consider adding a temp tuning table in the api-build-71 branch to fix the issue until the next release.

Ngôn ngữ chính
Perl
Star
1
Fork
1
Merge trung bình
2 ngày 10 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VEuPathDB/ApiCommonModel

Tất cả issue của VEuPathDB/ApiCommonModel

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.