Postgresql - IN clause optimization for more than 3000 values
问题 I have an application where the user will be uploading an excel file(.xlsx or .csv) with more than 10,000 rows with a single column "partId" containing the values to look for in database I will be reading the excel values and store it in list object and pass the list as parameter to the Spring Boot JPA repository find method that builds IN clause query internally: // Read excel file stream = new ByteArrayInputStream(file.getBytes()); wb = WorkbookFactory.create(stream); org.apache.poi.ss