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

Marked possible index opportunities so far #1793

Merged
merged 13 commits into from
Jun 8, 2022
Merged

Marked possible index opportunities so far #1793

merged 13 commits into from
Jun 8, 2022

Conversation

briddo
Copy link
Contributor

@briddo briddo commented May 19, 2022

Related To #1639

Marking out possible index opportunities for discussion

Fields to be indexed are marked with # todoindex: in the diffs.
Fields where we'll need to profile use cases are marked with # TODO: Profile filtering on this field if it could benefit from an index in the diffs

TODO

  • Put code references in diffs

Copy link
Contributor

@glennmatthews glennmatthews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff!

nautobot/extras/models/datasources.py Outdated Show resolved Hide resolved
nautobot/dcim/models/sites.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/circuits/models.py Outdated Show resolved Hide resolved
nautobot/dcim/models/power.py Outdated Show resolved Hide resolved
Copy link
Member

@bryanculver bryanculver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback left:

👍 - Good index to add (a few are suggested as an index_together)
😕 - Index candidate need a possible performance eval. Leave TODO for future review.
👎 - Index isn't needed at this time (non-obvious value or may not improve performance)

@briddo briddo marked this pull request as ready for review June 1, 2022 14:24
@bryanculver
Copy link
Member

@briddo Can you update this to target next? It's for the 1.4 milestone.

Copy link
Member

@bryanculver bryanculver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please target next.

@briddo briddo changed the base branch from develop to next June 3, 2022 11:35
@briddo briddo requested a review from bryanculver June 3, 2022 11:36
Copy link
Member

@bryanculver bryanculver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for CI then will merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants