ObjectDB Database Search

101-150 of 200 results

Index causes increased memory usage

stored in memory that assists in searching on indexes?  Are they cached in any way? Here's a bit ... ;  ObjectDB version 2.37_22. Thanks in advance. cvtsc Dev Team There is no special cache for indexes. Pages that contain indexes are cached in the page cache , exactly as pages that contain data. Try

In memory processing for ObjectDB

Transaction per second limit and making sure if ObjectDB can help us here. Additionally the only cache I see in settings is query cache , is it only that query result sets are cached or I can actually have a all of my Objects in Cache ? We can run the embeeded mode for perfomance, or embeeded + in memory

significant performance decrease

to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: Now the question is, are there settings to change the caching ... Support great, that helps, just to be sure for the cache settings, as normal, the bigger, the better (or

How to Use a SF with extended Persistence Context?

) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3. cache ... ] at org.jboss.as.ejb3. cache .impl.backing.NonPassivatingBackingCacheImpl.create(NonPassivatingBackingCacheImpl.java:97) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3. cache .impl

OptimisticLockException

off caching ??) 2. do I understand correctly that if object x is modified and persisted by process B ... it??   dmoshal David Moshal You can disable the L2 cache (or empty it with evict ) and empty the EntityManager (L1) cache by invoking clear . JDO provides some additional settings in which objects

Out of memory

kind of glitch with sharing page cache ? lwalkowski Lukasz Walkowski Could you please provide ... caching activities but it is unclear what share can be released by the GC and what cannot be released. In addition, please post the ObjectDB configuration file (to show cache sizes, etc.). support Support

Entity is not related to ObjectDB, but i get exception from ObjectDB

.domain.entity.psql.DialogNew at com.google.common. cache .LocalCache$Segment.get(LocalCache.java:2201) [guava-16.0.1.jar:] at com.google.common. cache .LocalCache.get(LocalCache.java:3934) [guava-16.0.1.jar:] at com.google.common. cache .LocalCache.getOrLoad(LocalCache.java:3938) [guava-16.0.1.jar:] at com

Query results are not up to date for entities, not primitives

Santos This could be the result of getting query results from the cache . There is no difference between criteria queries and string based JPQL queries regarding the cache (and actually every criteria query it converted by ObjectDB to JPQL). But some cache operations cannot be used with queries

Pooling of EntityManagers

this is the most expensive resource. However, the persistence context, i.e., the first level cache that an EntityManager holds is not preserved or reused. Is may be worth reusing these caches as well in some ... level cache and the described conflict if other entity managers use the same objects at the same time

Ram allocation

  Thanks in advance   Regards nedim.selmanovic Nedim Selmanovic Do you mean for cache ? ObjectDB can benefit from any available RAM: By the operating system cache that may include all or significant parts of the database. By increasing the ObjectDB cache sizes in the ObjectDB configuration

Entity with java.util.Date column gives ClassCastException in BIRT

.fetch(ResultSet.java:189) at org.eclipse.birt.data.engine.executor. cache .OdiAdapter.fetch(OdiAdapter.java:214) at org.eclipse.birt.data.engine.executor. cache .RowResultSet.fetch(RowResultSet.java:145) at org.eclipse.birt.data.engine.executor. cache .RowResultSet.doNext(RowResultSet.java:118) at org

Slave server not getting deletes

and delete queries bypass the persistence context and therefore may cause various cache issues ... again. Trianglehead Json Error This might not be related to replication but to cache in general. DELETE and UPDATE queries bypass the persistence context and the cache , and therefore, an extra caution

database optimization

cache configuration:    level2="0mb" - 20 msec query    level2="2mb" - 10 msec    level2="10mb" - 40 msec Question: why is a larger level2 cache worse than no level2 cache , ie 10mb worse than 0mb? 2) (separate issue) I'm noticing that write queries are around 20-50x

in-memory and on-disk support?

disk database, with a large memory cache . In addition,  the operating system usually uses free physical memory as cache , so you may find that you get the performance that you need ... is going to make inefficient use of my memory, however your alternative option of larger memory cache

Occasionally slow requests in load testing

first). Larger  processing = cache value. More RAM on the machine. Using a dedicated disk ... the load. The number of threads it was actually using was 380. How is larger processing = cache value ... a bad thing.  How is larger processing = cache value is going to reduce duration of a single

