{"id":13529631,"url":"https://github.com/jexp/neo4j-rdbms-import","last_synced_at":"2025-04-30T13:41:00.554Z","repository":{"id":28001887,"uuid":"31496182","full_name":"jexp/neo4j-rdbms-import","owner":"jexp","description":"Massively parallel RDBMS to Neo4j Importer","archived":false,"fork":false,"pushed_at":"2016-05-04T06:40:31.000Z","size":842,"stargazers_count":42,"open_issues_count":3,"forks_count":15,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-30T16:37:58.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jexp.png","metadata":{"files":{"readme":"Readme.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-01T12:41:52.000Z","updated_at":"2024-01-09T13:29:52.000Z","dependencies_parsed_at":"2022-08-02T15:45:14.172Z","dependency_job_id":null,"html_url":"https://github.com/jexp/neo4j-rdbms-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-rdbms-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-rdbms-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-rdbms-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-rdbms-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/neo4j-rdbms-import/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251713223,"owners_count":21631505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:00:38.046Z","updated_at":"2025-04-30T13:41:00.533Z","avatar_url":"https://github.com/jexp.png","language":"Java","funding_links":[],"categories":["Import","REST API"],"sub_categories":["REST API","Other"],"readme":"== Relational to Neo4j Importer\n\nScans Database Metadata to determine how to model\nUses Parallel Batch Importer to ingest data from all tables in parallel\n\nBlog Post: link:docs/relational_to_neo4j_import_tool.adoc[]\n\n=== Usage\n\nCurrently you need http://maven.apache.org/download.cgi[apache maven] installed.\n\nCommand line parameters are:\n\n`import-rdbms-mvn.sh \"jdbc:url\" \"schema\" \"graph.db\"`\n\ne.g.\n\n`import-rdbms-mvn.sh \"jdbc:mysql://localhost:3306/northwind?user=root\" \"northwind\" \"northwind.db\"`\n\n=== Transformation Rules\n\n* Table with primary key become nodes\n* FK (1:1, 1:n and n:1) become relationships\n* Tables with no PK and exactly two FK and properties become relationships (optionally also if there is a pk)\n* Tables with more than two FK become nodes\n* remove all fk fields\n\n=== Todo\n\n* Table name, column name transformation\n* Modeling Rules by table name pattern\n* Type transformation\n* Skipping Columns / Rows\n* Unique Constraints\n* Indexes\n* Compound Indexes (create artificial property)\n* Skip keys\n* Limit row rounds, by time\n* Custom SQL statements\n* Configure concurrency for JDBC reads\n\n=== Ideas\n\nneo4j-rdbms-import\n--into ...\n--relationship-rule no-pk, two-fk, table% | default: no-pk\n--skip table% table%.field,table_.id | default none\n--rename: label: Capitalize,UP_CASE,camelCase,CamelCase | default:CapitalizeCamel\n          relationship:\n          property:\n\n* include and exclude with patterns (% and _)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-rdbms-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fneo4j-rdbms-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-rdbms-import/lists"}