Oracle10g New Feature -- 4. Flashback Database
Oracle的flashback database比起RMAN或者其他的不完全恢复,是简单多了。对数据库的要求除了和其他不完全恢复一样要求archive log模式外,还需要设置flashback on。对于恢复truncate table的误操作,目前好像只有回滚整个数据库,没有其他更简单的办法。[@more@]1. Flashback Database1. Introduction Flashback Database is implemented using a new type of log file called the Flashback Database log. The Oracle database server periodically logs before images of
Oracle10g New Feature -- 3.Flashback Table
Oracle 10g引入了recyclebin,类似于windows的回收站,使你能够很方便的恢复误删的表。但是对于truncate table,好像还是没有一种快速的恢复方法[@more@]1. Flashback TableExample:SQL>select object_name,object_type from user_objectsOBJECT_NAME OBJECT_TYPE------------------------ --------- -------------------FLASH &
Oracle10g New Feature -- 2.Flashback Records
在oracle10g中,用户可以查询纪录在各时间点上的值,和每次对该纪录的DML操作。但是是不是在任何时候都可以查到从该纪录产生起的所有更改历史,还是有时间跨度的限制?Oracle为此功能多消耗多少空间?目前还是不太明白。另外《Oracle Database 10g Top 20 Features for the DBA》(http://www.oracle.com/technology/pub/articles/10gdba/week1_10gdba.html) 中,对FLASHBACK_TRANSACTION_QUERY.UNDO_SQL的理解和引用例子中有错,作笔记时作了改正。[@more@]1. Flashback Versions QueryExample:SQL> desc rates Name
oracle10g new feature -- 1. Sqlplus
这些天一直在学习oracle10g的一些新特性,顺便作了一些笔记。把它们都陆续放到这上面来吧。虽然网上oracle10g新特性的资料很多,自己看过,测试过,自己做的笔记毕竟不一样,回头来看快。按自己的顺序,第一章,SQLPLUS[@more@]1. Prompts for the Unmindful set sqlprompt "_user _privilege> "The SQL*Plus prompt shows up as SYS AS SYSDBA>SQL> set sqlprompt "_user _privilege 'on' _date >"SYS AS SYSDBA on 06-JAN-04 > SQL> set sqlprompt "_user 'on
oracle10g new feature:对expdp并行方式的几个测试
今天学习oracle10g new feature的expdp&impdp,对于expdp的parallel参数设置有一些心得,详见 http://www.itpub.net/showthread.php?threadid=265171&pagenumber= [@more@]