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
Unknown Object (File)
Tue, Apr 16, 1:33 AM
Unknown Object (File)
Sun, Mar 31, 8:14 PM
Unknown Object (File)
Feb 28 2024, 5:48 AM
Unknown Object (File)
Feb 28 2024, 5:41 AM
Unknown Object (File)
Feb 28 2024, 4:32 AM
Unknown Object (File)
Feb 21 2024, 5:31 AM
Unknown Object (File)
Feb 7 2024, 5:34 PM
Unknown Object (File)
Feb 3 2024, 11:19 PM
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