Overview:
Slow performance when running Vault Query Language (VQL) document queries in Vault.
Root Cause:
The VQL document query is not optimized for performance in Vault.
Solution:
Document queries that are run in the Vault API using VQL should be optimized to include the following language: SELECT LATESTVERSION {fields} FROM ALLVERSIONS documents.
This helps narrow-down the search parameters and improve VQL query response times in the Vault API.
Related Documentation:
Vault API Documentation:
Thank you