sqlplus 中使用set autot trace stat时报错
SQL> set time on23:10:22 SQL> set autot trace statERROR:ORA-28002: the password will expire within 7 daysSP2-0619: Error while connectingSP2-0611: Error enabling STATISTICS report23:10:31 SQL> set au...
sqlplus 上下键问题 readline+rlwrap
linux下sqlplus rman的上下键问题。需要文件readline-6.2.tar.gz和rlwrap-0.37.tar.gz用root用户解压两个文件gunzip XXX.gz tar -vxf xxx.tarroot用户 然后先进入readline-6.2 执行./configuremake ...
刷新环境冲突解决
刷新环境冲突解决 execute dbms_refresh.refresh('repadmin.refresh_ro');execute dbms_refresh.refresh('repadmin.refresh_rw');commit;ORA-23402:在NDC库上做:select * from deferror;--delete from sys...
rman 删除归档日志
rman>crosscheck archivelog all 清除控制文件中由于rm后不存在的归档文件信息rman>delete archivelog all completed before 'sysdate-n';
AIX使用裸设备扩展表空间
SC_HDB1:oracle:/dev>lsvg rootvgarchvglogvgbakvgdatavgtempvgSC_HDB1:oracle:/dev>lsvg -l datavg |grep dbdb_system01 jfs &nb...
使用dbms_profiler来观察每一行PLSQL程序的执行时间
使用dbms_profiler来观察每一行PLSQL程序的执行时间有时候我们在执行一段比较长的plsql程序的时候,发现执行过程比较慢,但又不知道是哪部分出现了性能问题,这时候应该如何快速找到最耗费时间的部分呢?当然有很多...
imp 导入又一个实例
exp导出文件dmp来历不明(具体原因就是曲折复杂) 我在client 10.2.0版本导入到server 10.1.0时报错IMP-00032: SQL 语句超过缓冲区长度后查看dmp文件内容第一行TEXPORT:V10.02.01 发现导出版本为10.2.1...
rman 全备与恢复
虚拟机上oracle 11.2一个RMAN模拟过程。STEP1,[oracle@localhost ~]$ sqlplus / as sysdba SQL> create table tx1 as select * from dba_objects where rownum<2; STEP2,[oracle@localhost...
修改数据库名
1 【参考资料】http://www.itpub.net/viewthread.php?tid=210292&extra=&page=1http://vecentli.itpub.net/post/14011/3857252 【环境参数】 ...
oracle hint 常用
usual used 1 index ,no_index,index(tablename1 col1,tablename2 col2) 2 ordered 3 parallel,no_parallel 4 first_rows,first_rows(n)  ...
oracle install
一、安装Linux:序列号:2515dd4e215225dd二、安装Oracle:1.关闭SElinux# vi /etc/selinux/config #SELINUX=enforcingSELINUX=disabled2.# vi /etc/pam.d/login # Add content for oracle installsessio...
oracle 分区技术综合记录
oracle 分区索引的设计。1、在使用global index时,除要考虑功能以外,还需要考虑是否在日后维护中,有delete分区数据的操作,如果有,考虑delete代价是否可以承受,因为如果drop partition的话,会是global ...
install oracle on rhel4 的一些问题
sth met while install oracle in rhel4 1:how to use the iso file in linux ? A:mount -t iso9660 -o loop /tmp/Mandrake80-inst.iso /mnt/iso (take care here ) cd-row&nb...
oracle 10g resumable
imp 命令中resumable设置resumable
oracle asm 初次接触
在oracle客户端查看asm文件系统信息视图select * from v$asm_diskgroup在客户端增加表空间容量,不用指定文件地址和文件名。SQL> alter tablespace ts add datafile size 10g;对于非ASM存储的oracle,可在参...
oracle flashback 理论与实践一
query flashback 查询返回技术。用于:如果错误修改了数据,想回到修改前的状态。SCN:system change number闪回到某个时间点或者根据scn权限:dbms_flashback的execute权限。使用的几个包dbms_flashback.enab...
oracle 10g新增hash group by 算法
决定hash group by 启用的参数是_gby_hash_aggregation_enabled 。查询是否启动:select ksppinm, ksppstvl from x$ksppi pi, x$ksppcv cv where cv.indx = pi.indx and pi.ksppinm ...
oracle 隐含参数的查询
【2个基本表】名字比较难记x$ksppi--可以查询参数的定义说明和x$ksppcv--可以查询参数的值例如:select ksppinm, ksppstvl from x$ksppi pi, x$ksppcv cv where cv.indx = pi.indx a...
LRM-00109 ORACLE 10.2.0.1
报错的记录---------------------------------------------------------------------------------------------------C:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Pro...
sqlplus set命令详解
set命令详解网站修改url中的最后一个关键字http://www.adp-gmbh.ch/ora/sqlplus/arraysize.html