安装文件下载
(待补充完善)
安装准备
(待补充完善)
数据库安装
(待补充完善)
数据库初始化
初始化参数参考
https://eco.dameng.com/document/dm/zh-cn/pm/dminit-parameters.html
初始化数据库
[root@yw-12-dm8 bin]# find / -name dbinit
[root@yw-12-dm8 bin]# ./dminit
initdb V8
db version: 0x7000c
file dm.key not found, use default license!
License will expire on 2024-04-17
input system dir: /home/dmdba/dmdata
input db name: dameng
input port num: 5236
input page size(4, 8, 16, 32): 8
input extent size(16, 32, 64): 16
input sec priv mode(0, 1, 2, 3): 0
input global env label flag? ([Y]es, [N]o): N
input time zone(-12:59,+14:00): input time zone(-12:59,+14:00): +8:00
string case sensitive? ([Y]es, [N]o): N
which charset to use? (0[GB18030], 1[UTF-8], 2[EUC-KR]): 1
length in char? ([Y]es, [N]o): N
enable database encrypt? ([Y]es, [N]o): N
input slice size(0, 512, 4096): 4096
page check mode? (0/1/2): 0
input elog path: /home/dmdba/dmdata/elog
only create huge table with delta? (0/1): 1
rlog generate for huge? (0/1): 1
pseg_mgr_flag (0/1): 0
auto_overwrite mode? (0/1/2): 0
CHARACTER type fixed storage ? ([Y]es/1, [N]o/0): N
SQL log forbid ? ([Y]es/1, [N]o/0): N
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
log file path: /home/dmdba/dmdata/dameng/dameng01.log
log file path: /home/dmdba/dmdata/dameng/dameng02.log
write to dir [/home/dmdba/dmdata/dameng].
create dm database success. 2023-05-09 10:41:49
[root@yw-12-dm8 bin]#