Skip to content

Commit

Permalink
Add execution plan explaination (#631)
Browse files Browse the repository at this point in the history
* add plan

* minor about raft replicas
  • Loading branch information
whitewum authored Jun 23, 2021
1 parent e2fda87 commit f70d7f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ leader切换对于负载均衡至关重要,当把某个分片从一台机器

Storage服务基于Raft协议实现的分布式架构,与HDFS的分布式架构有一些区别。例如:

- Storage服务本身通过Raft协议保证一致性,所有副本必须为奇数,方便进行选举leader,而HDFS存储具体数据的DataNode需要通过NameNode保证一致性,对副本数量没有要求。
- Storage服务本身通过Raft协议保证一致性,副本数量通常为奇数,方便进行选举leader,而HDFS存储具体数据的DataNode需要通过NameNode保证一致性,对副本数量没有要求。

- Storage服务只有leader副本提供读写服务,而HDFS的所有副本都可以提供读写服务。

Expand Down
5 changes: 5 additions & 0 deletions docs-2.0/8.service-tuning/4.plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 执行计划

Nebula Graph {{ nebula.release }} 实现了基于规则的执行计划。用户无法改变执行计划,无法进行查询的预编译(及相应的计划缓存),无法通过指定索引来加速索引。

要查看执行计划及执行概要,请参考[EXPLAIN和PROFILE](../3.ngql-guide/17.query-tuning-statements/1.explain-and-profile.md)
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@ nav:
- Storage负载均衡: 8.service-tuning/load-balance.md
- 图建模: 8.service-tuning/2.graph-modeling.md
- 系统建模: 8.service-tuning/3.system-design.md
- 执行计划: 8.service-tuning/4.plan.md
- 超级节点(稠密点): 8.service-tuning/super-node.md


- Nebula Graph Studio:
- Studio版本更新说明: nebula-studio/about-studio/st-ug-release-note.md
- 认识 Nebula Graph Studio:
Expand Down

0 comments on commit f70d7f2

Please sign in to comment.