Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cassandra ABC

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

NoSQL is very strong recently because of the spring after the rain. Those of us who engage in traditional relational data management and development must keep up with the pace of the cloud era. Let's go into the world of Cassandra like learning from ABC.

I summed up so many keywords, linked together, although not around the earth, can give you a microcosm of what the Cassandra database is.

KeyWords of Cassandra

NoSQLColumnGoogleBigTableAmazonDynamoFacebookApacheJava...

First of all, Cassandra is a NoSQL database, column-oriented storage, a database based on Google Big Table and Amazon Dynamo, which was developed by FaceBook and later developed into an open source Apache project; Java language development, the source code can be found online.

As for me, instead of predicting or commenting on the advantages and disadvantages of each database, I went to learn and enter Cassandra with a heart of awe and humility.

Cassadra single node installation

Cassandra installation, let's give an introduction to the Linux server, Windows installation is similar.

Download Cassandra files, as well as JDK

Extract the JDK to the appropriate directory, such as / usr/java/jdk1.7.0_45

Extract the Cassandra to the appropriate directory, such as / u01/apache-cassandra-2.1.2

Configuration / etc/profile file (path is configured for csh to run)

Export JAVA_HOME=/usr/java/jdk1.7.0_45

Export CASSANDRA_HOME=/u01/apache-cassandra-2.1.2

Start cassandra to the CASSANDRA_HOME / bin/ directory

Cd $CASSANDRA_HOME / bin/

. / cassandra

Cassandra data model

Key,ColumnColumn= > [Name, Value,Time Stamp]

For details, please refer to this:

Http://dongxicheng.org/nosql/cassandra-data-model/

Later, we will continue to introduce Cassandra cluster management and read-write mechanism. Please see the next decomposition.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report