Problem/Motivation
The codes pool csv table requires an index for increased performance once the upload table gets to a large size.
Proposed resolution
Add an index based on entity_id then status.
Data model changes
Add an index based on entity_id then status.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | codes_pool-add-entity_id_status-index-3228627-9.patch | 2.31 KB | kschisler |
| #5 | codes_pool-add-entity_id_status-index-3228627-5.patch | 1.65 KB | davenelson |
| #2 | codes_pool-3228627-2_0.patch | 1.46 KB | kschisler |
Comments
Comment #2
kschisler commentedComment #3
kschisler commentedComment #4
vijaycs85Over all looks good. just need to update the update hook:
We need to pull all CSV budles and update them. Here we are updating just a bundle
defaultComment #5
davenelson commentedComment #6
vijaycs85Thanks, @davenelson. It looks good.
Comment #7
kschisler commentedWould like to see this rerolled to add a check for existing indexes as well as a new index added against code.
Patch incoming
Comment #8
vijaycs85Thanks, @EvanSchisler.
Comment #9
kschisler commentedComment #11
vijaycs85Thank you. committed to 8.x-2.x