Cassandra's secondary index Vs DSE solr indexing -
i know performance difference cassandra's secondary index vs. dse's solr indexing placed on cf's.
we have few cf's did not place secondary indices on because under impression secondary indices (eventually) cause significant performance issues heavy read/write cf's. trying turn solr allow searching these cf's looks loading index schema modifies cf's have secondary indices on columns of interest.
would know if solr indexing different cassandra's secondary indexing? and, cause slow queries (inserts/reads) cfs w/ large data sets , heavy read/writes? if so, advise custom indexing (which wanted avoid)? btw -- we're using (trying use) solr spatial searching.
thanks advice/links can give.
update: better understand why i’m asking these questions , see if asking right question(s) – description of our use case:
we’re collecting sensor events – many! storing them in both time series cf (eventtl) , skinny cf (event). because writing (inserting , updating) heavily in event cf, not placing secondary indices. our queries right limited single events via event or time range of events through eventtl (unless create additional fat cf’s allow range queries on other properties of events).
that’s dse (solr+cassandra) might us. thought leveraging solr searching allow avoid creating fat cf’s allow searches on other properties of events , allow search on multiple properties @ once (location + text/properties). however, looking @ how definition of event cf changes after adding index schema event via solr shows secondary indices created. leads question of whether these indices create issues inserting/updating rows in event (eventually). require being able insert new events ‘quickly’ – because events can potentially come in @ 1000+ per sec.
since use case spatial search, don't think cassandra's secondary index feature work you. here's concise article on secondary indexes may find useful: http://www.datastax.com/docs/1.1/ddl/indexes
you should able solr.
here's post should relevant you:
http://digbigdata.com/geospatial-search-cassandra-datastax-enterprise/
Comments
Post a Comment