KamoCRM

主キーによってドリップのリードを読み込みます

PerformanceEmailService
Shipped
2026年11月6日 18:32 UTC
Author
Kamo
Commit
eaa31e4

DripContacts.lead/stateOfLead は "l.uid =? AND l.org_id =?" を書きました。これは YugabyteDB のヒューリスティックです プランナーはix_leads_org_idから 組織全体を歩き回ります 最大の組織 (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