aries-askar
aries-askar copied to clipboard
Query optimization
When querying for wallet items we found out that some queries that are generated by WQL are not optimized. Are there any initiatives planned to tackle that issue? Having a large number of profiles with multiple items and tags, this could become an issue for the performance.
Do you have an example of a query that needs optimizations? There are some basic ones applied, but nothing very advanced.
One example is here: https://github.com/hyperledger/aries-askar/blob/main/src/storage/wql/sql.rs#L188
This nesting in join condition can become problematic.