You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Simon Guindon <si...@jsitelecom.com> on 2012/11/22 20:20:57 UTC
Concurrency and secondary indexes
We are importing data from one column family into a second column family via "nodetool refresh" but we are finding a secondary index is performing slow and the machine CPU is pretty much idle. We are trying to bulk load data as fast as possible.
Are secondary indexes concurrent or single threaded?
Re: Concurrency and secondary indexes
Posted by aaron morton <aa...@thelastpickle.com>.
> Nodetool reports: 1.1.6-dse-p1
If you are using DSE the best place to get help is the support forums http://www.datastax.com/support-forums/
Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 24/11/2012, at 6:34 AM, Simon Guindon <si...@jsitelecom.com> wrote:
> Aaron,
>
> Nodetool reports: 1.1.6-dse-p1
>
> What about inserted data using Hadoop? Will the secondary index execute concurrently or will this also be single threaded (on the same machine I mean)?
>
> From: aaron morton [mailto:aaron@thelastpickle.com]
> Sent: November-22-12 8:04 PM
> To: user@cassandra.apache.org
> Subject: Re: Concurrency and secondary indexes
>
> What version are you on ?
>
>
> but we are finding a secondary index is performing slow
> Not sure what you mean here.
>
> Are secondary indexes concurrent or single threaded?
> Rebuilding a secondary index (via node tool) is a single threaded operation, but *all* indexes specified on the command line are built at the same time. Rebuilding any one index requires reading all the rows in the CF.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Cassandra Developer
> New Zealand
>
> @aaronmorton
> http://www.thelastpickle.com
>
> On 23/11/2012, at 8:20 AM, Simon Guindon <si...@jsitelecom.com> wrote:
>
>
> We are importing data from one column family into a second column family via “nodetool refresh” but we are finding a secondary index is performing slow and the machine CPU is pretty much idle. We are trying to bulk load data as fast as possible.
>
> Are secondary indexes concurrent or single threaded?
RE: Concurrency and secondary indexes
Posted by Simon Guindon <si...@jsitelecom.com>.
Aaron,
Nodetool reports: 1.1.6-dse-p1
What about inserted data using Hadoop? Will the secondary index execute concurrently or will this also be single threaded (on the same machine I mean)?
From: aaron morton [mailto:aaron@thelastpickle.com]
Sent: November-22-12 8:04 PM
To: user@cassandra.apache.org
Subject: Re: Concurrency and secondary indexes
What version are you on ?
but we are finding a secondary index is performing slow
Not sure what you mean here.
Are secondary indexes concurrent or single threaded?
Rebuilding a secondary index (via node tool) is a single threaded operation, but *all* indexes specified on the command line are built at the same time. Rebuilding any one index requires reading all the rows in the CF.
Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 23/11/2012, at 8:20 AM, Simon Guindon <si...@jsitelecom.com>> wrote:
We are importing data from one column family into a second column family via "nodetool refresh" but we are finding a secondary index is performing slow and the machine CPU is pretty much idle. We are trying to bulk load data as fast as possible.
Are secondary indexes concurrent or single threaded?
Re: Concurrency and secondary indexes
Posted by aaron morton <aa...@thelastpickle.com>.
What version are you on ?
> but we are finding a secondary index is performing slow
Not sure what you mean here.
> Are secondary indexes concurrent or single threaded?
Rebuilding a secondary index (via node tool) is a single threaded operation, but *all* indexes specified on the command line are built at the same time. Rebuilding any one index requires reading all the rows in the CF.
Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 23/11/2012, at 8:20 AM, Simon Guindon <si...@jsitelecom.com> wrote:
> We are importing data from one column family into a second column family via “nodetool refresh” but we are finding a secondary index is performing slow and the machine CPU is pretty much idle. We are trying to bulk load data as fast as possible.
>
> Are secondary indexes concurrent or single threaded?