refresh for database
prepare for this project,checked the environment 1. Check object counts of SYSADM.SQL> select owner, object_type, count (*) from dba_objects where status <>'VALID' group by owner, object_type;...
Ask Tom之中文化20060113——Consistent Gets(一)
Ask Tom之中文化20060113——Consistent Gets(一)译者说明:这篇至今长达4.3年的帖子相当之冗长,其中有不少详尽的解释。长度决定无法一次性译完,也无法全部翻译。因此下文中有部分内容是译者自己总结了一些问...
Temp tablespace been fill up and with error ORA-1652
CAUSE DETERMINATION===================--) When the temporary tablespace fills, any statement that requires additional temporary space will fail with an “ORA-1652: unable to extend temp segment” erro...
诊断并解决ORA-04031 错误【转帖】
诊断并解决ORA-04031 错误 对于大多数应用来说,共享池的大小对于Oracle 性能来说都是很重要的。共享池中保存数据字典高速缓冲 和完全解析或编译的的PL/SQL 块和SQL 语句。 当我们在共享池中试图分配大片的连续内存...
Oracle 性能优化的基本方法概述[ZT]
1)设立合理的性能优化目标。2)测量并记录当前性能。3)确定当前Oracle性能瓶颈(Oracle等待什么、哪些SQL语句是该等待事件的成分)。4)把等待事件记入跟踪文件。5)确定当前的OS瓶颈。6)优化所需的成分(应用程...
SQL Tuning Task
1. Creating a SQL Tuning TaskDECLAREmy_task_name VARCHAR2(30);my_sqltext CLOB;BEGINmy_task_name := DBMS_SQLTUNE.CREATE_TUNING_TASK(BEGIN_SNAP => 23433,END_SNAP => 23480,SQL_ID => 'bh18p925nqvvk',task...
解决表空间填充满时出现的ORA-1652错误
在实际的应用中,很多人经常会遇到“ORA-1652: unable to extend temp segment”临时表空间被资源中的多个会话共享的情况,并且quotas不能限制每个用户使用的临时表空间数量,当临时表空间被填充满时,任何尝试获得...
重建OEM过程以及遇到的一些问题
OEM打不开问题描述:早上就有客户说OEM打不开,但是数据库运行正常。环境:主机是HP-unix环境,oracle 10.2.0.3 RAC首先检查agent的状态$ emctl status agentOracle Enterprise Manager 10g Database Control Re...
如何解决ORA-04031 错误
编译java代码时出现的ora-4031 在你编译java代码的时候如果内存溢出,你会看到错误: a sql exception occurred while compiling: : ora-04031: unable to allocate bytes of shared memory ("shar...
solaris下使用lsof恢复删除的文件[转帖]
使用lsof删除恢复的文件模拟lsof恢复删除的文件(tools.dbf):Solaris 9 + lsof 4.77 + oracle 8.1.71. 数据文件由dbwr进程打开。bash-2.05# ps -ef | grep ora_ | grep 817oracle 817 1 0 15:56:30 ? 0:00 ...
v$shared_pool_advice,v$db_cache_advice,v$pga_target_advice 建议
使用Quest 的SQL Momitor在Oracle Enterprise Manager中找到的advicer 的一些sql用法。便于平时的参数调整。/* OracleOEM */ SELECT shared_pool_size_for_estimate, shared_pool_size_factor, estd_lc_time_saved,...
reconfig dbconsole can't start
The summary of Troubleshooting the problem about when recreate or reconfigure the dbconsole,the dbconsole can't be startedProblem descriptionWhen droping the dbconsole, prompt some folders can't remo...
alter session set current_schema 指令
SQL> conn scott/tigerConnected to Oracle9i Enterprise Edition Release 9.2.0.1.0 Connected as scottSQL> create table test(name char(10));Table createdSQL> create table system.test(name char(...
ORA-60 Deadlock Detected Errors (Note:62365.1)
Checked for relevance on 28-8-2007Introduction~~~~~~~~~~~~ This short article describes how to determine the cause of ORA-60 "deadlock detected while waiting for resource" errors. N...
oracle最重要的9个动态性能视图{ZT}
oracle最重要的9个动态性能视图v$session + v$session_wait (在10g里功能被整合,凑合算1个吧.)v$processv$sqlv$sqltextv$bh (更宁愿是x$bh)v$lockv$latch_childrenv$sysstatv$system_event按组分的几组重要...
:How to Recreate the Database Control Repository(ORA10G_R2)[ZT]
The following is about recreate the Database Control Repository of ORA10g_R2:This article provides steps-by-step details on how to create, drop and recreate the Database Control Repository and config...
Oracle 数据库管理脚本命名规范
Oracle 数据库管理脚本命名规范 Oracle 中的数据字典是数据库中的非常重要的一部分,提供了相关数据库的信息,它是所有 Oracle 用户(从应用的最终用户、应用的设计开发者到数据库管理员)的非常重要的信息来源。数...
about job and MATERIALIZED VIEW issue
ORA-12012: error on auto execute of job 5717ORA-12537: TNS:connection closed~ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460ORA-06512: at "SYS.DBMS_SNAPSHOT", ...
Oracle 9i性能调整 [ZT]
Oracle 9i性能调整/* *作者:欧朝敬QQ:35712069手机:13873195792请转载者不要更改原版内容 */1、设置合适的SGA 常常有人抱怨服务器硬件很好,但是Oracle就是很慢。很可能是内存分配不合理造成的。 (1)假...
SYSTEM 用户的重建
检查数据库,发现一堆属于sys.的invalid objects.最后发现原来system用户被谁drop掉了。然后尝试重新创建SYSTEM:1.backup database use export .exp sys/oracle full=y file=R:\fulll_bak\full_bak_12_23.dmp log...