为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:达梦8
【操作系统】:centos 7
【CPU】:
【问题描述】*:使用docker启动达梦8镜像挂载数据卷,容器启动成功后,使用DM工具链接上数据库,数据丢失。
启动命令如下:
docker run -d -p 5252:5233 --restart=always --network host --name dm8_09_cgy100 --privileged=true -e CASE_SENSITIVE=N -e PAGE_SIZE=32 -e LD_LIBRARY_PATH=/opt/dmdbms/bin -e INSTANCE_NAME=dm8_09_cgy100 -v /data/nfs/ywtg-dmdata-pvc-53b32ec8-3b40-47f6-975f-9e7b07ebc0e1/DAMENG:/opt/dmdbms/data -v /data/nfs/ywtg-dmdata-pvc-53b32ec8-3b40-47f6-975f-9e7b07ebc0e1/DAMENG/dm.ini:/opt/dmdbms/conf/dm.ini dm8_single:v8.1.2.128_ent_x86_64_ctm_pack4
启动日志
Start DmAPService...
Starting DmAPService: [ OK ]
/opt/dmdbms/conf/dm.ini does not exist, use default dm.ini
Start DMSERVER success!
Dmserver is running.
DM Database is not OK, please wait...
DM Database is OK
* Starting periodic command scheduler cron
...done.
2023-03-31 12:13:32.189 [INFO] database P0000000040 T0000000000000000087 pseg_crash_trx_rollback end, total 0 active crash trx, include 0 empty_trxs, 0 empty_pages which only need to delete mgr recs.
2023-03-31 12:13:32.189 [INFO] database P0000000040 T0000000000000000087 pseg_crash_trx_rollback end
2023-03-31 12:13:32.189 [INFO] database P0000000040 T0000000000000000087 hpc_clear_active_trx adjust n_crash_active_trx from 0 to 0.
2023-03-31 12:13:32.189 [INFO] database P0000000040 T0000000000000000040 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/data/DAMENG/dm_20230331121332_189182.ctl
2023-03-31 12:13:32.189 [INFO] database P0000000040 T0000000000000000126 nsvr_lsnr_thread successfully created.
2023-03-31 12:13:32.190 [INFO] database P0000000040 T0000000000000000040 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/data/DAMENG/ctl_bak/dm_20230331121332_189947.ctl succeed
2023-03-31 12:13:32.190 [INFO] database P0000000040 T0000000000000000040 local instance name is DMSERVER, mode is NORMAL, status is OPEN.
2023-03-31 12:13:32.190 [INFO] database P0000000040 T0000000000000000040 SYSTEM IS READY.
2023-03-31 12:13:32.190 [INFO] database P0000000040 T0000000000000000040 set g_dw_stat from UNDEFINED to NONE success, g_dw_recover_stop is 0
2023-03-31 12:13:33.189 [INFO] database P0000000040 T0000000000000000088 trx4_min_tid_collect set min_active_id_opt, min_active_id: 9022, first_tid: 9018
使用DM管理工具连接查看数据库表
是什么数据丢失