Graph storage in the DSE database keyspace and tables

DSE Graph uses the DSE database to store schema and data. Three DSE database keyspaces are created for each graph, <graphname>, <graphname_system>, and <graphname_pvt>. For example, for a graph called food, the three keyspaces created will be food, food_system, and food_pvt. The first keyspace food will hold the data for the graph. The second keyspace food_system holds schema and other system data about the graph. The third keyspace food_pvt holds information about partitioning for vertices should the graph contain a vertex with a large number of edges that requires the vertex table to be partitioned across the cluster.

In the <graphname> keyspace, two tables are created for each vertex label to store vertex and edge information, vertexLabel_p and vertexLabel_e, respectively. For example, for a vertex label author, two tables are created, author_p and author_e.

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,