can we use objected with ehcahce?

Hello , I need advanced caching system. Terracotta ehcache provides us , advanced distributed cache mechanism.   Can we use objectdb with ehcache ?   kadirbasol Kadir BASOL ObjectDB uses its own non pluggable cache , so currently it cannot be replaced with another cache

OEM Enhancer causing Jenkins job to freeze

) at eu.ysoft.commons.logging.LogFactory.getLog(LogFactory.java:32) at eu.ysoft.safeq.core. cache .entity ... .safeq.core. cache .entity.CacheableDriverProperty at com.objectdb.o.JEW.aK(JEW.java:185)    ... dump was taken while the Enhancer was analyzing the class  eu.ysoft.safeq.core. cache .entity

EM.find() is suddenly slower

getting data from the L2 data cache (e.g., due to limited RAM and large cache that might be swapped to the disk?). Try to disable the L2 data cache or decrease its size, assuming you use it. support Support Our second level cache is not activated: Do you have another explanation? btc_es BTC

Object as parameter results in exception

and the query program cache cannot be used. Maybe ObjectDB should optimize such queries replacing literals ... . So ObjectDB would indeed cache this query the way it is? Please ignore my original post - the literals ... ObjectDB on every call and cache will be used. Additional optimization can be achieved by: Reusing

Storing Images and Object Pooling

You should be able to use ObjectDB successfully as an image database. ObjectDB includes many types of cache ... changing the default reference cache configuration from weak to soft or strong. However, notice that objects are cached as objects per EntityManager , so you will have to use long term shared EntityManager to benefit from this object pooling. support Support

OutofMemory error with Object DB 2.0

, the problem now is different. Could you please post your objectdb.conf file? The database cache ... which was enabled in default conf: madhuarish Bhanu Pathak The cache should be 64MB per open database, so assuming you have one open database there is a cache memory problem. The heap dump may help in

Server out of memory exceptions

due to increasing page cache  size. I see that the test uses 4 different databases (2 large and 2 small). The default size of each page cache (per database) is 64MB, so the cache of the two large databases consumes at least 128MB (probably a little more). Other caches (page caches of the 2 other databases

Blocked by find

is related to dilution of pages from the page cache when it becomes too loaded, but the reason ... traces may indicate an infinite loop in purging pages from the cache , i.e. #1 and #3 indeed reflect ... of cached pages contains a circle since there are no other apparent reasons. With no test case

Large query parameter - out of memory

internally. I've tried reducing the query- cache programs setting but this made no difference (I'm ... behind the test is to create a data cache to prevent the need for large data to be held in memory. The data ... the cache . thumbripper Richard Szurgot Your test demonstrates a failure of ObjectDB in evaluating

Use temporary files to enable very large transactions

because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb ... the first level cache (by flush() and detach()). But an array of bytes, any ObjectDB memory ... after clear. And the heap reached its limit after x flushes. I believe the byte arrays are the db cache pages

ArrayIndexOutOfBoundsException: -1

if possible. felixobjectdb Richard Szurgot It was a bug in the page cache . This cache can hold ... when the operation has started). You cannot disable that cache since it has a minimum size even if you request zero ... ) - the page cache could purge newer version of a page leaving older versions for use by newer users

Exception Failed to read from file

.PersistenceException Failed to read from file 'C:\SafeQORS\server\ cache \MainORSCache.odb' (error 117 ... ) at com.ysoft. cache .objectdb.ObjectCacheDB.deleteInOpenTransaction(ObjectCacheDB.java:361) at com.ysoft. cache .objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:356) at com.ysoft. cache .objectdb

NullPointer when accessing entity field

.core. cache .entity.CacheableJobInfo.__odbGet_id(CacheableJobInfo.java:1) at eu.ysoft.safeq.core. cache .entity.CacheableJobInfo.getPrimaryKey(CacheableJobInfo.java:828) at eu.ysoft. cache .cluster.bucket.Bucket.add(Bucket.java:36) at com.ysoft. cache .objectdb.cluster.bucket.ObjectCacheDBBucketManager

each 1-2 days objects on some objectdb level lock/block each other

