暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

如何查看dmdsc上的临时表空间大小

原创 zFox 2020-12-13
921

[root@dameng150 ~]# ps -ef|grep dmserver
dmdba    19278     1 45 Dec05 ?        3-21:02:23 /opt/whProd1/whProd1/bin/dmserver /opt/whProd1/whProd1/data/DSC01/DSC01_conf/dm.ini DCR_INI=/opt/whProd1/whProd1/data/DSC01/dmdcr.ini -noconsole
dmdba    54214     1 99 Dec09 ?        17-20:34:53 /opt/whProd5236/whProd5236/bin/dmserver /opt/whProd5236/whProd5236/data/DSC01/DSC01_conf/dm.ini DCR_INI=/opt/whProd5236/whProd5236/data/DSC01/dmdcr.ini -noconsole
root     60360 25713  0 22:51 pts/10   00:00:00 grep dmserver
[root@dameng150 ~]# cd /opt/whProd5236/whProd5236/bin
[root@dameng150 bin]# ./dmasmtool  DCR_INI=/opt/whProd5236/whProd5236/data/DSC01/dmdcr.ini 
DMASMTOOL V8
ASM>ls
+
disk groups total [4]......
NO.1 	 name: DMLOG
NO.2 	 name: DMDATA
NO.3 	 name: VOTE
NO.4 	 name: DCR
Used time: 3.768(ms).
ASM>cd DMDATA
+DMDATA
Used time: 6.709(ms).
ASM>LS
	dir : data
total count 1.
Used time: 1.105(ms).
ASM>ls
	dir : data
total count 1.
Used time: 1.034(ms).
ASM>LS
	dir : data
total count 1.
Used time: 0.973(ms).
ASM>cd data
+DMDATA/data
Used time: 1.092(ms).
ASM>ls
	dir : dameng
total count 1.
Used time: 1.064(ms).
ASM>cd dameng
+DMDATA/data/dameng
Used time: 1.138(ms).
ASM>ls TEMP*
	file : TEMP0.DBF
	file : TEMP1.DBF
Used time: 20.553(ms).
ASM>ls -l TEMP*      
	file :
		                    name: TEMP0.DBF
		                    id: 0x8100000e
		                    size: 563.53 GB (605080780800 Bytes)
		                    group_id: 1
		                    disk_id: 0 
		                    auno: 4
		                    offset: 7168
		                    create_time: 2020-11-14 18:10:47
		                    modify_time: 2020-12-11 09:41:31
	file :
		                    name: TEMP1.DBF
		                    id: 0x8100000f
		                    size: 110.00 MB (115343360 Bytes)
		                    group_id: 1
		                    disk_id: 0 
		                    auno: 4
		                    offset: 7680
		                    create_time: 2020-11-14 18:10:58
		                    modify_time: 2020-12-13 22:43:54
Used time: 21.392(ms).
ASM>exit
[root@dameng150 bin]# 

备注:这里的两个TEMP,一个是自己节点的,一个是另外节点的。

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论