导入大数据量到kingbase数据库,然后重启报错了
2023-08-08 11:29:01 CST [2636829]: [1-1] user=,db=,client=LOG: sepapower extension initialized
2023-08-08 11:29:01 CST [2636829]: [2-1] user=,db=,client=LOG: starting KingbaseES V008R006C007B0012 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu/Linaro 4.9.1-16kord6) 4.9.1, 64-bit
2023-08-08 11:29:01 CST [2636829]: [3-1] user=,db=,client=LOG: listening on IPv4 address "0.0.0.0", port 54321
2023-08-08 11:29:01 CST [2636829]: [4-1] user=,db=,client=LOG: listening on IPv6 address "::", port 54321
2023-08-08 11:29:01 CST [2636829]: [5-1] user=,db=,client=LOG: listening on Unix socket "/tmp/.s.KINGBASE.54321"
2023-08-08 11:29:01 CST [2636829]: [6-1] user=,db=,client=FATAL: could not map anonymous shared memory: Cannot allocate memory
2023-08-08 11:29:01 CST [2636829]: [7-1] user=,db=,client=HINT: This error usually means that Kingbase's request for a shared memory segment exceeded available memory, swap space, or huge pages. To reduce the request size (currently 71782088704 bytes), reduce Kingbase's shared memory usage, perhaps by reducing shared_buffers or max_connections.
2023-08-08 11:29:01 CST [2636829]: [8-1] user=,db=,client=LOG: database system is shut down
提示内存需要分配 67G内存。不知道为什么要这么大的内存。是把数据都装进内存了么
total used free shared buff/cache available
Mem: 254 191 54 5 8 39
Swap: 0 0 0
本机 可以用 只剩下 54G。
shared_buffers 不管设多设少都启动不了。
请问有什么办法可以让他启动成功。或者没有启动的状态下,能否删掉导入的大量数据的那个数据库。