~/talk

Java Persistence and Hibernate Tips that can boost up your application performance

Talkat Voxxed Days Cluj-Napoca 2018 · 2018-11-21..11-23· [databases]
slides:none on file

Explains concrete fixes and numbers: avoid the JPA table generator doubles connections for high concurrency and prefer identity or sequence; enable JDBC/driver statement caching and upgrade drivers for Oracle/SQL Server/Postgres/MySQL to gain measurable plan cache hits; turn on batching and Postgres rewriteBatchedStatements to collapse roundtrips; set session/query read-only to drop snapshots; prefer pagination over streaming when plans change; use dynamic-update or session update instead of merge for large detached batches; delay connection acquisition via pool autoCommit=false.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30About me
  3. 1:22Mappings
  4. 2:57How does it work
  5. 3:35Concerns
  6. 4:22Identity vs Table
  7. 5:21AutoGenerator
  8. 6:32Sequence
  9. 7:27Database Mappings
  10. 8:41Dedicated Type
  11. 9:11Custom Type
  12. 9:40Supported types
  13. 10:37JSON support
  14. 12:44Execution Plan Cache
  15. 14:29SQL Server
  16. 16:46Statement Caching
  17. 18:04SQL Server Driver
  18. 19:30Statement Cache Support
  19. 19:55Statement Cache MySQL
  20. 20:27Query API
  21. 20:54Reusing Execution Plan
  22. 21:10Bind Mode
  23. 21:26In Clause
  24. 21:37In Clause Variance
  25. 22:27Reusing an Execution Plan
  26. 23:42Query Plan Cache
  27. 24:39Query Plan Cache Performance
  28. 26:13Distinct
  29. 27:38Distinct in SQL
  30. 28:11Remove duplicates in hibernate
  31. 28:26Check the execution plan
  32. 30:03Loading Time Snapshot
  33. 30:25ReadOnly True
  34. 31:14Spring Framework
  35. 32:13Pagination
  36. 32:39Fetch
  37. 32:59Streaming
  38. 33:32Get Resolved Stream
  39. 33:55Database Cursor
  40. 34:29Stream
  41. 35:05Execution Plan
  42. 35:50Streaming vs Pagination
  43. 40:09Batching
  44. 41:17Persistence
  45. 41:50Persistence context
  46. 42:02Batch processing
  47. 42:38Batching for Hibernate
  48. 43:26Batching for Postgres
  49. 44:00Rewrite Batch
  50. 44:35Hibernate Update
  51. 46:04Hibernate Dynamic Update
  52. 46:33Hibernate Detach Entity
  53. 47:11Hibernate Merge Entity
  54. 47:36Hibernate Call Session Update
  55. 48:13Managing Connections
  56. 50:18Connection Pool
  57. 51:10Delay Connection Acquisition
  58. 51:53Thank you
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.