摘要 |
Provided is a method for automated migration from a relational database to a graph database. A method for database migration according to an embodiment of the present invention comprises the steps of: collecting a constraint of each referencing table which belongs to tables of a relational database, that is, a migration source database, and which has a column set as a foreign key; determining a relation type of the referencing table based on the constraint of the referencing table; determining, by a database migration apparatus, a node generation table and relation frame for the referencing table based on the relation type of the referencing table; and converting data of each row of the node generation table into a node of a graph database, that is, a migration target database, and generating a relation of the graph database connecting the generated nodes based on the relation frame. |