Count options

Count options for the dsbulk command

Specify count options for the dsbulk command. Count options specify how counting can be accomplished using dsbulk.

The options can be used in short form (-k keyspace_name) or long form (--schema.keyspace keyspace_name).

--stats.modes ( global | ranges | hosts | partitions )
Kind(s) of statistics to compute. Only applicable for count, ignored otherwise. Valid values are:
  • global: Count the total number of rows in the table.
  • ranges: Count the total number of rows per token range in the table.
  • hosts: Count the total number of rows per hosts in the table.
  • partitions: Count the total number of rows in the N biggest partitions in the table. Choose how many partitions to track with stats.numPartitions option.

Default: global

--stats.numPartitions number
The number of distinct partitions for which to count rows. Only applicable for count, ignored otherwise.

10