Research Article
Automatic NoSQL to Relational Database Transformation with Dynamic Schema Mapping
| Input: SQL DB info (dest), Processes count (n), MongoDB connection info (info), collection name (collname), MongoDB schema (schema) | | Output: Successful processes initiation | | db ⟵ createConnection(info) | | initialize_schema(schema) | | length ⟵ db.getCollection(collname).count() | | limit ⟵ | | for j ⟵ 0 to n do | | start ⟵ j | | if j = n then | | limit ⟵ length − start | | create_process(info, dest, schema, start, limit) | | end |
|