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, Nov 19, 10:59 AM
Unknown Object (File)
Thu, Nov 14, 6:54 PM
Unknown Object (File)
Mon, Nov 11, 10:41 AM
Unknown Object (File)
Wed, Nov 6, 8:04 PM
Unknown Object (File)
Sun, Oct 27, 12:25 PM
Unknown Object (File)
Thu, Oct 24, 2:04 PM
Unknown Object (File)
Wed, Oct 23, 1:40 PM
Unknown Object (File)
Oct 12 2024, 1:48 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