Comments on: Introduction to NOSQL and cassandra, part 2 http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/ by Ran Tavory Mon, 01 Aug 2011 08:29:01 +0000 hourly 1 http://wordpress.org/?v=3.2 By: ehcache.net http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/comment-page-1/#comment-6539 ehcache.net Sat, 12 Mar 2011 06:43:12 +0000 http://prettyprint.me/?p=241#comment-6539 <strong>Introduction to NOSQL and cassandra, part 2...</strong> In part 1 of this talk I presented few of the theoretical concepts behind nosql and cassandra. In this talk we deep dive into the Cassandra API and... Introduction to NOSQL and cassandra, part 2…

In part 1 of this talk I presented few of the theoretical concepts behind nosql and cassandra. In this talk we deep dive into the Cassandra API and…

]]>
By: Links about Apache Cassandra « Waltersf's Blog http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/comment-page-1/#comment-350 Links about Apache Cassandra « Waltersf's Blog Wed, 03 Mar 2010 21:37:32 +0000 http://prettyprint.me/?p=241#comment-350 [...] Links about Apache Cassandra Arquivado em: Uncategorized — Tags:cassandra, nosql — waltersf @ 9:37 pm Nice introduction about Cassandra Althought the video is in Hebrew, you can read the slides (in English). http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/ [...] [...] Links about Apache Cassandra Arquivado em: Uncategorized — Tags:cassandra, nosql — waltersf @ 9:37 pm Nice introduction about Cassandra Althought the video is in Hebrew, you can read the slides (in English). http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/ [...]

]]>
By: Ran Tavory http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/comment-page-1/#comment-136 Ran Tavory Fri, 29 Jan 2010 07:24:13 +0000 http://prettyprint.me/?p=241#comment-136 Hi Mehar, one of the differences b/w SQL and Column oriented stores such as Cassandra is that you have to think very good when inserting your data, about how you're going to retrieve it. Unlike SQL, in cassandra you only have primary keys, no secondary indexes. What you're describing cannot simply be achieved in cassandra unless you plan for it ahead of time. So if, for example, you create a CF Categories which is keyed by "Category1" etc and holds the list of all records belonging to Category1 then that would be possible. But the usual case is that this scheme also calls for a lot of data denormalizations and repetition, so there's a tradeoff. You may also be interested in <a href="http://github.com/digg/lazyboy" rel="nofollow">lazyboy</a>, which sort of implements secondary indexes scheme over cassandra. Hi Mehar, one of the differences b/w SQL and Column oriented stores such as Cassandra is that you have to think very good when inserting your data, about how you’re going to retrieve it. Unlike SQL, in cassandra you only have primary keys, no secondary indexes. What you’re describing cannot simply be achieved in cassandra unless you plan for it ahead of time.
So if, for example, you create a CF Categories which is keyed by “Category1″ etc and holds the list of all records belonging to Category1 then that would be possible. But the usual case is that this scheme also calls for a lot of data denormalizations and repetition, so there’s a tradeoff.
You may also be interested in lazyboy, which sort of implements secondary indexes scheme over cassandra.

]]>
By: Mehar Chaitanya http://prettyprint.me/2010/01/20/introduction-to-nosql-and-cassandra-part-2/comment-page-1/#comment-134 Mehar Chaitanya Fri, 29 Jan 2010 06:04:00 +0000 http://prettyprint.me/?p=241#comment-134 Hi Ran I got some idea about cassandra after reading the above We had some requirement like below I have a table which has the columns like Category_name,Section_name,article,is_published_by with multiple records in the table. I want to retrieve a query based on condition like belongs some category_name 'X' so then all values which belongs to X category will be retrieved along with other 3 columns For E.g., select * from Table where category_name ='Category1'; Here we are using category_name as key and retrieving all the records Please let me know if it would be possible. Can you please help me on this and kindly share your views. Hi Ran

I got some idea about cassandra after reading the above

We had some requirement like below

I have a table which has the columns like Category_name,Section_name,article,is_published_by with multiple records in the table.

I want to retrieve a query based on condition like belongs some category_name ‘X’ so then all values which belongs to X category will be retrieved along with other 3 columns

For E.g.,

select * from Table where category_name =’Category1′;

Here we are using category_name as key and retrieving all the records

Please let me know if it would be possible.

Can you please help me on this and kindly share your views.

]]>