About Time

release

2.4.5

... an index is used. Fixed a bug in parsing time literals in queries. Fixed recovery from failure when the ... 2.3.5 Added support of DATE(...) and TIME(...) methods in queries. Added new Explorer and Server ...

 
forum_thread

Optimization Question

One of our uses for your ObjectDB software is in maintaining the current state of a large number of data objects called tracks. These tracks change very frequently over time (every 10-15 seconds is not unreasonable), but they are also very large complex data structures so it's extremely difficult to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database.... called tracks. These tracks change very frequently over time (every 10-15 seconds is not unreasonable), but they are also very large ... whenever possible. Delaying the delete operations to time with less or no activity (and if you can use one transaction for deletion ...

 
forum_thread

Incremental online backup

Hello, Are there plans for ObjectDB to handle incremental online backups, where a backup does not create a whole new copy of the DB, but "updates" an existing backup? This behavior would make backups much faster as only a portion of the data would need to be copied. Such a feature would also allow to perform backups more often, several times a day, in order to always have a backup that's closer to the current state of the DB. Thank you ... backup, allowing us to go back to a previous backup time and not necessarily be stuck with the last one. ... backup, allowing us to go back to a previous backup time and not necessarily be stuck with the last one. Yes, this is the ...

 
forum_thread

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. ... in there, the XML validation failed at enhance time. How does it appear in the package.jdo file used for your tests? ... very rare circumstance, and doesn't work most of the time. It turns out that specifiying and retrieving the Sequence is only ...

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is ...

 
forum_thread

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. ... java.sql.Date - representing date with no time. java.sql.Time - representing time with no date. java.sql.Timestamp - ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... May 04 01:25:45 IDT 2011 Added 1000000 objects, elapsed time: 4985ms Here is a simple program that tests batch load of an ... . commit ( ) ;   long time = System. currentTimeMillis ( ) - startTime ; ...

 
release

2.3.6

... 2.3.5 Added support of DATE(...) and TIME(...) methods in queries. Added new Explorer and Server ... Changed log format to include date and time . Changed class loader management. Fixed ...

 
release

2.6.4

... a bug in handling dates ( TemporalType.DATE ) on some time zones. Fixed log archiving to affect only " odb*.log" ... is disabled. Improved closing database time when recovery is disabled. Fixed hasSingleIdAttribute ...

 
forum_thread

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the Explorer open Questions: a) what is it about? ... Ran into this error for the first time (after many years of using odb): Caused by: ... has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the ... more than one thread to access a database at any one time, and in the rare case that this happens, the queries are short lived ...