ORA-04021错误分析
ORA-04021错误分析[@more@]ORA-04021 等待锁定对象时超时。1.查找死锁的sessionselect b.sid,b.serial#,b.machine,b.terminal,b.program,b.process,b.status from v$lock a , v$session b where a.SID = b.SID得到死锁session的SID,SERIAL#2.杀掉sessionalter system kill session 'sid,serial#';
ORA-00600错误分析
ORA-00600错误分析[@more@]ORA-600大全http://dco-proxima.dco.pima.edu/oracle/bug/index/pr000512.htmORA-600错误1->解决思路ORA-00600: internal error code, arguments: [ksmovrflow], [kkznxddl.begin], [], [], [], [], [], []晚上测试实体化视图复制,测试环境中的master site是Oracle10g,MV site是Oracle9201,当在MV site上创建快速刷新的实体化视图时,报ORA-600错误。SQL> CREATE MATERIALIZED VIEW KAMUS.ACCOUNT2004 REFRESH FAST WITH PRIMARY KEY AS SELECT * FROM KAMUS.ACCOUNT2004@orcl;CREAT
学ORACLE随笔
//删除用户drop user lc0019999 cascade//创建用户create user lc0019999 identified by password//给用户授DBA权限grant dba to lc0019999//导入数据$imp lc0019999/password@server file=e:back312.dmp fromuser=lc0019999 touser=lc0019999//导出数据$exp lc0019999/password@server file=e:backaaa.dmp//更改sys与system口令alter user system(sys) identified by newpassword//更改归档日志方式archivelog与noarchivelogalter database archivelog(noarchivelog)//整理蜂窝式碎片的方式alter tablespace tablespacename coalesce//查
初识ORACLE的审计功能
顺着这样的思路去学习。1、审计可以达到怎样的效果?我用来做什么?2、任何概念都该有分类的吧,审计也不例外?3、如何启用审计?数据库一级。4、如何设定我所需要的审计?针对某个特定的监视目标了。5、如何看审计的结果?6、论坛上一些常见的问题,自己认为比较难理解的问题。[@more@]初识ORACLE的审计功能顺着这样的思路去学习。1、审计可以达到怎样的效果?我要来做什么?2、有分类吗?3、如何启用审计?数据库一级。4、如何设定我所需要的审计?针对某个特定的监视目标了。5、如何看审计的结果?6、论坛上一些常见的问题,自己认为比
归档日志物理删除后闪回恢复区空间未释放
连接数据库进去提示ora-00257:archiver error.Connect internal only,until freed.登录服务器,操作系统验证,登录好久登录不进去无奈,把oracle服务重启了下,终于登录进去了查询v$archived_log里面有2条归档日志记录,但是在磁盘上怎么找都找不到select * from V$FLASH_RECOVERY_AREA_USAGE;--显示归档...
RMAN backup recovery area
To free space in the FRA we could do take abackup of the Flash Recovery Area using the command BACKUP RECOVERY AREA.This command will take the backup of all the files in the FRAto ...
创建ASM数据库
一、配置ASM1、使用ASMTOOL创建磁盘C:\Users\Administrator>asmtool ASM-00200:Invalid command optionASM-00208:asmtool -add [-force] \Device\Harddisk1\Partition1 ORCLDISKasm0 ......
删除ASM实例
1、 删除磁盘组C:\Users\Administrator>setoracle_sid=+asm C:\Users\Administrator>sqlplus / as sysdba SQL*Plus: Release 10.2.0.3.0 - Productionon Tue Apr 24 10:42:53...
修改control_files参数时犯的错误
今天在修改control_files参数时,犯了一个低级的错误,执行了下面的命令:SYS@ tsid > alter system setcontrol_files='E:\ORADATA\TEST\CONTROL01.CTL,E:\ORADATA\TEST\CONTROL02.CTL,E:\ORADATA\TEST...
Oracle 10g Data Pump Expdp/Impdp 详解
本文转自David的Blog,原文链接http://blog.csdn.net/tianlesoftware/article/details/4674224 一. 官网说明1. Oracle 10g文档如下:http://download.oracle.com/docs/cd/B19306_01/server.102/b...
expdp五种mode
Oneof the most significant characteristics of an export operation is its mode,because the mode largely determines what is exported. Export provides differentmodes for unloading different ...
使用expdp时遇到ORA-39002、ORA-39070错误
使用expdp时,遇到”ORA-39002、ORA-39070......”连续报错。1、 遇到的问题C:\Users\Administrator>expdp'sys/system as sysdba' directory=backup full=y dumpfile=fullexp.dmplogfile=fullexp.lo...