奇怪!!!oracle占用了所以的linux系统CUP资源!

xhchen 2003-07-25 02:33:31
HP ML530 G2服务器:2块2.8至强处理器,4G内存,6块72.8G SISC,COMPAQ SMART array 5312 controller。
安装了redhat 7.3 linux和oracle8.1.7后,开始建表.但这时系统的CPU资源全都被oracle抢去,oracle 用了99.9%的系统资源.机器变的很慢,动鼠标都慢,打入的命令很久才响应.
不知道是什么原因?我安装oracle时补丁都打了,所有的服务都起来了,应该算是成功安装!
请大家帮忙!
谢谢!

...全文
41 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xhchen 2003-07-26
  • 打赏
  • 举报
回复
xinghua@hotmail.com希望能给予指点。谢谢!
xhchen 2003-07-26
  • 打赏
  • 举报
回复
我看过了,CPU高99%,MEM还可以(用了3G),什么命令看IO信息???
所有的功能、服务都起来了,oracle的安装应该没问题吧?
不应该占用那么多的CPU呀!


SQL> @/home/oracle/fxg/create.sql
SQL> set timing on;
SQL> spool create.log
SQL> --create tablespace tbscomm datafile '/u02/data01.dbf' size 2047m default storage (initial 1m next 1m minextents 1 maxextents 1017 pctincrease 0) online;
SQL> --create tablespace tbsidx datafile '/u03/idx01.dbf' size 2047m default storage (initial 1m next 1m minextents 1 maxextents 1017 pctincrease 0) online;
SQL> create tablespace tbstemp datafile '/u01/temp01.dbf' size 2047m default storage (initial 1m next 1m maxextents unlimited pctincrease 0) temporary online;
表空间已创建。
已用时间: 00: 01: 14.06
SQL> create tablespace tbsrbs datafile '/u01/rbs01.dbf' size 2047m default storage (initial 1m next 1m minextents 20 maxextents unlimited pctincrease 0) online;
表空间已创建。
已用时间: 00: 02: 05.53
SQL>
SQL> --alter tablespace tbscomm add datafile '/u02/data02.dbf' size 2047m;
SQL> --alter tablespace tbsidx add datafile '/u03/idx02.dbf' size 2047m;
SQL> alter tablespace tbstemp add datafile '/u01/temp02.dbf' size 2047m;

到这里就停了,但CPU还被占用!



create.sql文件是这样的:
set echo on
set timing on;
spool create.log
--create tablespace tbscomm datafile '/u02/data01.dbf' size 2047m default storage (initial 1m next 1m minextents 1 maxextents 1017 pctincrease 0) online;
--create tablespace tbsidx datafile '/u03/idx01.dbf' size 2047m default storage (initial 1m next 1m minextents 1 maxextents 1017 pctincrease 0) online;
create tablespace tbstemp datafile '/u01/temp01.dbf' size 2047m default storage (initial 1m next 1m maxextents unlimited pctincrease 0) temporary online;
create tablespace tbsrbs datafile '/u01/rbs01.dbf' size 2047m default storage (initial 1m next 1m minextents 20 maxextents unlimited pctincrease 0) online;

--alter tablespace tbscomm add datafile '/u02/data02.dbf' size 2047m;
--alter tablespace tbsidx add datafile '/u03/idx02.dbf' size 2047m;
alter tablespace tbstemp add datafile '/u01/temp02.dbf' size 2047m;
alter tablespace tbscomm add datafile '/u02/data03.dbf' size 2047m;
--alter tablespace tbsidx add datafile '/u03/idx03.dbf' size 2047m;
alter tablespace tbscomm add datafile '/u02/data04.dbf' size 2047m;
alter tablespace tbscomm add datafile '/u02/data05.dbf' size 2047m;
alter tablespace tbsrbs add datafile '/u01/rbs02.dbf' size 2047m;
spool off
exit;
hrb_qiuyb 2003-07-25
  • 打赏
  • 举报
回复
1、确认oracle的补丁打到oracle8.1.7.4了
2、可能是你分配给oracle的内存太多了
3、查找一下哪些进程占用资原最大,并分析一下执行的程序。
BlueskyWide 2003-07-25
  • 打赏
  • 举报
回复
是不是redhat带不动,或总线结构上有问题。
使用HP11i For UNIX操作系统试试吧?!

3,499

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