【发布时间】:2011-07-22 07:21:01
【问题描述】:
我的 MySQLCLUSTER 已达到如下所示的数据使用限制
ndb_mgm> all report memoryusage
Node 2: Data usage is 100%(2560 32K pages of total 2560)
Node 2: Index usage is 22%(531 8K pages of total 2336)
Node 3: Data usage is 100%(2560 32K pages of total 2560)
Node 3: Index usage is 22%(531 8K pages of total 2336)
我搜索后,增加数据内存应该可以解决这个错误,我的更新如下所示
[NDBD DEFAULT]
NoOfReplicas=2
[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]
# Managment Server
[NDB_MGMD]
HostName=the IP of THIS SERVER
# Storage Engines
[NDBD]
HostName= the IP of the FIRST SERVER
DataDir= /var/lib/mysql-cluster
DataMemory = 512M
[NDBD]
HostName=the IP of the SECOND SERVER
DataDir=/var/lib/mysql-cluster
DataMemory = 512M
# 2 MySQL Clients
# I personally leave this blank to allow rapid changes of the mysql clients;
# you can enter the hostnames of the above two servers here. I suggest you dont.
[MYSQLD]
[MYSQLD]
然后我在这个管理节点重新启动 ndb_mgmd。重新启动数据节点 mysql.server & ndbd。但仍然是 100% 的数据使用率。
我做错了什么步骤?附加信息我的管理节点是 windows xp 平台,数据节点是基于 solaris。
【问题讨论】:
标签: mysql-management