Learning Guide 2: Nosql and Newsql: Cloud Computing Databases
Learning Guide 2: Nosql and Newsql: Cloud Computing Databases
1 Tables Graphs
2 Rows Nodes
3 Columns and Data Properties and its
values
4 Constraints Relationships
5 Joins Traversal
Features of Neo4j
Here, Emp and Dept are two different nodes. "WORKS_FOR" is a relationship
between Emp and Dept nodes.
As it denotes, the arrow mark from Emp to Dept, this relationship
describes −
Emp WORKS_FOR Dept
Here, "WORKS_FOR" relationship has
one property as key-value pair.
Id = 123
Creating a Node with a Label in Neo4J
CREATE (node:label)
Example
CREATE (Dhawan:player)
Creating Relationships
CREATE (node1)-[:RelationshipType]-
>(node2)
Example
CREATE (Dhawan)-[r:BATSMAN_OF]->(Ind)
• newSQL is a class of
modern relational database management
systems that seek to provide the same scalable
performance of NoSQL systems for online
transaction processing (OLTP) read-write
workloads while still maintaining
the ACID guarantees of a traditional database
system.
•
• The term was first used by 451 Group analyst
Matthew Aslett in a 2011 research paper
discussing the rise of new database systems as
challengers to established vendors.
• Many enterprise systems that handle high-
profile data (e.g., financial and order processing
systems) also need to be able to scale but are
unable to use NoSQL solutions because they
cannot give up strong transactional and
consistency requirements.
The applications typically targeted by these
NewSQL systems are characterized by being
OLTP, that is, having a large number of
transactions that
(1) are short-lived (i.e., no user stalls),
(2) touch a small subset of data using index
lookups (i.e., no full table scans or large
distributed joins), and
(3) are repetitive (i.e. executing the same queries
with different inputs).
References: