OrientDB

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(指南)
(文档数据库)
第28行: 第28行:
  
 
==文档数据库==
 
==文档数据库==
 +
 +
{| class="wikitable"
 +
|-
 +
! Relational Model
 +
! Document Mode
 +
! OrientDB Document Model
 +
|-
 +
| Table
 +
| Collection
 +
| Class or Cluster
 +
|-
 +
| Row
 +
| Document
 +
| Document
 +
|-
 +
| Column
 +
| Key/value pair
 +
| Document field
 +
|-
 +
| Relationship
 +
| not available
 +
| Link
 +
|}
  
 
==图数据库==
 
==图数据库==

2016年5月20日 (五) 02:21的版本

OrientDB-90x90.gif

OrientDB 是一个Java开发的开源(Apache v2)NoSQL文档图形数据库,也通过 OrientDB SQL 支持 SQL

目录

安装

下载二进制或编译源码

$ git clone https://github.com/orientechnologies/orientdb
$ git checkout develop
$ cd orientdb
$ mvn clean install -DskipTests
$ ls -l distribution/target/

指南

./console.sh

orientdb> CONNECT PLOCAL:../databases/GratefulDeadConcerts admin admin 或 
orientdb> CONNECT REMOTE:127.0.0.1/GratefulDeadConcerts admin admin
orientdb {db=GratefulDeadConcerts}> list classes
orientdb {db=GratefulDeadConcerts}> select from ouser
orientdb {db=GratefulDeadConcerts}> info class ouser
orientdb {db=GratefulDeadConcerts}> select expand(classes) from metadata:schema
http://localhost:2480/ // OrientDB Studio, 若:OrientTokenHandler: true, enabled后,此帐号将无法登录 
root/orientdb
http://localhost:2491 // OrientDB Workbench, 设置Server, 端口:2480
admin/admin

SQL

文档数据库

Relational Model Document Mode OrientDB Document Model
Table Collection Class or Cluster
Row Document Document
Column Key/value pair Document field
Relationship not available Link

图数据库

对比

驱动

通过三种方式支持不同的语言驱动程序

  • Native binary remote, 使用 binary protocol
  • HTTP REST/JSON, 使用 HTTP protocol
  • Java wrapped

一些语言驱动程序

图书

用户

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