Tagged articles

JOIN FETCH

2 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 21, 2026 · Backend Development

Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance

This article analyzes eight common API performance bottlenecks in Spring Boot applications, including N+1 queries, improper entity returns, missing indexes, JOIN FETCH pagination issues, in-memory filtering, deep pagination, long transactions, and caching strategies, with code examples and optimization techniques for each.

API performanceDTO projectionJOIN FETCH
0 likes · 14 min read
Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance
21CTO
21CTO
Jul 12, 2026 · Backend Development

How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate

A batch‑import of 15,000 templates caused a JPQL query with two JOIN FETCH collections to explode into 50 million rows, triggering out‑of‑memory crashes; the article explains why this happens, how the issue was diagnosed, and three concrete fixes that cut rows by nine‑fold and speed up processing fifteen‑fold.

BatchSizeHibernateJOIN FETCH
0 likes · 10 min read
How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate