I have some performance issues in the Spring boot Project and PostgreSQL database.
Assume there is a large table, about 20 million records in the PostgreSQL database.