Graph storage in Cassandra keyspace and table

Describes graph storage in Cassandra keyspace and table.

DataStax Graph (DSG) uses Cassandra to store schema and data. One Cassandra keyspace is created for each graph. For example, for a graph called food, creates the keyspace food - there is a one-to-one correspondence. Metadata is stored to identify whether a graph uses older schema (Classic) or the improved schema of DSG 6.8. In a graph keyspace, a single table is created for each vertex label and each edge label to store the vertices and edges, respectively. DSG has a straightforward correspondence between vertices and edges to table rows and columns that can be explored in CQL.

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,