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

Xu, Kyson K 121 Reputation points

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