-
|
I do currently test the Scylla Backend if it performs faster than BerkleyJE and encountered following problem when committing a transaction (this is JRuby): This did not occur on BerkleyJE. Is this a bug or some configuration problem or data structural problem? best EDIT: Related issue on scylla repo scylladb/scylladb#1736 indicates that the partition key is too large and for optimal performance should be much smaller than 64k. I wonder why this key is so large? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
That's the default Scylla & Cassandra limitations. Key size should be <= 65535.
See documentation about custom vertex ids. I would suggest any string vertex id to be less then 512 characters to avoid compatibility issues. |
Beta Was this translation helpful? Give feedback.
Another thing to check is the combined size of the composite index key. Perhaps, you used multiple properties with large values in a composite index and it resulted in the encoded key larger than 65535. This should be double-checked, but I assume it could result in this issue as well.