Current location - Loan Platform Complete Network - Big data management - The hibernate query for 350,000 records takes two seconds. Is it reaching the limit of hibernate?
The hibernate query for 350,000 records takes two seconds. Is it reaching the limit of hibernate?

Original author, how can it be possible that 350,000 hibernate items only take 2 seconds, even if you use a database,

Unless you are lazy loading and only load the primary key, you will take out an empty object with only the primary key< /p>

____________________________________________________

I thought you found out all 350,000 items. Sorry, I was wrong. If you found out all the items, it would be impossible in seconds.

Indeed, 20 items 2 There is a lot of room for optimization in seconds