物化视图完全刷新与direct path load
今天在asktom上看到有人问10g物化视图完全刷新的问题,是与direct path load有关的。而tom的回答是ATOMIC_REFRESH值设为false,mv完全刷新时执行truncate + insert /*+ append */ 。记得以前也在asktom上看到相关问题...
Limitations of Flashback Database(from metalink)
The Flashback Database allows you to flash the entire database back to a specific point-intime.It is best used as a replacement for incomplete recovery of a complete database. The main benefit of the ...
Unable To Turn Off Database Flashback(from metalink)
Applies to: Oracle Server - Enterprise Edition - Version: 10.2.0.2This problem can occur on any platform.Symptomsthere are problems with flashback database, however, unable to turn off flashback data...
print_table (from asktom)
create or replace procedure print_table( p_query in varchar2 )AUTHID CURRENT_USERis l_theCursor integer default dbms_sql.open_cursor; l_colu...
flashback table与trigger
flashback table时有一个选项:enable trigger/disable trigger.表示flashback table过程中是否启用trigger,缺省是disable trigger.如果enable trigger,则flashback table时执行的delete和insert可能会触发trigger,...
oracle是怎样flashback table的?
在flashback table以后,会发现用户下有一个名为sys_temp_fbt的glocal temporary table.该表记录了如何flashback table.sys_temp_fbt包含以下五列:schema : 用户名/模式名object_name : 表名object# : object idri...
flashback table与主外键参照表
由于flashback table时oracle要确保表中记录符合主外健约束,因此在某些情况下可能无法单独flashback主表,这时需要将主表和子表放在一起flashback.SQL> create table p (x number primary key);Table createdSQL...
flashback table与索引、约束
flashback table实际上是用undo表空间中存储的undo信息来rollback表,在表上逻辑地执行DML语句来做回滚.1、索引由于flashback table实际上是执行DML语句来rollback表,因此flashback过程中oracle只会维护当前存在的索...
10g中如何flashback table
使用前提:(1) 系统使用AUM(automatic undo managment)(2) 权限 flashback any table/flashback table select、insert、delete、update on table row moveme...
Limitations and Restrictions on Flashback Tables (from metalink)
Flashback Table :Flashback Table happens in place by rolling back only the changes made to the table or tables and their dependent objects, such as indexes. Note that Flashback Table is different fro...
recyclebin空间管理(ZT)
How to maintain Oracle10g Recyclebin?作者:eygle |</SCRIPT. English Version 【转载时请以超链接形式标明文章出处和作者信息及本声明】链接:http://www.eygle.com/archives/2005/12/how_to_maintain_1...
Limitations and Restrictions on Flashback Drop (from metalink)
Flashback Drop : This Feature provides a way to restore accidentally dropped tables.Flashback Drop provides a safety net when dropping objects in Oracle Database 10g. When a user drops a table, Oracl...
如何删除非当前用户下的JOB (from yangtingkun blog)
http://yangtingkun.itpub.net/post/468/24348Oracle没有对JOB设置相应的权限,任何用户都可以使用DBMS_JOB包建立自己的JOB。也正是因为没有权限的限制,所以使用DBMS_JOB包无法删除其他用户下的JOB。 因此一直认...
flashback被drop掉的表
1、开启recyclebin:alter system set recyclebin=on/alter session set recyclebin=on (10gR2以上)2、flashback drop table的步骤:(1) 查看dba_recyclebin,确认具体需要恢复的表select owner,object_name,origina...
10g recyclebin与用户表空间限额
关于recyclebin(1) recyclebin是一个逻辑结构.是由数据字典表来实现的.(2) recyclebin中数据对象的删除是遵循先进先出方式.(3) 表及其依赖对象进入recyclebin后,它们占用的表空间在dba_free_space中显示为可用空间...
捕获ora-报警的trigger
1、建表用来存储捕获的信息create table ora_error ( msg varchar2(4000) ) tablespace tools;2、捕获报警的triggercreate or replace trigger grab_infoafter servererror on databasedeclare l_sql_text or...
show_space procedure from asktom
create or replace procedure show_space( p_segname in varchar2, p_owner in varchar2 default user, p_type in varchar2 default 'TABLE', p_partition in varc...