Skip to content

[PROD] PM-4990 - member country indexes#117

Merged
kkartunov merged 1 commit into
masterfrom
PM-4990_index-for-talent-search
May 14, 2026
Merged

[PROD] PM-4990 - member country indexes#117
kkartunov merged 1 commit into
masterfrom
PM-4990_index-for-talent-search

Conversation

@vas3a
Copy link
Copy Markdown
Collaborator

@vas3a vas3a commented May 14, 2026

https://topcoder.atlassian.net/browse/PM-4990
This pull request adds new database indexes to improve the performance of queries involving country code fields in the members.member table.

  • Added partial B-tree indexes for the homeCountryCode and competitionCountryCode columns in the members.member table, indexing only non-NULL values to optimize queries filtering on these fields.
  • Added a functional index on the uppercased country column to support efficient case-insensitive searches, managed via a raw migration since this is not directly representable in the Prisma schema.

@vas3a vas3a requested review from jmgasper and kkartunov May 14, 2026 06:30
@kkartunov kkartunov merged commit 2b140a2 into master May 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants