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

CORE-16615: create index for utxo_transaction_output.type #1251

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

jennyang-r3
Copy link
Contributor

@jennyang-r3 jennyang-r3 commented Sep 15, 2023

This PR created index for type of utxo_transaction_output in order to improve performance of findUnconsumedStatesByType query

query unconsumed states by type
image

the query used utxo_transaction_output_pkey index before
before

the query is now using utxo_transaction_output_idx_type index
after

@corda-jenkins-ci02
Copy link
Contributor

Jenkins build for PR 1251 build 1

Build Successful:
Jar artifact version produced by this PR: 5.1.0.19-alpha-1694780243010

@jennyang-r3 jennyang-r3 marked this pull request as ready for review September 15, 2023 12:53
@vlajos
Copy link
Contributor

vlajos commented Sep 15, 2023

Did anything else change in the plan's logic?

Copy link
Contributor

@vlajos vlajos left a comment

Choose a reason for hiding this comment

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

LGTM, assuming the new query with the related WHERE condition will be added.

@jennyang-r3 jennyang-r3 merged commit 4ea9029 into release/os/5.1 Sep 15, 2023
@jennyang-r3 jennyang-r3 deleted the jennyang/CORE-16615-index-type-field branch September 15, 2023 16:29
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.

2 participants