正在加载文档
最近更新时间: 2021-03-15 17:20:27
本文为您介绍PolarDB的相关使用限制。
| 节点规格 | 文件系统占用内存 | 文件个数上限 |
|---|---|---|
| polar.mysql.x2.medium | 450 MB | 1026048 |
| polar.mysql.x4.large | 850 MB | 2050048 |
| polar.mysql.x4.xlarge | 850 MB | 2050048 |
| polar.mysql.x8.xlarge | 850 MB | 2050048 |
| polar.mysql.x8.2xlarge | 850 MB | 2050048 |
| polar.mysql.x8.4xlarge | 850 MB | 2050048 |
| polar.mysql.x8.12xlarge | 850 MB | 2050048 |
以上表格中的参数解释如下:
ERROR 3017 (HY000): Too many files. PolarDB only supports 2048 files every 10GB disk size. Please drop some tables/databases before creating new tables此时需要删除部分表或者升级集群规格。
| 节点规格 | 文件个数上限 |
|---|---|
| polar.pg.x4.medium | 1048576 |
| polar.pg.x4.large | 2097152 |
| polar.pg.x4.xlarge | 2097152 |
| polar.pg.x8.xlarge | 4194304 |
| polar.pg.x8.2xlarge | 8388608 |
| polar.pg.x8.4xlarge | 12582912 |
| polar.pg.x8.12xlarge | 20971520 |
| polar.o.x4.medium | 1048576 |
| polar.o.x4.large | 2097152 |
| polar.o.x4.xlarge | 2097152 |
| polar.o.x8.xlarge | 4194304 |
| polar.o.x8.2xlarge | 8388608 |
| polar.o.x8.4xlarge | 12582912 |
| polar.o.x8.12xlarge | 20971520 |
文件个数上限:包括用户表文件、数据库系统表文件(大约1000个)、日志文件等。一个普通的PolarDB表(非分区表)占用3个文件(数据文件、visibilitymap文件、fsm文件,使用索引的话,每个索引一个文件)。文件数量达到上限后,继续创建表会提示类似以下错误:
could not create file此时需要删除部分表或者升级集群规格。
这篇文档有帮助吗?
正在加载反馈服务…