The two thread dumps show two different waiting situations. The first thread dump shows a page cache lock ... at the ObjectDB level. There is a query cache of course, but it is useful for getting query results quickly ... . The objects that are added to the heap are related to: (1) the L2 cache , (2) the query caches

Out of Memory - Slow leak?

databases are 3 "queue" databases and 3 normal databases). I'm running with the following cache ... lose any benefits of caching around the metadata as soon as a large object is loaded? Are there any ... also the servers, with different configuration (page cache size, query cache size) for the metadata server

missing merger

. Both have been updated yesterday, possibly when the error was generated. So this time it might be a cache issue ... of database corruption, and in the worst case restarting the system to clear all cached data may help, for now ... out whether a cache is involved or just a bad managed collision. It is also possible (in the optimal

javax.jdo.annotations.Persistent.cacheable

JDO Annotation Attribute in javax.jdo.annotations.Persistent String cacheable default "true" Whether this field/property is cacheable in a Level2 cache . Since: JDO 2.2

DataStoreCache.evict(oid) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evict (   Object oid ) Evict the parameter instance from the second-level cache . Parameters: oid - the object id of the instance to evict. Since: JDO 2.0

DataStoreCache.evictAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Object... oids ) Evict the parameter instances from the second-level cache . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0

DataStoreCache.evictAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Collection oids ) Evict the parameter instances from the second-level cache . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0

DataStoreCache.evictAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Class pcClass,    boolean subclasses ) Evict the parameter instances from the second-level cache . Parameters: pcClass - the class of instances to evict subclasses - if true, evict instances of subclasses also Since: JDO 2.0

DataStoreCache.evictAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   boolean subclasses,    Class pcClass ) Evict the parameter instances from the second-level cache . Parameters: pcClass - the class of instances to evict subclasses - if true, evict instances of subclasses also Since: JDO 2.1

DataStoreCache.pin(oid) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pin (   Object oid ) Pin the parameter instance in the second-level cache . Parameters: oid - the object id of the instance to pin. Since: JDO 2.0

DataStoreCache.pinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Collection oids ) Pin the parameter instances in the second-level cache . Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0

DataStoreCache.pinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Object... oids ) Pin the parameter instances in the second-level cache . Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0

DataStoreCache.pinAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Class pcClass,    boolean subclasses ) Pin instances in the second-level cache . Parameters: pcClass - the class of instances to pin subclasses - if true, pin instances of subclasses also Since: JDO 2.0

DataStoreCache.pinAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   boolean subclasses,    Class pcClass ) Pin instances in the second-level cache . Parameters: pcClass - the class of instances to pin subclasses - if true, pin instances of subclasses also Since: JDO 2.1

DataStoreCache.unpin(oid) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpin (   Object oid ) Unpin the parameter instance from the second-level cache . Parameters: oid - the object id of the instance to unpin. Since: JDO 2.0

DataStoreCache.unpinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   Collection oids ) Unpin the parameter instances from the second-level cache . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0

DataStoreCache.unpinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   Object... oids ) Unpin the parameter instance from the second-level cache . Parameters: oids - the object id of the instance to evict. Since: JDO 2.0

DataStoreCache.unpinAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   Class pcClass,    boolean subclasses ) Unpin instances from the second-level cache . Parameters: pcClass - the class of instances to unpin subclasses - if true, unpin instances of subclasses also Since: JDO 2.0

DataStoreCache.unpinAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   boolean subclasses,    Class pcClass ) Unpin instances from the second-level cache . Parameters: pcClass - the class of instances to unpin subclasses - if true, unpin instances of subclasses also Since: JDO 2.1

javax.jdo.datastore.DataStoreCache$EmptyDataStoreCache

JDO Class EmptyDataStoreCache java.lang.Object ∟  javax.jdo.datastore.DataStoreCache$EmptyDataStoreCache Implemented Interfaces: DataStoreCache This class is an empty implementation of the DataStoreCache interface. It can be used by an implementation that does not support a second-level cache

javax.jdo.listener.AttachLifecycleListener

is the corresponding persistent instance in the cache ; the target instance is the detached instance. This method

AttachLifecycleListener.postAttach(event) - JDO Method

instance in the cache ; the target instance is the detached instance. This method is called