CQL commands don't count replications - that would make any select meaningless since they would all return dups.
On Fri, Apr 8, 2016 at 6:48 PM, Jack Krupansky <jack.krupan...@gmail.com> wrote: > I'm afraid I don't have the solid answer to this obvious question: How do > I get a fairly accurate count of (CQL) rows in a Cassandra table? > > Does SELECT COUNT (*) FROM <table-name> actually do it? > > Does it really count (CQL) rows across all nodes and exclude replicated > rows? > > Is there a better/preferred technique? For example, is it more efficient > to query the row count one node at a time? > > And for bonus points: How do you count (CQL) rows for each node? Again, > excluding replication. > > -- Jack Krupansky >