Page MenuHomePhabricator

Add index on dateCreated database field because it is used by Feed->Transactions functionality
AbandonedPublic

Authored by epriestley on Oct 9 2019, 8:00 AM.
Tags
None
Referenced Files
F15379450: D20855.id49722.diff
Thu, Mar 13, 9:16 PM
Unknown Object (File)
Feb 17 2025, 1:54 AM
Unknown Object (File)
Feb 17 2025, 1:54 AM
Unknown Object (File)
Feb 16 2025, 4:38 PM
Unknown Object (File)
Feb 12 2025, 5:03 AM
Unknown Object (File)
Feb 9 2025, 8:17 AM
Unknown Object (File)
Feb 9 2025, 8:17 AM
Unknown Object (File)
Feb 1 2025, 5:40 AM
Subscribers

Details

Summary

It is very expensive to fetch transaction history when you have large transaction history, Feed->Transactions functionality times out in our production environment where differential_transaction has >32million+ records

Test Plan
  1. Added indexes
  2. Checked Feed->Transaction it is no longer timing out

Diff Detail

Repository
rP Phabricator
Branch
transaction-created
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 23550
Build 32363: Run Core Tests
Build 32362: arc lint + arc unit