Skip to content

Commit

Permalink
Update book from 3.0.0 (#1464)
Browse files Browse the repository at this point in the history
* fix syntax problem for values (#1311)

* Update 4.storage-service.md (#1309)

desc optimization

* Update 2.import-cluster.md (#1300)

locate the service according to the process name instead of the installation path

* schema support Chinese (#1310)

* schema support Chinese

* Update keywords-and-reserved-words.md

* Update 1.create-tag.md

* update

* Update 1.create-tag.md

* Update 1.create-edge.md

* Update 1.create-native-index.md

* Update 1.create-space.md

* Update learning-path.png (#1313)

* Abby cyber pic fix (#1316)

* Update 3.manage-snapshot.md (#1158)

Update 3.manage-snapshot.md (#1156)

* Update learning-path.png

* Update learning-path.png

Co-authored-by: Romi <[email protected]>

* Release Exchange-Ent 2.6.1 (#1318)

* Release Exchange-Ent 2.6.1

* Update mkdocs.yml

* Update mkdocs.yml

* mod: modify company case (#1325)

* Update 2.graph-modeling.md

* Update 2.graph-modeling.md

* Update 2.graph-modeling.md

* Update 2.graph-modeling.md

* Update withBatch limit and default (#1322)

* Update withBatch limit and default

* Update nebula-spark-connector.md

* Update nebula-spark-connector.md

* Update 8.faq.md (#1324)

* add: add exchange faq tips (#1327)

* add: add exchange faq tips

* Update docs-2.0/nebula-exchange/ex-ug-FAQ.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/nebula-exchange/ex-ug-FAQ.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/nebula-exchange/ex-ug-FAQ.md

Co-authored-by: randomJoe211 <[email protected]>

* mod: modify format

* mod: modify exchange faq format

* Update ex-ug-FAQ.md

Co-authored-by: randomJoe211 <[email protected]>

* Update ex-ug-import-from-sst.md (#1328)

* bison datetime parser (#1330)

* Update st-ug-create-schema.md (#1331)

* Access changed to license  (#1334)

* license access change

* Update ex-ug-deploy.md

* update

* Update docs-2.0/nebula-explorer/deploy-connect/ex-ug-deploy.md

* Update docs-2.0/nebula-explorer/deploy-connect/ex-ug-deploy.md

* add duration (#1335)

* add duration

* Update 4.date-and-time.md

* Update docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md

Co-authored-by: randomJoe211 <[email protected]>

Co-authored-by: randomJoe211 <[email protected]>

* Update 6.cheatsheet-for-ngql-command.md (#1337)

* Update deploy-license.md (#1341)

* add cypher parameter (#1342)

* add cypher parameter

* update

* update

* Update docs-2.0/nebula-console.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/nebula-console.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/3.ngql-guide/1.nGQL-overview/1.overview.md

Co-authored-by: abby.huang <[email protected]>

* Update docs-2.0/nebula-console.md

Co-authored-by: abby.huang <[email protected]>

* Update nebula-console.md

* Update nebula-console.md

Co-authored-by: randomJoe211 <[email protected]>
Co-authored-by: abby.huang <[email protected]>

* Update kafka value parser (#1336)

* Update kafka value parser

* Update ex-ug-import-from-kafka.md

* Update ex-ug-import-from-kafka.md

* Update ex-ug-import-from-kafka.md

* Update ex-ug-import-from-kafka.md

* Update ex-ug-import-from-kafka.md

* Update ex-ug-import-from-kafka.md

* add license FAQ (#1343)

* add license FAQ

* Update 0.FAQ.md

* Update 0.FAQ.md

* Update 0.FAQ.md

* escape character display error (#1346)

* add show local session command (#1345)

* Detecting schema change (#1339)

* clear disk space after compaction (#1347)

* Update 5.drop-space.md

* clear disk space after compaction

* Update 5.drop-space.md

* Update docs-2.0/3.ngql-guide/9.space-statements/5.drop-space.md

* enhance param command (#1344)

* enhance param command

* update

* add utilization rate note & version compatibility (#1333)

* add utilization note

* update

* Update docs-2.0/nebula-dashboard/6.monitor-parameter.md

* Update docs-2.0/nebula-dashboard/1.what-is-dashboard.md

* Update docs-2.0/nebula-dashboard-ent/7.monitor-parameter.md

* Update docs-2.0/nebula-dashboard/6.monitor-parameter.md

* Update 6.monitor-parameter.md

* Update 7.monitor-parameter.md

* Update 7.monitor-parameter.md

* Update 6.monitor-parameter.md

* Update ex-ug-what-is-explorer.md (#1350)

* Update st-ug-what-is-graph-studio.md (#1349)

* Update 1.what-is-nebula-graph.md (#1348)

* Update 3.graph-config.md And 4.storage-config.md (#1351)

* Update 3.graph-config.md

Fix service name Meta to Graph.

* Update 4.storage-config.md

Fix the service name is Storage.

* Update docs-2.0/5.configurations-and-logs/1.configurations/4.storage-config.md

Co-authored-by: abby.huang <[email protected]>

* Add exchange spark compatibility (#1354)

* Add exchange spark compatibility

* add note for jar version

* Update 1.resource-preparations.md (#1353)

to enable a smooth first time build attempt

* Schema support mixed Chinese and English (#1357)

* Add constraints on invalid password attempts (#1356)

* Add constraints on invalid password attempts

* update

* update

* round the float/double (#1358)

* round the float/double

* Update 1.numeric.md

* Implement the multi query parts of openCypher (#1355)

* Implement the multi query parts of openCypher

* update

* Update 2.match.md

* Update how-to-contribute.md (#1362)

modify case and format

* Insert vertex and tag (#1360)

* insert vertex and tag

* Update 4.delete-vertex.md

* Update 0.FAQ.md

* Update 0.FAQ.md

* update

* update

* update

* Update 1.insert-vertex.md

* Update 1.insert-vertex.md

* update-0107

* Update exchange compilation steps (#1364)

* key-value separation support of RocksDB (#1363)

* key-value separation support of RocksDB

* Update 4.storage-config.md

* add nebula plato (#1329)

* add nebula plato

* update

* update

* update

* update

* update

* update

* Update docs-2.0/nebula-plato.md

Co-authored-by: abby.huang <[email protected]>

* update

Co-authored-by: abby.huang <[email protected]>

* add cloud (#1282)

* [WIP]add cloud

* update-1209

* update-1210

* update-1215

* update-1216

* update_1221

* update-1222

* update

* update

* update-1223

* update-1228

* Update docs-2.0/nebula-cloud/5.solution/5.3.role-and-authority-management.md

Co-authored-by: cooper-lzy <[email protected]>

* Update docs-2.0/nebula-cloud/8.privacy-policy.md

Co-authored-by: cooper-lzy <[email protected]>

* Update 7.terms-and-conditions.md

* Update 1.what-is-cloud.md

* Update 3.how-to-set-solution.md

* update

* Update 1.what-is-cloud.md

* update-1228

* Update 5.0.introduce-solution.md

* Update 5.0.introduce-solution.md

* Update 1.what-is-cloud.md

* Update 2.how-to-create-subsciption.md

* Update 3.how-to-set-solution.md

* Update 5.2.connection-configuration-and-use.md

* Update docs-2.0/nebula-cloud/5.solution/5.0.introduce-solution.md

Co-authored-by: abby.huang <[email protected]>

* Update 5.3.role-and-authority-management.md

* Update 1.what-is-cloud.md

* Update 4.user-role-description.md

* Update mkdocs.yml

* update

* update-0104

* update

* Update 5.2.connection-configuration-and-use.md

Co-authored-by: cooper-lzy <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: abby.huang <[email protected]>

* support gql list/set/map (#1366)

* update match statement (#1361)

* update match statement

* update

* Update 8.predicate.md

* Update 10.collect.md

* update

* Add space level metrics (#1365)

* Lookup subgraph format yield (#1359)

* Lookup subgraph format yield

* Update syntax

Co-authored-by: randomJoe211 <[email protected]>

* support delete in toss (#1368)

* update clickhouse config (#1367)

* ignore existed index and add keywords (#1370)

* ignore existed index and add keywords

* Update docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md

Co-authored-by: cooper-lzy <[email protected]>

* Update docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md

Co-authored-by: cooper-lzy <[email protected]>

* Update 1.insert-vertex.md

Co-authored-by: cooper-lzy <[email protected]>

* update Zone (#1338)

* update zone

* update zone

* update

* update

* update

* Update docs-2.0/2.quick-start/4.nebula-graph-crud.md

Co-authored-by: foesa <[email protected]>

* update

* Update docs-2.0/4.deployment-and-installation/5.zone.md

Co-authored-by: abby.huang <[email protected]>

* update

Co-authored-by: foesa <[email protected]>
Co-authored-by: abby.huang <[email protected]>

* Update 1.create-space.md (#1374)

* Update mkdocs.yml (#1373)

* Update 4.nebula-graph-crud.md (#1372)

* support s2 index params (#1381)

* support s2 index params

* update

* Update docs-2.0/3.ngql-guide/3.data-types/10.geography.md

Co-authored-by: randomJoe211 <[email protected]>

* update match and return (#1376)

* update match and return

* Update 2.match.md

* Update 2.match.md

* Update 2.match.md

* Update docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md

Co-authored-by: abby.huang <[email protected]>

Co-authored-by: abby.huang <[email protected]>

* standalone deployment (#1377)

* standalone deployment

* Update standalone-deployment.md

* Update standalone-deployment.md

* updates

* Update standalone-deployment.md

* fix comments

* Update standalone-deployment.md

* Update standalone-deployment.md

* Update standalone-deployment.md

* Update standalone-deployment.md

* Update FAQs (#1379)

* arm-platform (#1375)

* Dashboard ent 1.1.0 new feature (#1326)

* global config

* new for alerts

* new&updates

* add roles & cluster_members

* Update docs-2.0/nebula-dashboard-ent/5.account-management.md

* Update mkdocs.yml

* update

* update

* Update 9.alerts.md

* Update 9.alerts.md

* Update 2.deploy-connect-dashboard-ent.md

* update ldap account

* Update 5.account-management.md

* Delete ds-022.png

* fix comments

* Update 2.match.md (#1382)

* Update 2.match.md

* Update 2.match.md

* Update source_install-nebula-graph-by-rpm-or-deb.md (#1378)

* metric updates for dashboard (#1369)

* metric updates for dashboard

* Update 6.monitor-parameter.md

* Update 7.monitor-parameter.md

* Create 7.monitor-parameter.md

* update balance (#1380)

* update balance

* update

* update

* update

* Update 2.balance-syntax.md

* Update load-balance.md

* replace zone pic (#1384)

* Update load-balance.md (#1385)

* Update using time string in timestamp function (#1383)

* Update using time string in timestamp function

* Update 4.date-and-time.md

* Update 4.date-and-time.md

* license and dashboard tasks (#1386)

* [WIP] Update 3.0.0 core compilation (#1371)

* Updated studio docs

* Create st-ug-limitations.md

* Delete st-ug-limitations.md

* Revert "Delete st-ug-limitations.md"

This reverts commit 16dacaf.

* Delete docs-2.0/nebula-docs directory

* keep consistency

* Updated studio docs

* Create st-ug-limitations.md

* Delete st-ug-limitations.md

* Revert "Delete st-ug-limitations.md"

This reverts commit 16dacaf.

* Delete docs-2.0/nebula-docs directory

* keep consistency

* Updated studio docs

* Create st-ug-limitations.md

* Delete st-ug-limitations.md

* Revert "Delete st-ug-limitations.md"

This reverts commit 16dacaf.

* Delete docs-2.0/nebula-docs directory

* keep consistency

* Update mkdocs.yml

* Update mkdocs.yml

* Update 3.0 core compilation

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* update cmake version

* Update 1.resource-preparations.md

* Modify doc dir name from docs-2.0 to docs (#1389)

* Revert "Modify doc dir name from docs-2.0 to docs (#1389)" (#1391)

This reverts commit 1923f53.

* Update deploy.yaml

* Update deploy.yaml

* Update deploy.yaml

* Update mkdocs.yml

* Update deploy.yaml

* Update deploy.yaml

* Update deploy.yaml

* Update studio & color

* Update mkdocs.yml

* Update 2.balance-syntax.md (#1394)

* update cheatsheet (#1393)

* update cheatsheet

* Update 6.cheatsheet-for-ngql-command.md

* Update 6.cheatsheet-for-ngql-command.md

* studio

* Update 3.vid.md

* Delete overrides/partials directory

* fix links (#1395)

* Update 2.how-to-create-subsciption.md

* Update 3.property-reference.md

* Update 2.boolean.md

* Update 12.hash.md

* update

* Update 2.match.md

* fix links (#1397)

* Update 2.match.md

* Update optional-match.md

* Update 5.lookup.md

* Update 5.lookup.md

* Update 3.go.md

* Update 3.go.md

* Update 3.go.md

* Update 3.go.md

* Space level metrics (#1396)

* space-level-metrics

* Update 4.use-dashboard.md

* updates

* Update limit syntax in GO (#1398)

* Update 3.go.md

* nGQL cheatsheet added (#1399)

* Update 2.deploy-connect-dashboard-ent.md (#1401)

* Add cloud picture and change name (#1402)

* Update 1.install-nebula-graph-by-compiling-the-source-code.md

* Update 5.2.connection-configuration-and-use.md

* Update mkdocs.yml

* fix typo (#1404)

* version correspondence between dashboard & nebula (#1405)

* version correspondence between dashboard & nebula

* version upgrade

* update algorithm (#1406)

* Update limit.md

* Update sample.md

* Update 1.create-space.md

* Update 1.create-space.md

* Update 2.drop-tag.md

* Update README.md

* Update README.md

* Update 4.delete-edge.md

* Update 4.delete-edge.md

* Update 2.graph-modeling.md

* Update 2.1.path.md

* Update 1.insert-edge.md

* Update 2.show-native-indexes.md

* Update nebula-algorithm.md

* Update 2.1.show-create-index.md

* Update 1.text-based-index-restrictions.md

* Update source_manage-service.md

* Update 1.text-based-index-restrictions.md

* Update 4.nebula-graph-crud.md

* Update 2.find-path.md

* Update 2.find-path.md

* Add ranking config in exchange examples (#1407)

* add license check (#1410)

* Update 2.match.md

* Update 2.match.md

* Update nebula-plato.md (#1411)

* Update 1.nebula-client.md

* update start sh

* update stop sh

* update stop sh

* change start service setting

* update start

* Update nebula-plato.md

* Add ranking config in exchange examples (#1412)

* timestamp_in_logfile_name and logrotate faq (#1400)

* Fix exchange conf link (#1414)

* Update note.css

* Update 3.cluster-information.md

* disable balance data (#1416)

* update config shell

* update nebula-dashboard server config

* fix schema rule (#1418)

* Update README.md

* Update 2.deploy-dashboard.md

* Add next step

* Update mkdocs.yml (#1422)

* Update 1.what-is-dashboard-ent.md

* [WIP]update Studio (#1419)

* [WIP]update Studio

* update-0124

* Update st-ug-deploy.md

* [wip] explore 216 --what is explorer & deployment updates (#1417)

* [wip] explore 216 --what is explorer updates

* explorer 216 -- deploy&connect

* Update mkdocs.yml

* Update mkdocs.yml

* [WIP] explorer220-overview (#1421)

* explorer220-overview

* Update ex-ug-page-overview.md

* Update st-ug-what-is-graph-studio.md

* Explorer220 query (#1423)

* explorer220-overview

* explorer 220-query

* Update st-ug-crud-tag.md

* node-filtering (#1424)

* dashboard ent config_file update (#1426)

* dashboard ent config_file update

* Update 2.deploy-connect-dashboard-ent.md

* Create 2.deploy-connect-dashboard-ent.md

* Update 1.insert-edge.md

* Update 2.data-model.md

* Update 2.graph-modeling.md

* dashboard-ent-custom-installation path (#1430)

* dashboard-ent-custom-installation path

* Update 1.create-cluster.md

* update-picture

* Update 1.what-is-dashboard.md

* [WIP] explorer 220 graph-exploration (#1429)

* explorer 220 - canvas (#1433)

* Update 2.deploy-dashboard.md

* Update 2.deploy-dashboard.md

* Update upgrade docs (#1427)

* Update upgrade docs

* Update upgrade docs

* Update upgrade-nebula-from-200-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Update upgrade-nebula-graph-to-latest.md

* Resolve Whitewum's and Harris's comments

* Fix some issues

* update resource calculation

* add caution for date_time_zonespec.csv

* delete zone (#1434)

* manage storage hosts (#1437)

* manage storage hosts

* update

* Update manage-storage-host.md

* Add faq for job id issue (#1438)

* Remove zone (#1439)

* Remove zone (#1440)

* Remove zone

* Update 4.nebula-graph-crud.md

* Exchange support PostgreSQL data source (#1441)

* [WIP] explorer220-updates (#1435)

* explorer220-updates

* updates

* Update mkdocs.yml

* console updates

* Update canvas-overview.md

* Update visualization-mode.md

* Update visualization-mode.md

* show hosts (#1442)

* show hosts

The `show hosts` command displays the version

* Update 6.show-hosts.md

* Update learning-path.md

* Update 2.data-model.md

* Update compaction.md

* Update compaction.md

* Update compaction.md

* Update 3.system-design.md

* Update 3.system-design.md

* Update st-ug-release-note.md

* Update nebula-bench.md

* Update how-to-contribute.md

* Update how-to-contribute.md

* Update 6.eco-tool-version.md

* Update 6.eco-tool-version.md

* Update 0.FAQ.md

* Create 0.FAQ.md (#1443)

* Update use-importer.md

* Update mkdocs.yml

* Update 6.eco-tool-version.md

* update clients (#1444)

* Update 3.system-design.md

* Update ex-ug-deploy.md (#1445)

* Update ex-ug-graph-exploration.md

* update docs (#1446)

* Update ex-ug-graph-exploration.md

* Update 6.kill-query.md (#1448)

* Update 2.deploy-dashboard.md

* Update ex-ug-shortcuts.md

* Update ex-ug-graph-exploration.md (#1449)

* Update st-ug-deploy-by-helm.md (#1450)

* Update explorer-console.md (#1451)

* Update source_connect-to-nebula-graph.md

* Update 5.nebula-python-client.md (#1452)

as we use format string in nebula-python, don't support python3.5

* update

* Update 6.show-hosts.md

* add gifs for dashboard 110 (#1453)

* Update 6.pricing.md

* Update 1.what-is-br.md

* Update 4.storage-service.md

* Update 2.deploy-dashboard.md (#1455)

* Update 1.what-is-nebula-graph.md

* Update mkdocs.yml (#1456)

* Update 2.deploy-dashboard.md (#1457)

* Update 2.deploy-dashboard.md

* Dashboard community deploy&connect updates (#1460)

* deploy&connect updates for dashboard community

* Update mkdocs.yml

* update release notes (#1459)

* update release notes

* update

* update

* update

* Update releasenote.md

* Update 2.deploy-dashboard.md

* Update releasenote.md

* Update releasenote.md

* Update learning-path.md

fix invalid video list url

Co-authored-by: cooper-lzy <[email protected]>
Co-authored-by: Romi <[email protected]>
Co-authored-by: randomJoe211 <[email protected]>
Co-authored-by: Steam <[email protected]>
Co-authored-by: min.wu <[email protected]>
Co-authored-by: Anqi <[email protected]>
Co-authored-by: foesa <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: monchickey <[email protected]>
Co-authored-by: Wey Gu <[email protected]>
Co-authored-by: li Nico <[email protected]>
Co-authored-by: Harris.Chu <[email protected]>
  • Loading branch information
13 people authored Feb 14, 2022
1 parent 37a148f commit b6300c8
Show file tree
Hide file tree
Showing 432 changed files with 9,974 additions and 6,753 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@
- 在 GitHub 提交 [issue][_issues]
- [Fork](https://github.com/vesoft-inc/nebula-docs-cn/fork) 文档,在本地分支上更改或添加新内容,然后向主分支提交 PR。


[_issues]: https://github.com/vesoft-inc/nebula-docs-cn/issues
42 changes: 21 additions & 21 deletions docs-2.0/1.introduction/1.what-is-nebula-graph.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 新一代开源分布式图数据库 Nebula Graph

Nebula Graph是一款开源的、分布式的、易扩展的原生图数据库,能够承载数千亿个点和数万亿条边的超大规模数据集,并且提供毫秒级查询。
Nebula Graph 是一款开源的、分布式的、易扩展的原生图数据库,能够承载包含数千亿个点和数万亿条边的超大规模数据集,并且提供毫秒级查询。

![Nebula Graph 鸟瞰图](nebula-birdview.png)

Expand All @@ -12,72 +12,72 @@ Nebula Graph是一款开源的、分布式的、易扩展的原生图数据库

图数据库适合存储大多数从现实抽象出的数据类型。世界上几乎所有领域的事物都有内在联系,像关系型数据库这样的建模系统会提取实体之间的关系,并将关系单独存储到表和列中,而实体的类型和属性存储在其他列甚至其他表中,这使得数据管理费时费力。

Nebula Graph作为一个典型的图数据库,可以将丰富的关系通过边及其类型和属性自然地呈现。
Nebula Graph 作为一个典型的图数据库,可以将丰富的关系通过边及其类型和属性自然地呈现。

## Nebula Graph的优势
## Nebula Graph 的优势

### 开源

Nebula Graph是在Apache 2.0条款下开发的。越来越多的人,如数据库开发人员、数据科学家、安全专家、算法工程师,都参与到Nebula Graph的设计和开发中来,欢迎访问[Nebula Graph GitHub主页](https://github.com/vesoft-inc/nebula)参与开源项目。
Nebula Graph 是在 Apache 2.0 条款下开发的。越来越多的人,如数据库开发人员、数据科学家、安全专家、算法工程师,都参与到 Nebula Graph 的设计和开发中来,欢迎访问 [Nebula Graph GitHub 主页](https://github.com/vesoft-inc/nebula)参与开源项目。

### 高性能

基于图数据库的特性使用C++编写的Nebula Graph,可以提供毫秒级查询。众多数据库中,Nebula Graph在图数据服务领域展现了卓越的性能,数据规模越大,Nebula Graph优势就越大。详情请参见[Nebula Graph benchmarking页面](https://discuss.nebula-graph.com.cn/t/topic/782)
基于图数据库的特性使用 C++ 编写的 Nebula Graph,可以提供毫秒级查询。众多数据库中,Nebula Graph 在图数据服务领域展现了卓越的性能,数据规模越大,Nebula Graph 优势就越大。详情请参见 [Nebula Graph benchmarking 页面](https://discuss.nebula-graph.com.cn/t/topic/782)

### 易扩展

Nebula Graph采用shared-nothing架构,支持在不停止数据库服务的情况下扩缩容。
Nebula Graph 采用 shared-nothing 架构,支持在不停止数据库服务的情况下扩缩容。

### 易开发

Nebula Graph提供Java、Python、C++和Go等流行编程语言的客户端,更多客户端仍在开发中。详情请参见[Nebula Graph clients](../14.client/1.nebula-client.md)
Nebula Graph 提供 Java、Python、C++ 和 Go 等流行编程语言的客户端,更多客户端仍在开发中。详情请参见 [Nebula Graph clients](../14.client/1.nebula-client.md)

### 高可靠访问控制

Nebula Graph支持严格的角色访问控制和LDAP(Lightweight Directory Access Protocol)等外部认证服务,能够有效提高数据安全性。详情请参见[验证和授权](../7.data-security/1.authentication/1.authentication.md)
Nebula Graph 支持严格的角色访问控制和 LDAP(Lightweight Directory Access Protocol)等外部认证服务,能够有效提高数据安全性。详情请参见[验证和授权](../7.data-security/1.authentication/1.authentication.md)

### 生态多样化

Nebula Graph开放了越来越多的原生工具,例如[Nebula Graph Studio](https://github.com/vesoft-inc/nebula-studio)[Nebula Console](https://github.com/vesoft-inc/nebula-console)[Nebula Exchange](https://github.com/vesoft-inc/nebula-exchange)等,更多工具可以查看 [生态工具概览](../20.appendix/6.eco-tool-version.md)
Nebula Graph 开放了越来越多的原生工具,例如 [Nebula Graph Studio](https://github.com/vesoft-inc/nebula-studio)[Nebula Console](https://github.com/vesoft-inc/nebula-console)[Nebula Exchange](https://github.com/vesoft-inc/nebula-exchange) 等,更多工具可以查看[生态工具概览](../20.appendix/6.eco-tool-version.md)

此外,Nebula Graph还具备与Spark、Flink、HBase等产品整合的能力,在这个充满挑战与机遇的时代,大大增强了自身的竞争力。
此外,Nebula Graph 还具备与 Spark、Flink、HBase 等产品整合的能力,在这个充满挑战与机遇的时代,大大增强了自身的竞争力。

### 兼容OpenCypher查询语言
### 兼容 openCypher 查询语言

Nebula Graph 查询语言,简称为 nGQL,是一种声明性的、部分兼容 openCypher 的文本查询语言,易于理解和使用。详细语法请参见[nGQL指南](../3.ngql-guide/1.nGQL-overview/1.overview.md)
Nebula Graph 查询语言,简称为 nGQL,是一种声明性的、部分兼容 openCypher 的文本查询语言,易于理解和使用。详细语法请参见 [nGQL 指南](../3.ngql-guide/1.nGQL-overview/1.overview.md)

### 面向未来硬件,读写平衡

闪存型设备有着极高的性能,并且[价格快速下降](https://blocksandfiles.com/wp-content/uploads/2021/01/Wikibon-SSD-less-than-HDD-in-2026.jpg)
Nebula Graph 是一个面向 SSD 设计的产品,相比于基于HDD + 大内存的产品,更适合面向未来的硬件趋势,也更容易做到读写平衡。
Nebula Graph 是一个面向 SSD 设计的产品,相比于基于 HDD + 大内存的产品,更适合面向未来的硬件趋势,也更容易做到读写平衡。

### 灵活数据建模

用户可以轻松地在Nebula Graph中建立数据模型,不必将数据强制转换为关系表。而且可以自由增加、更新和删除属性。详情请参见[数据模型](2.data-model.md)
用户可以轻松地在 Nebula Graph 中建立数据模型,不必将数据强制转换为关系表。而且可以自由增加、更新和删除属性。详情请参见[数据模型](2.data-model.md)

### 广受欢迎

腾讯、美团、京东、快手、360等科技巨头都在使用Nebula Graph。详情请参见[Nebula Graph官网](https://nebula-graph.com.cn/)
腾讯、美团、京东、快手、360 等科技巨头都在使用 Nebula Graph。详情请参见 [Nebula Graph 官网](https://nebula-graph.com.cn/)

## 适用场景

Nebula Graph可用于各种基于图的业务场景。为节约转换各类数据到关系型数据库的时间,以及避免复杂查询,建议使用Nebula Graph。
Nebula Graph 可用于各种基于图的业务场景。为节约转换各类数据到关系型数据库的时间,以及避免复杂查询,建议使用 Nebula Graph。

### 欺诈检测

金融机构必须仔细研究大量的交易信息,才能检测出潜在的金融欺诈行为,并了解某个欺诈行为和设备的内在关联。这种场景可以通过图来建模,然后借助Nebula Graph,可以很容易地检测出诈骗团伙或其他复杂诈骗行为。
金融机构必须仔细研究大量的交易信息,才能检测出潜在的金融欺诈行为,并了解某个欺诈行为和设备的内在关联。这种场景可以通过图来建模,然后借助 Nebula Graph,可以很容易地检测出诈骗团伙或其他复杂诈骗行为。

### 实时推荐

Nebula Graph能够及时处理访问者产生的实时信息,并且精准推送文章、视频、产品和服务。
Nebula Graph 能够及时处理访问者产生的实时信息,并且精准推送文章、视频、产品和服务。

### 知识图谱

自然语言可以转化为知识图谱,存储在Nebula Graph中。用自然语言组织的问题可以通过智能问答系统中的语义解析器进行解析并重新组织,然后从知识图谱中检索出问题的可能答案,提供给提问人。
自然语言可以转化为知识图谱,存储在 Nebula Graph 中。用自然语言组织的问题可以通过智能问答系统中的语义解析器进行解析并重新组织,然后从知识图谱中检索出问题的可能答案,提供给提问人。

### 社交网络

人际关系信息是典型的图数据,Nebula Graph可以轻松处理数十亿人和数万亿人际关系的社交网络信息,并在海量并发的情况下,提供快速的好友推荐和工作岗位查询。
人际关系信息是典型的图数据,Nebula Graph 可以轻松处理数十亿人和数万亿人际关系的社交网络信息,并在海量并发的情况下,提供快速的好友推荐和工作岗位查询。

## 相关链接

Expand All @@ -91,6 +91,6 @@ Nebula Graph能够及时处理访问者产生的实时信息,并且精准推

用户也可以通过视频了解什么是图数据。

- [图数据库 Nebula Graph 介绍视频](https://www.bilibili.com/video/BV1kf4y1v7LM)01分39秒
- [图数据库 Nebula Graph 介绍视频](https://www.bilibili.com/video/BV1kf4y1v7LM)01 分 39 秒

<iframe src="//player.bilibili.com/player.html?aid=287936425&bvid=BV1kf4y1v7LM&cid=259888281&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>
12 changes: 6 additions & 6 deletions docs-2.0/1.introduction/2.1.path.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

`walk`类型的路径由有限或无限的边序列构成。遍历时点和边可以重复。

查看示例图,由于C、D、E构成了一个环,因此该图包含无限个路径,例如`A->B->C->D->E``A->B->C->D->E->C``A->B->C->D->E->C->D`
查看示例图,由于 C、D、E 构成了一个环,因此该图包含无限个路径,例如`A->B->C->D->E``A->B->C->D->E->C``A->B->C->D->E->C->D`

!!! note

Expand All @@ -22,15 +22,15 @@

`trail`类型的路径由有限的边序列构成。遍历时只有点可以重复,边不可以重复。柯尼斯堡七桥问题的路径类型就是`trail`

查看示例图,由于边不可以重复,所以该图包含有限个路径,最长路径由5条边组成`A->B->C->D->E->C`
查看示例图,由于边不可以重复,所以该图包含有限个路径,最长路径由 5 条边组成`A->B->C->D->E->C`

!!! note

`MATCH`、`FIND PATH`和`GET SUBGRAPH`语句采用的是`trail`类型路径。

在trail类型中,还有 `cycle``circuit` 两种特殊的路径类型,以下图为例对这两种特殊的路径类型进行介绍。
在 trail 类型中,还有`cycle``circuit`两种特殊的路径类型,以下图为例对这两种特殊的路径类型进行介绍。

![trail示例](../images/Circuits1.png)
![trail 示例](../images/Circuits1.png)

- cycle

Expand All @@ -44,12 +44,12 @@

`path`类型的路径由有限的边序列构成。遍历时点和边都不可以重复。

查看示例图,由于点和边都不可以重复,所以该图包含有限个路径,最长路径由4条边组成`A->B->C->D->E`
查看示例图,由于点和边都不可以重复,所以该图包含有限个路径,最长路径由 4 条边组成`A->B->C->D->E`

## 视频

用户也可以观看视频了解路径的相关概念。

[Nebula Path](https://www.bilibili.com/video/BV1Uf4y1t72L)03分09秒
[Path](https://www.bilibili.com/video/BV1Uf4y1t72L)03 分 09 秒

<iframe src="//player.bilibili.com/player.html?aid=291311326&bvid=BV1Uf4y1t72L&cid=361000311&page=1&high_quality=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>
32 changes: 21 additions & 11 deletions docs-2.0/1.introduction/2.data-model.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 数据模型

本文介绍Nebula Graph的数据模型。数据模型是一种组织数据并说明它们如何相互关联的模型(schema)。
本文介绍 Nebula Graph 的数据模型。数据模型是一种组织数据并说明它们如何相互关联的模型(schema)。

## 数据模型

Nebula Graph数据模型使用6种基本的数据模型
Nebula Graph 数据模型使用 6 种基本的数据模型

- 图空间(Space)

Expand All @@ -15,37 +15,47 @@ Nebula Graph数据模型使用6种基本的数据模型:
点用来保存实体对象,特点如下:

- 点是用点标识符(`VID`)标识的。`VID`在同一图空间中唯一。VID 是一个 int64,或者 fixed_string(N)。
- 点必须有至少一个Tag,也可以有多个Tag。但不能没有Tag。
- 点可以有 0 到多个 Tag。

!!! Compatibility

Nebula Graph 2.x 的点不能没有 Tag。Nebula Graph {{nebula.release}} 的点可以没有 Tag。

- 边(Edge)

边是用来连接点的,表示两个点之间的关系或行为,特点如下:

- 两点之间可以有多条边。
- 边是有方向的,不存在无向边。
- 四元组 `<起点VID、Edge type、边排序值(Rank)、终点VID>` 用于唯一标识一条边。边没有EID。
- 一条边有且仅有一个Edge type。
- 一条边有且仅有一个rank。其为int64,默认为0。
- 四元组 `<起点 VID、Edge type、边排序值 (rank)、终点 VID>` 用于唯一标识一条边。边没有 EID。
- 一条边有且仅有一个 Edge type。
- 一条边有且仅有一个 rank,类型为 int64,默认值为 0。

!!! 关于 rank

rank 可以用来区分 Edge type、起始点、目的点都相同的边。该值完全由用户自己指定。
读取时必须自行取得全部的 rank 值后排序过滤和拼接。
不支持诸如 `next(), pre(), head(), tail(), max(), min(), lessThan(), moreThan()` 等函数功能,也不能通过创建索引加速访问或者条件过滤。

- 标签(Tag)

Tag由一组事先预定义的属性构成
Tag 由一组事先预定义的属性构成

- 边类型(Edge type)

Edge type由一组事先预定义的属性构成
Edge type 由一组事先预定义的属性构成

- 属性(Properties)

属性是指以键值对(Key-value pair)形式存储的信息。

!!! Note

Tag和Edge type的作用,类似于关系型数据库中“点表”和“边表”的表结构。
Tag 和 Edge type 的作用,类似于关系型数据库中“点表”和“边表”的表结构。

## 有向属性图

Nebula Graph使用有向属性图模型,指点和边构成的图,这些边是有方向的,点和边都可以有属性。
Nebula Graph 使用有向属性图模型,指点和边构成的图,这些边是有方向的,点和边都可以有属性。

下表为篮球运动员数据集的结构示例,包括两种类型的点(**player****team**)和两种类型的边(**serve****follow**)。

Expand All @@ -62,6 +72,6 @@ Nebula Graph使用有向属性图模型,指点和边构成的图,这些边

!!! compatibility

由于 Nebula Graph {{ nebula.release }} 的数据模型中,允许存在"悬挂边",因此在增删时,用户需自行保证“一条边所对应的起点和终点”的存在性。详见[INSERT VERTEX](../3.ngql-guide/12.vertex-statements/1.insert-vertex.md)[DELETE VERTEX](../3.ngql-guide/12.vertex-statements/4.delete-vertex.md)[INSERT EDGE](../3.ngql-guide/13.edge-statements/1.insert-edge.md)[DELETE EDGE](../3.ngql-guide/13.edge-statements/4.delete-edge.md)
由于 Nebula Graph {{ nebula.release }} 的数据模型中,允许存在"悬挂边",因此在增删时,用户需自行保证“一条边所对应的起点和终点”的存在性。详见 [INSERT VERTEX](../3.ngql-guide/12.vertex-statements/1.insert-vertex.md)[DELETE VERTEX](../3.ngql-guide/12.vertex-statements/4.delete-vertex.md)[INSERT EDGE](../3.ngql-guide/13.edge-statements/1.insert-edge.md)[DELETE EDGE](../3.ngql-guide/13.edge-statements/4.delete-edge.md)

不支持 openCypher 中的 MERGE 语句。
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Nebula Graph 由三种服务构成:Graph 服务、Meta 服务和 Storage 服

在 Nebula Graph 架构中,Meta 服务是由 nebula-metad 进程提供的,负责数据管理,例如 Schema 操作、集群管理和用户权限管理等。

Meta 服务的详细说明,请参见 [Meta服务](2.meta-service.md)
Meta 服务的详细说明,请参见 [Meta 服务](2.meta-service.md)

## Graph服务和Storage服务
## Graph 服务和 Storage 服务

Nebula Graph 采用计算存储分离架构。Graph 服务负责处理计算请求,Storage 服务负责存储数据。它们由不同的进程提供,Graph 服务是由 nebula-graphd 进程提供,Storage 服务是由 nebula-storaged 进程提供。计算存储分离架构的优势如下:

Expand All @@ -36,4 +36,4 @@ Nebula Graph 采用计算存储分离架构。Graph 服务负责处理计算请

基于分离架构的特性,Graph 服务将可以在更多类型的存储引擎上单独运行,Storage 服务也可以为多种目的计算引擎提供服务。

Graph 服务和 Storage 服务的详细说明,请参见 [Graph服务](3.graph-service.md) [Storage服务](4.storage-service.md)
Graph 服务和 Storage 服务的详细说明,请参见 [Graph 服务](3.graph-service.md)[Storage 服务](4.storage-service.md)
Loading

0 comments on commit b6300c8

Please sign in to comment.