Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add index on civicrm_group.cache_date #19288

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Add index on civicrm_group.cache_date

Before

civicrm_group.cache_date used in where clauses but no index

After

Indexed on new installs

Technical Details

Per #19287 I also considered an index on refresh_date but
I couldn't see any evidence the field is useful

Comments

Per civicrm#19287 I also considered an index on refresh_date but
I couldn't see any evidence the field is useful
@civibot
Copy link

civibot bot commented Dec 30, 2020

(Standard links)

@civibot civibot bot added the master label Dec 30, 2020
@mattwire mattwire added the merge ready PR will be merged after a few days if there are no objections label Dec 30, 2020
@mattwire
Copy link
Contributor

I think this is ok

@seamuslee001
Copy link
Contributor

Been merge ready for long enough and I don't think there would be a problem with this merging

@seamuslee001 seamuslee001 merged commit 2107292 into civicrm:master Jan 6, 2021
@seamuslee001 seamuslee001 deleted the group3 branch January 6, 2021 21:36
wmfgerrit pushed a commit to wikimedia/wikimedia-fundraising-crm that referenced this pull request Jan 8, 2021
See civicrm/civicrm-core#19288
- we should be able to rely on core to set these on new installs going forwards

It's not terrbily important for dev installs to have the right indexes anyway
as lack of data means they dont' really kick in

Bug: T270680

Change-Id: If5eb428c6ae576f752e1e1fcc635a207da2509f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master merge ready PR will be merged after a few days if there are no objections
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants