About performance

manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database. In JPA a database connection is represented by the EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... interface. Therefore, ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... to make this change on the server? How does this affect performance? The implementation hasn't changed at all. We only ... Yes, this is a server configuration. It may decrease performance a bit or may not, but if it eliminates the issue it will help for ...

 
forum_thread

Pessimestic Locking doesn't release when application unexpectedly terminates.

Hi, We have several services in our app framework that we want to use a cluster singleton. Our approach to this was to use Objectdb's pessimestic locking. This seems to work, but if the owner of the current pessimestic lock abruptly quits without releasing the lock it doesn't get released.    Is there anyway the server can detect that a client (lock owner is no longer connected) and therefore release the lock ?   Thank you   Paul Newman ... resource availability and I'm REALY impressed with the performance and stability of objectdb server. We've tried various in-memory ...

 
forum_thread

Homepage and forum nearly inaccessible

... We think we found two issues that may cause website performance and stability problems, both issues are related to massive ...

 
forum_thread

Failed to commit transaction: Java heap space (error 613)

Hi, the following exception occurred in our production machine last night: 2013-07-17 20:41:46,665 pdnsrttor3rc42-WSAgent-2-Existing/16 ERROR ObjectDbMessagePipe - Failed to put a message on queue:  pdnsrttor3rc42-ReportDSGroup_Instance-2 retrying = true [ObjectDB 2.4.6_10] javax.persistence.RollbackException Failed to commit transaction: Java heap space (error 613) We are using ObjectDB 2.4.6_10, JDK 7, and a 30GB heap space. ... each of these parameters to assess how it affects the performance and the heap usage in your specific application.   ...

 
forum_thread

Does ObjectDB support lazy loading?

I'm evaluating ObjectDB 2.0 RC1. Everything works fine except a lazy loading problem. I've a Parent class which contains List<Child>, marked with @OneToMany. After persisting a Parent object, (in the Explorer) I can see all the property values of the Child objects in the list. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null. The EntityManager is not yet closed when the getters are called.... you might want to enhance your entity classes to improve performance. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... some super wierd situation where that causes a signifcant performance issue.If you can't use synchronized then you just have to catch ...

 
page

Apache License, Version 2.0, January 2004

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions . "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shal ...

 
forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts ... is used (which is recommended anyway to improve performance). ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. ... additional queries on database to fetch all those objects. Performance was really terrible.   Another option is to ...