Skip to main content

Posts

Showing posts from 2010

How to create table/Column

To create Column need to add some code in storage-conf.xml.The next thing we need to do is to locate and configure the database storage-conf.xml file.which is found in conf folder.Open the storage-conf.xml in your favorite text editor.now Add the following code under tag. <Keyspace Name="Blog">         <ColumnFamily Name="Post"                       ColumnType="Super"                       CompareWith="UTF8Type"                       CompareSubcolumnsWith="UTF8Type"                       Comment="A column family with supercolumns, whose column and subcolumn names are UTF8 strings"                      />     </Keyspace> save it.The above configuration creates one Column Family(or table).called Posts in a Keyspace (or database ) called Blog. We are going to use this column family in our code below.

Cassandra Installation on WindowsXP

1. About Cassandra : Cassandra is an open source distributed database management system. It is an Apache Software Foundation top-level project designed to handle very large amounts of data spread out across many commodity servers while providing a highly available service with no single point of failure. It is a No SQL solution that was initially developed by Facebook and powers their Inbox Search feature. Want to Know more? Visit Cassandra database Apache Cassandra 2 . Cassandra Installation on WindowsXP First we need to download Cassandra. For Download Cassandra Click this link Download . Now unzip the file and put it into a drive where you want to install Cassandra .you can change the folder name cause deafult name is "apache-cassandra-0.5.1" .its to long to remember easily.So i change my unzip folder name to "cassandra". Now we have our Cassandra in a spacific drive.Lets go install and configur Cassandra database on windowsXP .You need to insta