<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: row count for a given column family</title>
		<link>http://www.datastax.com/support-forums/topic/row-count-for-a-given-column-family</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 17:39:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/row-count-for-a-given-column-family" rel="self" type="application/rss+xml" />

		<item>
			<title>thobbs on "row count for a given column family"</title>
			<link>http://www.datastax.com/support-forums/topic/row-count-for-a-given-column-family#post-2367</link>
			<pubDate>Mon, 25 Jun 2012 17:27:28 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">2367@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Right, cfstats only returns values for the node you're connecting to with nodetool.  Assuming your ring is balanced, you can get an estimate of the total number of rows by multiplying that number by (&#60;code&#62;number_of_nodes&#60;/code&#62;/&#60;code&#62;RF&#60;/code&#62;).  If the ring is not balanced, you'll need to sum the results for all nodes and then divide by &#60;code&#62;RF&#60;/code&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryoudelman on "row count for a given column family"</title>
			<link>http://www.datastax.com/support-forums/topic/row-count-for-a-given-column-family#post-2360</link>
			<pubDate>Mon, 25 Jun 2012 16:25:08 +0000</pubDate>
			<dc:creator>ryoudelman</dc:creator>
			<guid isPermaLink="false">2360@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for the tips.  One follow up question - does cfstats only return the values for the node you are running on?  If so, is there a way to get the results for the whole ring?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "row count for a given column family"</title>
			<link>http://www.datastax.com/support-forums/topic/row-count-for-a-given-column-family#post-2333</link>
			<pubDate>Fri, 22 Jun 2012 16:47:00 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">2333@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If you just need a close approximation, nodetool cfstats will show an estimate that's within 128 of the actual count.  If you need to get an exact number or need to do this programmatically and you can't use JMX, you can use &#60;code&#62;&#60;/code&#62;get_range()&#60;code&#62;&#60;/code&#62; with a column count of zero to get all of the keys. However, note that this is subject to the &#34;range ghosts&#34; problem: &#60;a href=&#34;http://wiki.apache.org/cassandra/FAQ#range_ghosts&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/cassandra/FAQ#range_ghosts&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "row count for a given column family"</title>
			<link>http://www.datastax.com/support-forums/topic/row-count-for-a-given-column-family#post-2319</link>
			<pubDate>Fri, 22 Jun 2012 12:56:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2319@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;What is the best way to get a row count for a given column family?  I am running Cassandra 1.0.8.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
