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

fix: Performance optimisation while getting the Data from DB for chart versions for a particular chart #2139

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

manish-agrawal-ai
Copy link
Contributor

@manish-agrawal-ai manish-agrawal-ai commented Aug 5, 2022

Description

Performance issue fix while getting the Data from DB for chart versions for a particular chart :

  1. DB query optimised
  2. Index created in DB. earlier query plan was using Seq scan which was slow. hence created index to use Index scan

Fixes #2109

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Refactoring

How Has This Been Tested?

by checking the performance of the API

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@manish-agrawal-ai manish-agrawal-ai changed the title performance fix : issue#2109 fix: Performance optimisation for "GetArtifactsForCdPipeline" API #2101 Aug 5, 2022
@manish-agrawal-ai manish-agrawal-ai changed the title fix: Performance optimisation for "GetArtifactsForCdPipeline" API #2101 fix: Performance optimisation for getting the Data from DB for chart versions for a particular chart Aug 5, 2022
@manish-agrawal-ai manish-agrawal-ai changed the title fix: Performance optimisation for getting the Data from DB for chart versions for a particular chart fix: Performance optimisation while getting the Data from DB for chart versions for a particular chart Aug 5, 2022
@vikramdevtron vikramdevtron merged commit ccf1119 into main Aug 5, 2022
@vikramdevtron vikramdevtron deleted the issue_2109_new branch August 5, 2022 07:58
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.

Performance issue on values tab page load for helm app
2 participants