-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bring query utxo by address command performance on par with current version #205
Comments
@jasagredo said:
|
We should deprecate this query in the node (not in the As for this issue, I think to close it we need to:
|
As this is now being tracked by IntersectMBO/cardano-node#4678 I will close this one. Reopen it if you think otherwise @dnadales |
Until #4678 is completed we still need to maintain baseline performance of this query I think. |
Currently this is to be tested via the |
# Description This PR leaves out the implementation for the `LegacyCardanoBlock`, which will be implemented when needed. Part of #205
Closing as complete! |
QA reported that the
query utxo --address
command took about 10 seconds. The baseline (1.35.0
at the time of testing) took ~2.3 seconds. Furthermore, the query returned an empty set of addresses where 4 addresses were expected.We need to fix the command and bring the performance of said command on par with the baseline.
This query is inefficient in LMDB because
This query is inefficient in InMemory because
Possible solutions:
InMemory
can do the query all at once, no need to do it incrementally (8s > 5s).CardanoLedgerTables
and then stow the result (should take us to the theoretical limit).The text was updated successfully, but these errors were encountered: