What is the maximum number of records that are retrieved in a graph query?
How many vertices data will be retrieved? What is the limit?
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
I am assuming that you are using DSE Graph 6.8.
Under the hood, the query
g.V().hasLabel("Acc") will execute as follows:
SELECT * FROM graphname.Acc
I am not aware of a hard limit with this type of query.
However, there are limits that apply to query execution time, and I would expect that you would run into the default limit for the real-time evaluation timeout with large tables, by default 30 seconds.
The question here is what you want to achieve with reading the entire vertex table. DSEGraphFrames with Spark might be a better alternative for operations where you want to read the entire table.
Would you update your question with more context?
7 People are following this question.