From 47e42e39c9d5fc8e583004a863c7d040a2dc60f6 Mon Sep 17 00:00:00 2001 From: foesa <35463247+foesa-yang@users.noreply.github.com> Date: Fri, 23 Dec 2022 16:56:35 +0800 Subject: [PATCH] Update upgrade-nebula-graph-to-latest.md (#2412) --- .../upgrade-nebula-graph-to-latest.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md index 9114fecd8b2..d745a7735c8 100644 --- a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md +++ b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md @@ -20,8 +20,6 @@ - 必须在原服务器上原地升级,不能修改原机器的 IP 地址、配置文件,不可更改集群拓扑。 -- 硬盘空间要求:各机器硬盘剩余空间都需要是原数据目录的**二倍**。其中一倍空间用于容纳手动备份的数据,另一倍空间用于容纳复制到`dst_db_path`的 WAL,以及原有数据中新增的用于支持无 tag 点的 key。 - - 已知会造成数据丢失的 4 种场景,和 alter schema 以及 default value 相关,参见 [github known issues](https://github.com/vesoft-inc/nebula-graph/issues/857)。 - 数据目录不要使用软连接切换,避免失效。 @@ -30,12 +28,6 @@ ## 升级影响 -- 数据膨胀 - - NebulaGraph 3.x 版本扩展了原有的数据格式,每个点多出一个 key,所以升级后数据会占用更大的空间。 - - 新增 key 的格式为: Type 字段(1 字节)+ Partition ID 字段(3 字节)+ VID(大小根据类型而定)。key 的 value 为空。多占用的空间可以根据点的数量和 VID 的数据类型计算。例如,数据集中有 1 亿个点,且 VID 为 INT64,则升级后这个 key 会占用 1 亿 * (1 + 3 + 8)= 12 亿字节,约等于 1.2 GB。 - - 客户端兼容 升级后旧版本客户端将无法连接 NebulaGraph,需将所有客户端都升级到兼容 NebulaGraph {{nebula.release}} 的版本。