我们如何减少机场.dat文件的文件大小?我们当前的配置是
namespace test {
memory-size 20G # Maximum memory allocation for data and
# primary and secondary indexes.
storage-engine device { # Configure the storage-engine to use
file /opt/aerospike/test.dat # Location of data file on server.
filesize 100G # Max size of each file in GiB.
}
}如果test.dat为90 as作为par ls -ltrh,则当前文件大小。但是在AMC上,它显示使用了50 is。
我想把文件大小缩小到80 to。我试着跟踪这医生
减少了文件大小,如果重新启动机场服务,减少文件的大小,最终可能会删除随机数据,这可能会导致因截断而导致机场集群的意外行为,甚至可能导致节点上的可用百分比偏低。因此,您需要删除文件本身,并允许从集群中的其他节点迁移数据。
但是,当我启动服务器发布数据删除时,启动会出现错误。
Jan 20 2022 03:44:50 GMT: WARNING (drv_ssd): (drv_ssd.c:3784) unable to open file /opt/aerospike/test.dat: No such file or directory我有几个问题
发布于 2022-01-21 21:59:53
https://stackoverflow.com/questions/70799708
复制相似问题