[comment]: # ({6b2d9baf-1bd9e66f})
# 13 升级说明适用于 7.0.2

[comment]: # ({/6b2d9baf-1bd9e66f})

[comment]: # ({b7a15027-49f0b2ec})
## 重大变更

[comment]: # ({/b7a15027-49f0b2ec})

[comment]: # ({52481547-9afd8363})
#### TimescaleDB 上转换为 hypertable 的二进制数据历史记录

`history_bin` 表已在 TimescaleDB 上转换为 hypertable，以便利用按时间自动分区（默认 1 天）并获得更好的性能。

要成功升级现有安装，请参见 [升级 TimescaleDB 模式](/manual/appendix/install/timescaledb#upgrading-timescaledb-schema)。

另请参见：[支持的 TimescaleDB 版本](/manual/installation/requirements#thirdparty-external-surrounding-software)

[comment]: # ({/52481547-9afd8363})

[comment]: # ({e69b2de0-b7e1210c})
#### 升级后出现数据库还原错误（使用 PostgreSQL/TimescaleDB）：7.0.0-7.0.4

使用[`pg_restore`](https://www.postgresql.org/docs/current/app-pgrestore.html)恢复在Zabbix 7.0.0-7.0.4中创建的PostgreSQL或TimescaleDB备份将导致缺少`base36_decode`函数错误，从而导致恢复失败。
当使用[`pg_dump`](https://www.postgresql.org/docs/current/app-pgdump.html)创建的备份进行恢复时会发生此错误。

有关在创建备份**之前**手动修复此 问题 的详细信息，请参见 [已知问题 问题](/manual/installation/known_issues#database-restore-error-with-postgresqltimescaledb-after-upgrade-from-7.0.0-7.0.4)。

如果您尚未升级到 Zabbix 7.0.0，请注意，从旧于 7.0 的 Zabbix 版本升级到 7.0.5 时，不应存在此类 问题。
有关升级说明，请参见 [升级timescaledb架构](/manual/appendix/install/timescaledb#升级timescaledb架构)。

[comment]: # ({/e69b2de0-b7e1210c})
