@Nishi_Reddy why do you use not spring data mongodb but spring data jpa?
When using JPA with MongoDB, performance degradation can occur during data retrieval due to the necessary conversion between NoSQL and relational database models. This process involves transforming MongoDB’s document-based data into a relational structure that JPA can work with, which can lead to increased query times and reduced overall performance.