Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.
Internal Website Search1-10 of 101 resultsRefresh
, however there are quite a few "spikes" in the performance where we are getting a lot of very slow ... and is slow in others. Also, the slow response times occur in wide variety of different queries. I ... is resized approximately every hour. Each time at the same time we see these slow response incidents
), but it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very slow. That's the only thing that is slow on my server... How can I speed it up? zmirc Mircea Chirac It's sooooo slow. It takes ages to open an entity or to refresh data. zmirc Mircea Chirac
for querying the primary key. This is the slow part. I'm looking for a way to optimise ... Steve Zara The second query is slow because of the need to retrieve timeReceived value for a lot
- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1
Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany relation. Even if object is fetched with find on the same transaction, merge is very slow. It's because on merge every single relation marked as LAZY is fetch from database. Attached two examples
it up? Stefan Stefan Mair Your test becomes slow as the database is filled. Every task run includes
Mapped By Fetch is very Slow
Slow loading from db
Queries are slow on a large database
Explains how to configure and tune ObjectDB, the fast Java object database for JPA/JDO.