Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Titan cassandra limitations #1383

Open
mglusiuk opened this issue Aug 2, 2017 · 0 comments
Open

Question: Titan cassandra limitations #1383

mglusiuk opened this issue Aug 2, 2017 · 0 comments

Comments

@mglusiuk
Copy link

mglusiuk commented Aug 2, 2017

Hi,

"Titan can store up to a quintillion edges (2^60) and half as many vertices. That limitation is imposed by Titan’s id scheme."

"The maximum number of cells (rows x columns) in a single partition is 2 billion."

2 billions is about (2^31)

in cassandra schema we always have 2 columns per table so you could store about (2^30) values per key

so if not mistaken "half as many vertices" is not for cassandra storage backend?

I'm using titan 0.4.4 and after having like 50M+ vertices I have spot cassandra started to complain about "Compacting large partition titan/vertexindex:00".
As I understand partition for key 0x00 already is too big and start to causing performance during compaction.
Also I spot that it contains one value per each created vertex (8+8=16bytes). so it is already bigger than 500MB in size which is already bigger than cassandra recomendation.
http://docs.datastax.com/en/landing_page/doc/landing_page/planning/planningPartitionSize.html

So my question is what is real titan limit for cassandra backend which will not "kill" cassandra?

Btw I also spot that some keys from "edgestore" table for "supernodes" are also bigger than 1GB with my current graph.

Could you please explain how titan stores data in cassandra and how to configure it to prevent storing huge rows?

@mglusiuk mglusiuk changed the title Titan cassandra limitaitons Titan cassandra limitations Aug 2, 2017
@mglusiuk mglusiuk changed the title Titan cassandra limitations Question: Titan cassandra limitations Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant