FIG ArangoDB Database - simple example describes the General Staff ArangoDB

Reference article:

ArangoDB native multi-model database (Wikipedia)

ArangoDB official website

Getting ArangoDB database

arangodb-vs-cassandra   

arangodb-vs-mongodb2

ArangoDB, Neo4j, OrientDB single performance comparison

ArangoDB simple example introduction

ArangoDB of SQL / AQL- compare

SQL / AQL- compare (official website)

ArangoDB use - Installation and Configuration

ArangoDB Study Notes (1) Beginners

ArangoDB --- storage engine (RocksDB)

Summary:

ArangoDB is an open source NoSQL database, the official website: https://www.ArangoDB.org/ .

ArangoDB support flexible data model, such as documents Document, Graph and map of key Key-Value store. ArangoDB is also a high-performance database that uses SQL-like query or JavaScript extensions to build high-performance applications.

ArangoDB features

1) multi-model database

      The flexibility to use the key-value pairs, document, and map your data model portfolio construction.

2) to facilitate inquiries

      ArangoDB have SQL-like query language AQL can also be queried via the REST approach.

3) by JavaScript extended

      No language restrictions range from the front-to-back use the same language.

4) High performance

      ArangoDB fast

5) Foxx - Build your own API

      Build applications, Foxx run inside DB, quick access to data using JavaScript and ArangoDB.

6) high utilization of space

      With the other type of document database comparison, ArangoDB take up less storage space, because ArangoDB is free mode metadata schema.

7) Easy to use

     ArangoDB can be up and running in a matter of seconds, while using a graphical interface to manage your ArangoDB.

8) Multi-OS Support

     ArangoDB support for Windows, Linux and OSX and other operating systems , also supports the raspberry pie.

9) open source and free

      ArangoDB free open source, it uses the Apache 2 license agreement.

10) Copy

      ArangoDB support from the main cluster

ArangoDB database model

Document Document

You can store vast amounts of data in a document (the default maximum file size is 32MB, but can be configured according to actual needs). ArangoDB powerful, wide range of applications, can be used to query and processing documents such as JOINs, secondary index, or something like ACID. You can also achieve the level of expansion on JOIN connection.

key / value key / value

Each document in the document has a unique key and a value corresponding thereto (key / value pairs). If you store a value in the document file, then ArangoDB be used as a classic, highly scalable key / value pair, for example, a user in e-commerce platform on the temporary storage of goods in the shopping cart or the Internet of Things applications sensing data.

Graph Figure

ArangoDB includes the full feature set of graph graphic store. For example, pattern matching, the shortest path, complete traversal. Compared with many current mainstream graphics processing method, ArangoDB can quickly perform graphical query. The following specific details on how to achieve this improvement:

When using the graph of FIG ArangoDB storage, a particular type of document will be created to represent their edges and vertices. These documents contain _to and _from (address attribute) connected pointing document, and therefore during the query, and using the edge indexes can be created by associating the attribute, and to realize high-performance processing of queries FIG.

Unique ArangoDB database that the following two aspects: One is these edges and vertices contain complex data (nested properties), and the second is a function of all of the graph are deeply integrated into our query language AQL in. Both of these features can be such that a higher low ArangoDB with other databases in the performance graph. In addition, ArangoDB also supports graph chart set up a database cluster. [3] 

python library

In addition you can learn under the aerospike python library.

  

# import the module
import aerospike
 
# Configuration for the client
config = {
  'hosts': [('127.0.0.1', 3000)]
}
 
# Create a client and connect to the database
client = aerospike.client(config).connect()
 
# Records are addressable via a tuple of (namespace, set, key)
key = ('test', 'demo', 'foo')
 
# Write a record
client.put(key, {
  'name': 'John Doe',
  'age': 32
})
 
# Read a record
(key, metadata, record) = client.get(key)
 
# Close Connection to Cluster
client.close()

  

 Performance Comparison

See  NoSQL benchmarking Aerospike, Cassandra, Couchbase and MongoDB

Overall mongodb than good if memory is full use of the speed of the words!

 

Guess you like

Origin www.cnblogs.com/supersaiya/p/11791418.html