奇怪!!!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时补丁都打了,所有的服务都起来了,应该算是成功安装!
请大家帮忙!
谢谢!

...全文
39 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操作系统试试吧?!
内容概要:本文研究了基于粒子群算法(PSO)的微网优化调度方法,重点探讨了需求响应机制对微网运行特性的影响。通过构建包含分布式电源、储能系统及可控负荷的微网综合模型,采用粒子群算法求解多目标优化问题,旨在实现系统运行经济性、能源利用效率与供电可靠性的协调优化。文中详细阐述了需求响应策略的数学建模过程,分析其在负荷转移、削峰填谷、降低用电成本等方面的作用机制,并基于Matlab平台完成了算法编程与仿真验证。通过设置多种运行场景进行对比实验,结果表明所提出的优化模型能有效降低微网综合运行成本,提高可再生能源消纳能力,增强系统对不确定性因素的适应性与调度灵活性。; 适合人群:具备电力系统基础理论知识和一定Matlab编程能力的科研人员及工程技术人员,尤其适用于从事微电网能量管理、智能配电网优化、需求侧响应等领域研究的研究生及以上学历人员。; 使用场景及目标:①应用于微电网能量管理系统中,实现源-荷-储多主体协同优化调度;②支持高比例可再生能源接入场景下的配电系统经济调度与需求侧管理决策;③为学术研究提供粒子群算法在复杂电力系统优化问题中应用的完整案例参考。; 阅读建议:建议读者结合提供的Matlab代码深入理解算法实现细节,重点关注目标函数设计、约束条件处理、粒子群参数配置等关键环节,鼓励动手调试代码并尝试调整模型结构或参数设置,以观察不同条件下优化结果的变化规律,从而深化对智能优化算法与微网调度机制融合应用的理解。

3,499

社区成员

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

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