Project

General

Profile

Actions

새기능 #524

open

[성능/데이터] artist_name_norm 정규화 컬럼 + 인덱스 — 아티스트 검색 sargable화 및 오매칭 제거

Added by joungmin ko about 2 months ago. Updated about 2 months ago.

Status:
해결
Priority:
보통
Assignee:
-
Start date:
06/27/2026
Due date:
% Done:

100%

Estimated time:

Description

#521에서 분리. 아티스트 검색의 비-sargable 풀스캔과 부분일치 오매칭을 함께 해결.

배경

findArtistChart(ChartMapper.xml:125-141), findArtistByName(143-173)이 UPPER(TRANSLATE(REPLACE(ARTIST_NAME,...)))를 LIKE 양변에 적용 → 인덱스 무력화(풀스캔) + '%..%' 부분일치로 무관 아티스트 오매칭(#519와 연계, 예: 'IU'가 포함문자열 전부 매칭).

목표

  • ARTIST에 정규화 표현을 가진 인덱스 가능 컬럼 도입(자동 동기화).
  • 쿼리를 정확일치/접두(prefix)로 재작성해 sargable화 + 오매칭 제거.
  • 성능(검색 레이턴시/DB부하)과 정확도 동시 개선.

진행

Design-First: 먼저 설계서 작성(docs/design/<본이슈>-artist-name-norm/README.md) → 리뷰 → 구현.
[AI 등록]

Actions

Also available in: Atom PDF