================ TODO ==============
http://orientdb.com/orientdb-enterprise/
https://github.com/orientechnologies/orientdb-hademo
https://github.com/orientechnologies/orientdb-hademo
http://orientdb.com/orientdb-enterprise/?#matrix
https://www.udemy.com/orientdb-getting-started/
https://orientdb.com/docs/2.2/SQL-HA-Sync-Cluster.html
https://www.youtube.com/watch?v=WdP6n2SXVG0
================
OrientDB
OrientDB是兼具文档数据库的灵活性和图形数据库管理链接能力的可深层次扩展的文档-图形数据库管理系统。可选无模式、全模式或混合模式下。支持许多高级特性,诸如ACID事务、快速索引,原生和SQL查询功能。可以JSON格式导入、导出文档。若不执行昂贵的JOIN操作的话,如同关系数据库可在几毫秒内可检索数以百记的链接文档图。
安装:
通过docker进行安装:
$ docker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:latest
# docker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:latest
Unable to find image 'orientdb:latest' locally
Trying to pull repository docker.io/library/orientdb ...
latest: Pulling from docker.io/library/orientdb
88286f41530e: Pull complete
009f6e766a1b: Pull complete
86ed68184682: Pull complete
c26e632329da: Pull complete
458eb9b8c69e: Pull complete
Digest: sha256:ed30e40f4fa6dc2d7ee6ec3937dc31a4c99877e091b8487346a10607e89e6362
ae37adb5d6b2493e2b6bc8711fa5e3373998fd6223cf4151f8ba4c09a57a8b62
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
disconfcompose_disconf-app latest 67de9e7fc6be 4 days ago 357.3 MB
disconfcompose_disconf-zoo latest 2888fec417af 4 days ago 388 MB
syswin/disconf-build latest bdbb988abf0c 4 days ago 600.8 MB
docker.io/mysql 5.7 c73c7527c03a 5 days ago 412.3 MB
docker.io/tomcat 7.0 3402a4bb8ae6 6 days ago 357.3 MB
docker.io/orientdb latest e0723e4b0ee2 9 days ago 149.6 MB
docker.io/redis 3.0 c44fa74ead88 5 weeks ago 91.53 MB
docker.io/maven 3.3-jdk-7 5fa565e704e4 4 months ago 595.9 MB
docker.io/java 7-jre b0006d129082 6 months ago 331.5 MB
docker.io/nginx 1.9 c8c29d842c09 14 months ago 182.7 MB
# docker run docker.io/orientdb
.
.` `
, `:.
`,` ,:`
.,. :,,
.,, ,,,
. .,.::::: ```` ::::::::: :::::::::
,` .::,,,,::.,,,,,,`;; .: :::::::::: ::: :::
`,. ::,,,,,,,:.,,.` ` .: ::: ::: ::: :::
,,:,:,,,,,,,,::. ` ` `` .: ::: ::: ::: :::
,,:.,,,,,,,,,: `::, ,, ::,::` : :,::` :::: ::: ::: ::: :::
,:,,,,,,,,,,::,: ,, :. : :: : .: ::: ::: :::::::
:,,,,,,,,,,:,:: ,, : : : : .: ::: ::: :::::::::
` :,,,,,,,,,,:,::, ,, .:::::::: : : .: ::: ::: ::: :::
`,...,,:,,,,,,,,,: .:,. ,, ,, : : .: ::: ::: ::: :::
.,,,,::,,,,,,,: `: , ,, : ` : : .: ::: ::: ::: :::
...,::,,,,::.. `: .,, :, : : : .: ::::::::::: ::: :::
,::::,,,. `: ,, ::::: : : .: ::::::::: ::::::::::
,,:` `,,.
,,, .,`
,,. `, GRAPH DATABASE
`` `.
`` orientdb.com
`
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1431830528 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /orientdb/bin/hs_err_pid1.log
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000080000000, 1431830528, 0) failed; error='Out of memory' (errno=12)
问题1:
$ docker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:latest
/usr/bin/docker-current: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See '/usr/bin/docker-current run --help'.
$ docker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:latest
Unable to find image 'orientdb:latest' locally
Trying to pull repository docker.io/library/orientdb ...
latest: Pulling from docker.io/library/orientdb
88286f41530e: Pull complete
009f6e766a1b: Pull complete
86ed68184682: Pull complete
c26e632329da: Pull complete
458eb9b8c69e: Pull complete
Digest: sha256:ed30e40f4fa6dc2d7ee6ec3937dc31a4c99877e091b8487346a10607e89e6362
ae37adb5d6b2493e2b6bc8711fa5e3373998fd6223cf4151f8ba4c09a57a8b62
解决:
切换到root账号下操作就可以了。
扩展阅读:
orientdb 的官网。
OrientDB - The World's First Distributed Multi-Model NoSQL Database with a Graph Database Engine
http://orientdb.com/orientdb-enterprise/
简介:
企业版,提供一些有用的工具。
[OrientDB] OrientDB 入门教程 (英文版)
http://down.51cto.com/data/1081456
简介:
英文教程,需要积分下载。
https://www.w3cschool.cn/orientdb/orientdb-mx931xi1.html
简介:
w3c 上的一个教程,很全面的中文系列教程。比较容易入手。
OrientDB基本概念
https://www.w3cschool.cn/orientdb/orientdb_basic_concepts.html
ArangoDB,MongoDB,Neo4j 和 OrientDB 性能比较
http://www.aiisen.com/20535-zh.html
简介:
一个简单的比较。
如何在 Ubuntu 16.04 上安装和配置 OrientDB
https://www.tutobrid.com/operation_engineer/how-to-install-and-configure-orientdb-on-ubuntu-16-04.html
一个备用地址:
Ubuntu 16.04 上 OrientDB 安装配置教程
http://www.linuxidc.com/Linux/2017-05/143863.htm
简介:
解释的很好。作者用的是在ubutnu下源码安装。常见的使用场景和常见问题都介绍到了。
http://orientdb.com/download/
简介: NOTE: 按照这里的docker 安装方式可以安装(需要修改jdk的配置)
OrientDB给出的下载页面。
支持多平台源码下载,支持docker安装。
支持多种编程语言接入。
http://orientdb.com/docs/last/Programming-Language-Bindings.html
简介:
不同编程语言接入的API.
OrientDB driver for Python that uses the binary protocol.
https://github.com/orientechnologies/pyorient
简介:
Python的Binary接入API。
比较常用的orientdb的驱动。
目前使用pyorient来操作数据库。
Python REST interface for OrientDB
https://github.com/emehrkay/Compass
简介:
Python的REST接入API。看起来还不是很成熟。
Compass is a simple Python REST interface for the OrientDB graph document store. Later iterations of compass will allow you to choose between the REST or BINARY protocols while using the same compass interface.
Requirements
Python 2.6
OrientDB Rest Server
网友评论