KamoCRM

อ่านตัวนำของดริปด้วยกุญแจหลักของมัน

PerformanceEmailService
Shipped
6 พฤศจิกายน 2569 เวลา 18:32 UTC
Author
Kamo
Commit
eaa31e4

DripContacts.lead/stateOfLead เขียนว่า "l.uid =? AND l.org_id =?" ซึ่งเป็น YugabyteDB ของ heuristic ผู้วางแผนบริการจาก ix_leads_org_id เดินไปทั่วองค์กร 7.15 วินาทีต่อผู้นำบน largest org (EXPLAIN ANALYZE, 2026-11-06) การตรวจสอบผู้เช่าตอนนี้คือ "l.org_id + 0=?": เหมือนกัน ไม่มีตัวกรอง แต่ไม่มีดัชนีที่สามารถใช้ได้ ดังนั้น ตัววางแผนจึงอ่าน lead โดยใช้ leads_ pkey (~2-5ms)

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