flashback系列文章四(flashback version/transaction query)
一、flashback version query SQL> create table fb_version_test(id number,name varchar2(50));Table created.对fb_version_test做一些dml操作SQL> insert into fb_version_test values(1,'thomas');1 row created.SQL> commit;Commit complete.SQL> insert into fb_version_tes...
flashback系列文章三(flashback database)
从oracle10g开始,新增flashback database功能。需要首先开启flashback_on,把数据库启动到mount状态SQL> startup mount;ORACLE instance started.Total System Global Area 285212672 bytesFixed Size &...
flashback系列文章二(flashback drop)
SQL> show parameter recyclebinNAME TYPE VALUE--------------...
flashback系列文章一(flashback query)
创建一个临时表作为“小白鼠”实验一下SQL> create table test(id number,name varchar2(50));Table created.SQL> insert into test values(1,'thomas');1 row created.SQL> insert into test values(2,'jack');1 row created.SQL> insert into test values(3,'rose');1 row created.SQ...
logminer系列文章五(V$LOGMNR_CONTENTS)
http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_2035.htmV$LOGMNR_CONTENTSV$LOGMNR_CONTENTS contains log history information. To query this view, you must have the SELECT ANY TRANSACTION privilege.When a SELECT statement is executed against the V$LOGMNR_CONTENTS view, the...
logminer系列文章四(DBMS_LOGMNR_D包参考)
48DBMS_LOGMNR_D The DBMS_LOGMNR_D package contains two procedures:The BUILD procedure extracts the LogMiner data dictionary to either the redo log files or to a flat file. This information is saved in preparation for future analysis of redo log files using the LogMiner to...
logminer系列文章一(logminer的使用)
logminer step by step1、安装logminer以及生成logminer数据字典所需要的包(需使用sys用户)SQL> show user USER is "SYS"SQL> @/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/dbmslm.sqlPackage created.Grant succeeded.SQL> @/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/dbmslmd.sql...
OracleRAC添加asm磁盘组并设置归档位置
实验环境: VMware Server2+RHEL4+ASM+10gRAC添加共享磁盘 编辑rac1节点的.vmx文件,添加红色字体部分disk.locking = "FALSE"disklib.dataCacheMaxSize = "0"disklib.dataCacheMaxReadAheadSize = "0"disklib.dataCacheMinReadAheadSize = "0"disklib.dataCachePageSize = "4096...
CRS资源处于UNKNOWN状态无法启动
刚在VMServer serer上安装的oracle RAC,重启两台机器后,发现有很多资源处于UNKNOWN和OFFLINE状态,当使用crs_start启动这些资源时无法启动查看crs资源状态[oracle@rac1 ~]$ crs_stat -tName Type &n...
VMWareServer2+RHEL4+ASM+10gRAC
VMWareServer2+RHEL4+ASM+10gRAC安装
设置PL/SQL Developer 字符集
设置PLSQL Developer字符集与Oracle服务器字符集一直方法1:1、查询oracle server端的字符集。打开SQL Window输入下面SQL查询服务端的字符集。select userenv('language') from dual;2、我的电脑中环境变量界面,...
跟踪查询DBLink远程表是否使用到索引
问题: 创建DBLink,并在本地建立了远程某张表的同义词,在跟踪sql语句的时候对远程表的查询只是显示REMOTE,如何确认该查询的是否使用了远程数据库中该表的索引...
(98)Address already in use: make_sock: could not bind to address 80 [resolved]
Description:hi there, was wondering if you could help me with this error i am getting. i was trying to restart my apache server on my linux machine when i got this error i have never see...
oracle 过程函数定义字典
USER_SOURCE :用户的存储过程、函数的源代码字典DBA_SOURCE: 整个系统所有用户的存储过程、函数的源代码字典ALL_SOURCE: 当前用户能使用的存储过程(包括其它用户授权)、函数的源代码字典USER_ERRORS: 用...
动态为10g数据库的表添加字段,到256个字段,hung住了?
ORACLE 10g单表最多是可以添加到1000个字段的,但是数据量比较大时,使用procedure为表动态添加字段,并对新添加的列执行相关操作,在添加到256个字段时,该过程就停止了create table custo...
set autotrace的用法和含意及区别
Usage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]]说明:前三个参数{OFF | ON | TRACE[ONLY]} 里必需选择一个,而且只能选择一个后两个参数[EXP[LAIN]] [STAT[ISTICS]]是可选的,也可...