当前位置: 首页 > 工具软件 > OrientDB > 使用案例 >

Learning OrientDB

东方旺
2023-12-01

Learning OrientDB



1. Background and Concepts

OrientDB can best be described as: A document and graph database.

Why OrientDB?

OrientDB is a document-graph database meaning it has all the native features of a graph database with the speed and flexibility of a document store.

license APACHE 2.0


2. Up and Running

Installation on Mac

Steps: Java - Mac distribution - server.sh

Installation on Linux

$ curl -o 存放位置+文档名称 下载地址(在官网内移动到需要下载的图标点击右键获取)
$ cd ~/存放位置+文件名称
$ tar xvzf 文件名称
$ cd 文件名称/bin
$ ./server.sh

Browser localhost:2480


3. Data Modeling Concepts

3.1 Key elements

Data entity: The primary storage container of data. Also referred to as a record. In Graph mode, it is called a Vertex(or Node).

Relationship: A direct connection between two vertices or documents. Edges and Links are the relationships in OrientDB.

Data attribute: Typed or Json data embedded in documents, vertices or edges. Useful to query, sort and more.

3.2 Tools

Documents(无结构性数据)

Properties(a place to store your stuff)

Vertex(storage for a graph: similar to a document)

Edge

Class(types of data)

Cluster(storage flexibility/replication)


4. Orient D-B Studio


5. Orient D-B Console


 类似资料:

相关阅读

相关文章

相关问答