How to improve query efficiency when using Java SDK to connect to CosmosDB?

Xu, Kyson K 121 Reputation points
2023-07-11T10:00:49.7066667+00:00

When we used the Java SDK to integrate CosmosDB, we encountered serious query performance problems. Currently, the total amount of data in a single container is 1 million, which makes it take two minutes for our interface to respond. Even if we have added a composite index, Do you have relevant experience share? Thank you so much.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,349 questions
{count} votes