Migrating to DSE Graph from Apache Cassandra

Migrating an Apache Cassandra™ database to DSE Graph requires analyzing how the data is stored in the Cassandra tables. The following factors should be considered:

  • A Cassandra table can represent a vertex and edges. Generally, the relationships will be duplicated amongst Cassandra tables due to denormalization. Identifying the entities and their relationships will require scrutinizing multiple tables.

  • Cassandra table columns, especially clustering columns, are good candidates for property keys in DSE Graph.

A good starting point to build the graph data model is an entity-relationship (ER) diagram for the Apache Cassandra database. The ER diagram will show entities that will be vertex labels, entity attributes that represent property keys, and the relationships that will be edges in DSE Graph.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com