Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

master -> dev - Merge pull request #39 from topcoder-platform/PM-2206-2nd-fix#53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kkartunov merged 1 commit intodevelopfrommaster
Nov 12, 2025

Conversation

@kkartunov
Copy link
Contributor

Additional performance tweak for picachui

Additional performance tweak for picachui
-- Improve search responsiveness for group-constrained queries
CREATEINDEXIF NOT EXISTS"challenge_groups_gin_idx"
ON"challenges"."Challenge"
USING GIN ("groups");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[❗❗correctness]
Ensure that thegroups column is of a type that supports GIN indexing, such asjsonb orarray. Using GIN on unsupported types can lead to unexpected behavior or performance issues.

@@index([updatedAt])
@@index([typeId])
@@index([trackId])
@@index([groups],type:Gin,map:"challenge_groups_gin_idx")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[⚠️performance]
The use of a GIN index on thegroups array field is appropriate for improving query performance involving array operations. However, ensure that thepg_trgm extension is enabled in your PostgreSQL database if you plan to use trigram-based searches with this index. Without it, certain operations may not perform as expected.

@kkartunovkkartunov merged commit38c74bd intodevelopNov 12, 2025
7 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@kkartunov@jmgasper

[8]ページ先頭

©2009-2025 Movatter.jp