https://docs.google.com/spreadsheets/d/1ekMoE8DEugwkH-U6xCtAg3J5Yjm4EX8eFLnZ9IljaYY/edit#gid=274134963
建議使用 project_id index 搭配 ILIKE 或 lower LIKE,移除 trgm 或 bigm 直到大型專案的客戶有反應為止。
比較 ILIKE 與 lower LIKE 神奇的發現:
project_id 的 index
加完 index 後必須執行 ANALYZE 才能確保抓到的數據正確
多重 index 組合
新電腦所需的耗時是舊電腦的一半,在我的新電腦上:
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up