While upgrading, you need to remember the version number and the layout. There are three types of formats - primary, MINOR, PATCH.
To synchronize between minor and primary versions, you can want to export and import the databases. sometimes you a lot want to migrate the database from local to PLOCAL and want to migrate the graph to RidBag.
Starting from version 1.5.x OrientDB comes with a latest storage engine: PLOCAL (Paginated local). it's persistent like the local, but stores data in a special way. Following points show the comparison among PLOCAL and local −
To migrate your nearby storage to the new PLOCAL, you want to export and re-import the database the usage of PLOCAL as storage engine. Following is the technique.
Step 1 − Open a new shell (Linux/Mac) or a Command prompt (windows).
Step 2 − Export the database the usage of the console. follow the given command to export database demo into demo.json.gzip file.
Step 3 − On a local filesystem, create a new database using the "plocal" engine –
Step 4 − Import the old database to the new one.
If you access the database within the equal JVM, consider to alternate the URL from "local:" to "plocal:"
As of OrientDB 1.7, the RidBag is a default series that manages adjacency relations in graphs. while the older database managed by using an MVRB-Tree are fully compatible, you may replace your database to the more recent layout.
You may upgrade your graph through console or the usage of the ORidBagMigration class.
OrientDB Related Interview Questions
|RDBMS Interview Questions||Core Java Interview Questions|
|SQL Database Interview Questions||Database Interview Questions|
|Hibernate Interview Questions||Database Design Interview Questions|
|Database Administration Interview Questions||DB2 SQL Programming Interview Questions|
|Software Development Lifecycle (SDLC) Interview Questions||MongoDB Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.