Convert embedded database to server

#1

Hello,

What is the right way to convert an embedded database to a server one ?

As a result, will a file "db.odb" exist ? 

If no, where will be located db files ?

Regards,

Xirt

 

#2

No need to convert. Same odb file is used in both client-server and embedded modes.

Just copy the odb file to the server data directory, start the server, and access the database from your application using a client-server connection url.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Thank you support for your answer.

What are the pros and cons between an embedded database ( with remote connection enabled ) and a real server instance database ?

Regards

 

#4

The benefit of the embedded-server mode is of course better performance of the main application that accesses the database in embedded mode, which is faster.

The main drawback is that the embedded server depends on the main application, so will not be available when the  application closes its connections to the database or stopped. In addition, since this mode is newer and less widely used there is higher chance for unexpected behaviour.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login