About Index

issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): ... running with -Xmx1024m) and some issues with a particular index, which was also flagged when I ran the database doctor on a backup of the ... may be related. Please report again after repairing the index and increasing the heap size (-Xmx1024m may not be sufficient). ...

 
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. ... would not be required as the database would have some index map already (not sure what the right terminology is) - so do i really ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...

 
issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... tried with the priority and createTime fields as both index and non-index but this doesn't make any difference. If I dont enable the ...

 
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. #1 2010-06-16 15:41 One of our uses for your ObjectDB software is in maintaining the current state of a large number of data objects cal ...

 
forum_thread

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy attribute) 2- Retrieve only 10 000 for testing 3- Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. ... problem than the left join one. ( Note : The left join index pb still exists, i will test your optimisation disabled latter ) ... no need in this additional query. Setting an index on the owner side of the relationship ( MyEntityChild.myEntity ) may ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... all the indexes. This tool is useful when adding a new index (in the JDO metadata) to a class that already has persistent instances in ...

 
issue

[ObjectDB 2.5.1_05] Unexpected exception (Error 990)

I have this error in log. The query can't return result. Thanks for help. LOG: Bug Version: 1.04 Priority: Normal Status: Duplicate Replies: 3 Type:  Bug ...

 
forum_thread

Navigation to Collection Elements

Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent object of class X. Can I navigate (as oppose to using JOIN) to individual elements (in JPA & JDO) ? e.g.: x.list.get(10) x.map.get("key") x.list.get(10).get("key") // the element itself is a map Thanks & Best Regards #1 2010-09-15 05:53 Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent& ...