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)
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
Unknown Object (File)
Nov 21 2024, 10:22 PM
Unknown Object (File)
Nov 19 2024, 10:59 AM
Unknown Object (File)
Nov 14 2024, 6:54 PM
Unknown Object (File)
Nov 11 2024, 10:41 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