Commit 317a86f
committed
<refactor>[core]: add hibernate.default_batch_fetch_size=50 to reduce N+1 SQL queries
Reduces SQL count from ~52 to ~6 for VM queries and ~32 to ~5 for Host
queries by enabling Hibernate batch fetching for EAGER collections.
Resolves: ZSTAC-79217
Change-Id: I6bb2a852c1f3f3780f2bc6cf90ce330ae1b6d9fb1 parent 9826a0e commit 317a86f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments