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)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Tue, Jan 21, 3:38 PM
Unknown Object (File)
Tue, Jan 21, 10:06 AM
Unknown Object (File)
Dec 6 2024, 10:25 PM
Unknown Object (File)
Dec 3 2024, 7:44 PM
Unknown Object (File)
Nov 27 2024, 2:11 AM
Unknown Object (File)
Nov 23 2024, 4:24 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