To simplify things a bit, an Oracle database could fully master what is stored in the database. Oracle or any RDBMS will do this by maintaining relationships between pieces of data stored in tables.
A document-based database, on the other hand, stores mainly how data is consumed in the system. He accomplishes this using Key-Value pairs, with keys playing a specific key variable inside.
This will depend on the complexity of the portable system, the volumes, functionality offered, etc. Although there are several ways to migrate from a DBMS to a json-based database, the standard approach involves creating ideas about existing SQL DBs and migrating in stages.
Of course, the main process of such migration is to start by redesigning the circuit as a first step . In a document structure, such as Mongo JSON or BSON, most of the parent's child relationships can be placed in a single structure (or document). For example, Person_ID, Car_Ownership_ID can be combined to create a single json document listing all car owners.
The process of designing a sound scheme will be stored in specific targets, as well as denormalizing a fully normalized database in the DBMS. As a good second step, most JOINs need to be combined into bound collections to facilitate access with exceptions to certain external joins.
Once the schema is ready, you can use the ETL process or replace the script to retrieve, convert, and load the new schema with data replica in the RDBMS.
source share