PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

baid_manish_187433 avatar image
baid_manish_187433 asked ·

Do edge and vertex with the same partition key but different clustering keys reside on different nodes?

DSE 6.8: Edge is created with partition keys from "OUT" vertex's primary key (contains few clustering keys), this implies edge and vertex are going reside on separate nodes?

dsegraph
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

bettina.swynnerton avatar image
bettina.swynnerton answered ·

Hi,

Both the vertex and the edge coming out of the vertex have the same partition key, so this implies that the edge and the vertex reside on the same node. The node is determined by the consistent hashing algorithm from the partition key. The clustering keys do not come into this.

You can test for endpoints with nodetool getendpoints: https://docs.datastax.com/en/dse/6.8/dse-admin/datastax_enterprise/tools/nodetool/toolsGetEndPoints.html

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.