We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
This might improve performance a lot in both query time and indexing time.
Problem :
The text was updated successfully, but these errors were encountered:
I overlooked that the index is already skipping the FeeContract https://github.com/ergoplatform/explorer-backend/blob/master/modules/explorer-core/src/main/resources/db/V9__Schema.sql#L153 WHERE NOT ergo_tree_template_hash = 'd19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304'; This should be done even for any P2PK as they all have the same template
WHERE NOT ergo_tree_template_hash = 'd19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304';
Ideally storing NULL in these cases and then do :
CREATE INDEX "node_outputs__ergo_tree_template_hash" ON node_outputs (ergo_tree_template_hash) WHERE ergo_tree_template_hash IS NOT NULL;
Sorry, something went wrong.
No branches or pull requests
Hi,
This might improve performance a lot in both query time and indexing time.
Problem :
The text was updated successfully, but these errors were encountered: