Getting started with ArangoDB
Author: chszs, reprinted with note. Blog homepage: http://blog.csdn.net/chszs
I. ArangoDB introduction ArangoDB is an open source NoSQL database, Official Website: https://www.ArangoDB.org/
ArangoDB supports flexible data models, such as Document, Graph, and Key-Value Pair Key-Value storage. ArangoDB is also a high-performance database that uses SQL-like queries or JavaScript extensions to build high-performance applications.
One thing that ArangoDB is commendable is that it can run ArangoDB 1.4 on Raspberry Pi.
Features of ArangoDB:
1) multi-model databases
You can use key-value pairs, documents, graphs, and their combinations to build your data model flexibly.
2) convenient query
ArangoDB has an AQL Query Language similar to SQL, and can also be queried through REST.
3) extensions can be made through JavaScript.
There is no language restriction. You can use the same language from the frontend to the backend.
4) High Performance
ArangoDB is extremely fast
5) Foxx-build your own API
Build applications with JavaScript and ArangoDB, and run Foxx inside the DB to quickly access data.
6) high space utilization
Compared with other document databases, ArangoDB consumes less storage space, because ArangoDB is a free metadata mode.
7) ease of use
ArangoDB can be started and run in a few seconds. You can also use a graphical interface to manage your ArangoDB.
8) Multi-OS support
ArangoDB supports Windows, Linux, OSX, and Raspberry Pi.
9) open source and free
ArangoDB is open-source and free of charge. It adopts the Apache 2 license protocol.
10) Copy
ArangoDB supports master-slave Clusters
2. Install ArangoDB here. The Windows version of ArangoDB is used as an example.
For ArangoDB: https://www.arangodb.org/repositories/Windows7/x86_64/ArangoDB-1.4.11-win64.exe
The installation of ArangoDB is the same as that of common software on Windows. After the installation is complete, start the ArangoDB Server.
Run Arango Shell. The following page is displayed:
To turn ArangoDB into a Windows Service, run the following command:
D:\database\ArangoDB\bin>arangod --install-serviceINFO: adding service 'ArangoDB - the multi-purpose database' (internal 'ArangoDB')INFO: added service with command line '"D:\database\ArangoDB\bin\arangod.exe" --start-service'
Note that ArangoDB consists of database servers and client tools. When the ArangoDB server is started, the ArangoDB server automatically places a lock file (read-only) to prevent accidental access to data files. After ArangoDB is started, the ArangoDB server will automatically delete the lock file. If the lock file is still valid, ArangoDB will terminate unexpectedly.
You can access ArangoDB in a browser at: http: // 127.0.0.1: 8529/
Iii. ArangoDB program Introduction 1. arangod
It is the daemon of the ArangoDB database. After running, it is the daemon of the ArangoDB database server.
2. arangosh
ArangoDB Shell environment.
3. arangoimp
ArangoDB Database Import Tool
4. arangodump
ArangoDB Database Backup Tool
5. arangorestore
ArangoDB database restoration Tool
6. foxx-manager
A Shell script to manage Foxx applications
7. arango-dfdb
ArangoDB data file Debugger
8. arangob
ArangoDB's testing and scoring tools are mainly used for the development and testing of ArangoDB.