About clear

forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   ... ) and empty the EntityManager (L1) cache by invoking clear . JDO provides some additional settings in which objects are ...

 
forum_thread

Should I use ObjectDB and JDO?

My application is not meeting required performance because JavaDB appears to be my bottleneck.  I require a faster DB.  Surveying the Internet lead me to believe that ObjectDB might be just what I am looking for (to achieve MUCH faster database access).  But, I have a few concerns.   #1 2016-07-09 15:19 My application is not meeting required performance because JavaDB appears to be my bottleneck.  I require a ...

 
forum_thread

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? ... ( ) . commit ( ) ; em. clear ( ) ;   TypedQuery<Long> q = em. ...

 
forum_thread

Problem witch CriteriaBuilder isMember(..)

Dear Objectdb-Team I have some Problems running a criteria query against a set. But maybe I misunderstood some essentials I have defined an entity class and an embeddable class like this ... Arne   PS.: maybe I should make clear, that Testclass uses its own equal and hash methods (generated from ...

 
forum_thread

@Transient

Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date; @Transient private boolean test; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect... 19:14 So to be clear... columns are created for transient fields, but the values of those ...

 
forum_thread

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... so many memory that it fails with "-Xmx1432m", even if em.clear() at every 0xFFF insertions? Question 2 : Why the size of db ... ) . commit ( ) ; em. clear ( ) ; }   em. close ...

 
forum_thread

performance limit

Hi, can someone share expirience with performance limits of ObjectDB especialy when quering tables with large records sets. Our issue is with tables with 100.000+ records. Everything was OK when we had few thousand records. We have a simple SELECT statement which selects from a table with 100.000+ records by UserID atribute, tables have from 5 to 20 atributes. Usualy the results range from few hundred to few thousand records. This query takes up to 12 seconds. Is this normal, what when we will have few milion records, how to handle this. #1 2014-09-09 21:33 Hi, can someone share expirience with performance limits of ObjectDB especialy when quering tables with large rec ...

 
forum_thread

Great product - needs better marketing - more popularity

Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficult to explain to my customers what is it and why we should use it, and things like that, because it's quite unknown.  It's a great product, therefore I'm building the 3rd product based on ObjectDB since the beginning of this year, but I think it would be much better if your db was more popular. ... product, reasonable price, and excellent support are clear selling points. (JPA and JDO APIs versus an elegant proprietary ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: Bug Version: 2.2.8 Priority: Normal Status: Fixed Replies: 22 Type:  Bug ...

 
forum_thread

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... trace (com.objectdb.o.PGC:w: line number 232) is less clear. It points to a synchronized statement. Maybe it is the other side of the ... setting a system property,  objectdb.temp.no-resize-clear , to true - to enforce a quick file resizing.   ...