Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

12

积分

0

好友

6

主题
1#
发表于 2014-2-11 13:20:43 | 查看: 7271| 回复: 4
本帖最后由 laobu 于 2014-2-11 13:23 编辑

某11.2.0.4+asm+standalone+aix6.1数据库,因为/tmp目录满,清理了其下所有文件,包括/tmp/.oracle(此目录倒是保留了,只删了其中文件)。之后asm实例异常。
后来bing到有文章说类似的经验发生在/var/tmp/.oracle目录
想请教:这两目录下的文件们,到底干什么用的,什么情况下才可以清理

另外也注意到,/tmp目录下总会有一堆oracle用户的文件,大多久未更新。因为机制不清,现在连它们也不敢清了 :-)

谢谢。
5#
发表于 2014-2-11 19:13:30
遇到一个客户,清理tmp下面文件,删除了.oracle导致rac down机

回复 只看该作者 道具 举报

4#
发表于 2014-2-11 13:33:36
Maclean Liu(刘相兵 发表于 2014-2-11 13:28
[root@mlab2 ~]# cd /var/tmp/.oracle/

[root@mlab2 .oracle]# ls -ltr

非常感谢。

回复 只看该作者 道具 举报

3#
发表于 2014-2-11 13:28:07
[root@mlab2 ~]# cd /var/tmp/.oracle/

[root@mlab2 .oracle]# ls -ltr
total 0
srwxrwxrwx 1 oracle oinstall 0 Dec  7  2009 s#13153.2
srwxrwxrwx 1 oracle oinstall 0 Dec  7  2009 s#13153.1
prw-r--r-- 1 oracle oinstall 0 Sep 22  2012 npohasd
srwxrwxrwx 1 oracle oinstall 0 Dec 21  2012 s#4116.2
srwxrwxrwx 1 oracle oinstall 0 Dec 21  2012 s#4116.1
srwxrwxrwx 1 oracle oinstall 0 May 27  2013 s#14296.2
srwxrwxrwx 1 oracle oinstall 0 May 27  2013 s#14296.1
srwxrwxrwx 1 oracle oinstall 0 Aug  7  2013 s#3971.2
srwxrwxrwx 1 oracle oinstall 0 Aug  7  2013 s#3971.1
srwxrwxrwx 1 oracle oinstall 0 Oct  7 22:29 s#3918.2
srwxrwxrwx 1 oracle oinstall 0 Oct  7 22:29 s#3918.1
srwxrwxrwx 1 oracle oinstall 0 Nov 14 22:35 s#11239.2
srwxrwxrwx 1 oracle oinstall 0 Nov 14 22:35 s#11239.1
srwxrwxrwx 1 oracle oinstall 0 Dec  2 05:29 s#4099.2
srwxrwxrwx 1 oracle oinstall 0 Dec  2 05:29 s#4099.1
srwxrwxrwx 1 oracle oinstall 0 Dec  5 07:40 s#4085.2
srwxrwxrwx 1 oracle oinstall 0 Dec  5 07:40 s#4085.1
srwxrwxrwx 1 oracle oinstall 0 Dec  6 00:04 s#4086.2
srwxrwxrwx 1 oracle oinstall 0 Dec  6 00:04 s#4086.1
srwxrwxrwx 1 oracle oinstall 0 Dec 14 02:52 s#4111.2
srwxrwxrwx 1 oracle oinstall 0 Dec 14 02:52 s#4111.1
-rw-r--r-- 1 oracle oinstall 0 Jan 31 02:04 sprocr_local_conn_0_PROL_lock
srwxrwxrwx 1 oracle oinstall 0 Jan 31 02:05 s#4075.2
srwxrwxrwx 1 oracle oinstall 0 Jan 31 02:05 s#4075.1
-rw-r--r-- 1 oracle oinstall 0 Jan 31 02:05 sOCSSD_LL_mlab2__lock
-rw-r--r-- 1 oracle oinstall 0 Jan 31 02:05 sOracle_CSS_LclLstnr_localhost_1_lock
-rw-r--r-- 1 oracle oinstall 0 Jan 31 02:05 sOCSSD_LL_mlab2_localhost_lock
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:24 sprocr_local_conn_0_PROL
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:24 sOHASD_IPC_SOCKET_11
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:24 smlab2DBG_OHASD
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:24 sOHASD_UI_SOCKET
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:24 sCRSD_UI_SOCKET
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sLISTENER
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 s#4092.2
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 s#4092.1
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 smlab2DBG_EVMD
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sSYSTEM.evm.acceptor.auth
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sOCSSD_LL_mlab2_
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 smlab2DBG_CSSD
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sCevm
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sAevm
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sOracle_CSS_LclLstnr_localhost_1
srwxrwxrwx 1 oracle oinstall 0 Feb  7 02:25 sOCSSD_LL_mlab2_localhost
[root@mlab2 .oracle]# ss



回复 只看该作者 道具 举报

2#
发表于 2014-2-11 13:25:34
ODM FINDING:
For Oracle Restart (Grid Infrastructure Standalone), it's possible that network socket files have unexpected or inappropriate ownership or
permission. Note that the location of the socket files will be /tmp/.oracle or /var/tmp/.oracle or /usr/tmp/.oracle. The following ownership
(for example) will cause this issue:
srwxrwxrwx 1 root root 0 Dec 4 19:22 sCRSD_UI_SOCKET


Oracle Clusterware(CRS or Grid Infrastructure) network socket files are located in /tmp/.oracle, /usr/tmp/.oracle or /var/tmp/.oracle, it's important not
to touch them manually unless instructed by Oracle Support to keep clusterware healthy.
Other Oracle component may also stores socket files in the same directory, for example, Oracle Net Listener, Cluster Healthy Monitor (aka CHM or
IPD/OS which became part of Oracle Clusterware in 11.2.0.2 on certain platform)
Depend on whether it's standalone or cluster installation, same name socket file can be owned differently.


answer:

主要存放一些Oracle Clusterware(CRS or Grid Infrastructure)使用的socket 文件

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 10:02 , Processed in 0.318617 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569