About database

41-50 of 200Refresh
Forum
21

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database ... to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks You can delete the database ... have two PUs configured which are the same apart from this property, I use one to 'drop' the database
Issue
21

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following ... shouldve added is that this db is running in server mode. I've taken a copy of the database ... guess the problem is actually on writting the objects to the db. Running the database
Forum
21

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web ... . Currently, to avoid multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious
Forum
21

Queries are slow on a large database

Hi, I have a 12GB database with 787603 entries. It is much larger than usual ... have to scan the entire database file and is not using indexes. Therefore I think I am not doing ... to an existing database use the Doctor to create a new database in which the index is active
Forum
21

Database is erased after deploying a new web application version

) and deploy it from Tomcat's manager, I get a new empty database. I assume there is a way (possibly a simple one) of keeping the existing database and avoid this "database reset". If that's true, I'll be glad to hear about such a solution. Thanks in advanced, Yotam. Where is your database located (i.e
Forum
21

Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell ... memory always used by new entities? -Will be the database file automatically reduced?   We have created ... are reused but the the file not resized. The database is at the end empty again, but larger
Forum
21

How to define database structure and insert some initial objects from scratch

the initial database structure of our application? We know objectdb is all about objects and probably doesn't ... jdbc driver for ETL software like Kettle? How about migrating data from another database system? Thanks in advance! To populate the database you will have to write Java code. That code
Forum
21

Using multiple databases

Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? You can use as many databases as needed at the same time but each
Forum
20

Database absolute filepath

Is there a line of code that can be used to print out my databases absolute path? I have set it as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/database/people.odb"); However, the data being shown in \lib\objectdb\database\people.odb is different
Forum
20

Master database switching to read-only mode, possibly caused by slave failure

We had a database failure causing a production outage. Both master and slave databases have failed ... database failed first and possibly caused the master to switch to read-only mode. The sequence ... - MASTER instance stopped responding to write requests. All requests sent to the database during 3