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:
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.
Thank you