KamoCRM

주 키에 의해 드립의 리드 읽기

PerformanceEmailService
Shipped
2026년 11월 6일 오후 6:32 UTC
Author
Kamo
Commit
eaa31e4

DripContacts.lead/stateOfLead 는 "l.uid = ? AND l.org_id = ?" 를 작성했는데, 이는 YugabyteDB 의 발견법입니다 플래너는 ix_leads_org_id에서 전체 조직을 걸어서 제공합니다 largest org (EXPLAIN ANALYZE, 2026-11-06). 테넌트 체크는 이제 "l.org_id + 0 =?": 동일 필터가 있지만 어떤 인덱스도 그것을 제공할 수 없으므로 플래너는 leads_pkey (~2-5 ms)에 의해 리드를 읽습니다.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing