C* (cassandra) has grown pretty good overcoming challenges from version 1.0 to version 2.0 with the CQL 3.0 upgrades. Lets look at some of the new features, challenges, best practises and learn from our peers at the Cassandra summit 2013. Watch these videos at your leisure.
++summits_conferences, ^^bigdata_info, ##random_patent_ideas, @@random_notes, $$problem_analysis, %%white_paper_thoughts, **experiments_results, **new_products_tools_intro, and more.
Showing posts with label cassandra. Show all posts
Showing posts with label cassandra. Show all posts
Wednesday, July 10, 2013
C* Summit 2013 :: Evolving NoSQL DB
Labels:
2013,
architecture,
best practises,
bigdata,
cassandra,
conference,
data,
data challenges,
database,
datastore,
distributed systems,
experiences,
innvoation,
nosql,
performance,
summit
Thursday, March 14, 2013
DataStax DevCenter -- limitation
Installed DevCenter to notice that it is not possible to execute and run just one statement (by selecting the line) without commenting out other statements in the CQL Script file. ##calls_for_imporvement_in_tool
Thursday, September 20, 2012
Cassandra Summit 2012 :: At your tips now
If you have missed the Cassandra Summit 2012, please go through this video playlist. It is amazing to see the cool new features coming up in Cassandra next release while knowing the hickups faced and experiences shared by some of the contributors of the summit.
Labels:
2012,
bigdata,
cassandra,
cluster,
datastore,
experiences,
nosql,
performance,
summit
Tuesday, January 10, 2012
SQL to No-SQL migration :: Baby Step 1 -- Preparing your new table structure
No-SQL has been an evolving norm these days. With plethora of data growing and multiplying day-by-day at an exponential rate, everyone is faced with a challenge to live-up to the new evolving standards for applications, grid computation, analytics, high-availability, fast responding user interfaces, etc.
One of the primary steps in migrating from the traditional RDBMS system to NO-SQL system is to come-up with new table design. Ironically, there is no direct mechanism that converts traditional RDBMS database schema to a NO-SQL table structure.
While RDBMS based systems evolve from a centralized database design to user interface development, newer No-SQL systems need to be designed based on the developing user interface and the queries needed for connecting the user interface together screen-by-screen one at a time.
There is however a small correlation on how the RDBMS table data can be represented in No-SQL table structure based on the mappings.
Example 1 : A one-to-one mapping of our traditional RDBMS table design will result in the following No-SQL design.
*****RDBMS Design****
Customer
----------------
Customer_id int,
first_name varchar,
last_name varchar,
email_id varchar
CustomerAddress
----------------------
Customer_id int,
Street_addr varchar,
apt varchar,
city varchar,
state varchar,
country varchar
pin varchar
******No-SQL Design******
Eliminate two tables and merge the columns into one table per customer_id
Customer
-----------
Customer_id int,
first_name varchar,
last_name varchar,
email_id varchar,
Street_addr varchar,
apt varchar,
......
Example 2 : A many-to-one and one-to-many mapping of our traditional RDBMS table design will result in the following No-SQL design
****RDBMS Design*****
--------------------------
Customer
---------------
Customer_id int,
first_name varchar,
last_name varchar,
....
CustomerPhone
--------------------
Customer_id int,
Phone_type varchar, //mobile, home, office
Phone_number varchar
****** No-SQL Design *****
-------------------------------
CustomerByPhoneNumber
------------------------
Customer_id int,
Phone_type varchar,
Phone_number varchar,
PRIMARY KEY (Phone_number)
PhoneByCustomerId
---------------------------
Customer_id int,
Phone_type varchar,
Phone_number varchar,
PRIMARY KEY (Customer_id)
Example 3 : Many-to-Many
--------------------------------
Many-to-Many in NoSQL is nothing but iteration of one-to-many and many-to-one queries and consolidating the result set.
In the above example, if you want to get list of all customers and all their phone numbers, you would have to perform two queries and iterate over to get complete set.
One of the primary steps in migrating from the traditional RDBMS system to NO-SQL system is to come-up with new table design. Ironically, there is no direct mechanism that converts traditional RDBMS database schema to a NO-SQL table structure.
While RDBMS based systems evolve from a centralized database design to user interface development, newer No-SQL systems need to be designed based on the developing user interface and the queries needed for connecting the user interface together screen-by-screen one at a time.
There is however a small correlation on how the RDBMS table data can be represented in No-SQL table structure based on the mappings.
Example 1 : A one-to-one mapping of our traditional RDBMS table design will result in the following No-SQL design.
*****RDBMS Design****
Customer
----------------
Customer_id int,
first_name varchar,
last_name varchar,
email_id varchar
CustomerAddress
----------------------
Customer_id int,
Street_addr varchar,
apt varchar,
city varchar,
state varchar,
country varchar
pin varchar
******No-SQL Design******
Eliminate two tables and merge the columns into one table per customer_id
Customer
-----------
Customer_id int,
first_name varchar,
last_name varchar,
email_id varchar,
Street_addr varchar,
apt varchar,
......
Example 2 : A many-to-one and one-to-many mapping of our traditional RDBMS table design will result in the following No-SQL design
****RDBMS Design*****
--------------------------
Customer
---------------
Customer_id int,
first_name varchar,
last_name varchar,
....
CustomerPhone
--------------------
Customer_id int,
Phone_type varchar, //mobile, home, office
Phone_number varchar
****** No-SQL Design *****
-------------------------------
CustomerByPhoneNumber
------------------------
Customer_id int,
Phone_type varchar,
Phone_number varchar,
PRIMARY KEY (Phone_number)
PhoneByCustomerId
---------------------------
Customer_id int,
Phone_type varchar,
Phone_number varchar,
PRIMARY KEY (Customer_id)
Example 3 : Many-to-Many
--------------------------------
Many-to-Many in NoSQL is nothing but iteration of one-to-many and many-to-one queries and consolidating the result set.
In the above example, if you want to get list of all customers and all their phone numbers, you would have to perform two queries and iterate over to get complete set.
Subscribe to:
Posts (Atom)