sqlplus / as sysdba登录很慢的问题

Slow SYSDBA OS authentication (Doc ID 2225093.1)

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

 SYSDBA OS authentication takes almost 16 seconds ( sqlplus / as sysdba )
the strace shows there is a read delay for AUTH_VERSION_S

03:33:03 read(7, "", 4096) = 0
03:33:03 close(7) = 0
03:33:03 munmap(0x7f3b433cb000, 4096) = 0
03:33:03 write(8,
"\4z\0\0\6\0\0\0\0\0\3s\3\0\0\0\0\0\0\0\0\0\0\0\0!\0\0\0\376\377\377"...,
1146) = 1146
03:33:03 read(9,
"\4\250\0\0\6\0\0\0\0\0\10\31\0\23\0\0\0\23AUTH_VERSION_S"..., 8208) = 1192
03:33:18
open("/u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/mesg/oraus.msb",
O_RDONLY) = 7 -------------------------------------->>> 15
secs
03:33:18 fcntl(7, F_SETFD, FD_CLOEXEC) = 0
03:33:18 lseek(7, 0, SEEK_SET) = 0
03:33:18 read(7,
"\25\23\"\1\23\3\t\t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
256) = 256
03:33:18 lseek(7, 512, SEEK_SET) = 512
03:33:18 read(7,
"f\31\2603fJ>h\265z\342\207C\226]\310m\374\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
03:33:18 lseek(7, 1024, SEEK_SET) = 1024

 

CAUSE

 excessively large number of audit files under /u01/app/oracle/admin/adump (created due to excessive SYSDBA connections) causing all the local connections to this Database to hang.

SOLUTION

 Clear the old OS audit files under /u01/app/oracle/admin/adump

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值