About Data Source

forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
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, ... Image { byte [ ] data = new byte [ 3000000 ] ; // 3MB per ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I tried to configure my objectdb.conf to give 256KB disk accesses and use PersistenceManager L1 ref=soft caching and datastore pagefile caching 1 MB (4 256KB sized pages).  The goal is to have frequent PersistenceManager L1 cache hit, then less frequent datastore pagefile cache hit, then when absolutely necessary, read/write from/to the disk, but in a 256 KB sized IO packets. ... What is stored in a datastore pagefile cache page?  Data that was collocated by a datafile access?  Arbitrary data pulled from ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Changes in detach behaviour?

Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that all fields of retrieved objects are on their default value till i first call a getter or detach them explicitly. Up to 2.3.4 they where initialized immediately. The problem in my case is that i have a Spring DAO. It does the following: I call for example getUserByName("blub). ... But you shouldn't expect em.close() to populate data. Only data that was already populated before close will be available ... even if enhancement is required, posting it as embedded source code instead of as an attachment is preferred). Please try build ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... databases to seperate metadata used for searching and the data itself. So in total the "consumer" process is connected to 4 server-hosted ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported?... would need to be separate from objectdb, and ideally open source, or you would have no chance of changing JDO/JPA products if required ... { private byte [ ] data ;   public PersistentImage ( BufferedImage image ...

 
issue

ODB Doctor Stops Progressing (runs forever)

Hi, ... 50G   39G  8.3G  83% /data/data01  (dest drive) ... /cap/AdherisHealthSolutions/DatabaseServer/data/consumer_target_Kroger_15.odb ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider ... is actually created on a different JVM. May be it is the source of the problem. What do you think ?     ...

 
forum_thread

Query perfromance problem

Hi, I was playing with paging and sorting recently and after trying few different aproaches got some strange behavior from ODB. First of all, I will show you results from page rendering times, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO looks like this: ... times, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

TimeSeries and ObjectDB

Hi, I am using ObjectDB for storing TimeSeries (large ones) - when I get new points to add to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time, then add the new points, and then commit the whole timeserie again. I looked at Update queries - but they seem to be handling simple tasks - like multiply one field of the entity by a constant. More generally: 1- is ObjectDB suitable for large time series? 2/ If so - any example would be helpful - on how to organise the data. ... so - any example would be helpful - on how to organise the data. Thanks  EKK     ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...