摘要:
placeholder 阅读全文
摘要:
Java Pool and Streams PoolJava pool memory is used in server memory for all session-specific Java code and data in the JVM.Streams pool memory is used exclusively by Oracle Streams to:Store buffered queue messagesProvide memory for Oracle Streams processesRedo Log BufferIs a circular buffer in the S 阅读全文
摘要:
shared server模式下,UGA放在SGA的哪个位置?如果配置了LARGE POOL,UGA就会放在LARGE POOL中;否则如果没有配置,那么就存放在SHARED POOL当中.oracle 11g以后,可以将sql,pl/sql的执行结果存放在result pool中.Shared PoolContents:Library cache:Command text,parsed code,and execution planData dictionary cache:Definitions for tables,columns,and privileges from the data 阅读全文
摘要:
在一个Data Buffer Cache中,有可能存在一个数据块的多个副本.Dirty是指,被修改过的、还没有被flush到磁盘中去的数据状态.Buffer Cache数据在Buffer Cache中的四种状态值PinnedCleanFree/unusedDirtyUsing Multiple Buffer Poolsstep: =>创建Buffer Pool =>使用Buffer Pool 1、在创建对象时指定Buffer Pool CREATE INDEX cust_idx ... STORAGE(BUFFER_POOL KEEP); 2、修改表所在的BUF... 阅读全文
摘要:
ObjectivesAfter completing this lesson,you should be able to :Describe the memory components in the SGAImplement Automatic Memory ManagementManually configure SGA parametersConfigure automatic PGA memory managementMemory Management:OverviewDBAs must consider memory managment to be a crucial part of 阅读全文
摘要:
Restoring Tables from the Recycle BinRestore dropped tables and dependent objects.If multiple recyclye bin entries have the same original name:Use qunique,system-generated names to restore a particular version.When using original names,the restored table is last in,first out(LIFO)Rename the original 阅读全文
摘要:
1、查看当前schema下表中索引名称对应信息SQL> select index_name,table_name from user_indexes;INDEX_NAME TABLE_NAME------------------------------ ------------------------------MYC_IDX MYCLUSTERSYS_C0012950 C_EMPSYS_C0012949 C_DEPTView Code ... 阅读全文
摘要:
/********************************/闪回已经删除过的表注意:假如一张表被删除之后,那么它对应的索引以及约束也会一同被删除.被删除的对象(表、索引、约束、触发器)放到回收站之后,oracle都会重新分配一个新的名称.假如通过flashback table技术闪回表的时候,表的名称可以回到之前,但是索引名称、约束的名称将不会回到之前.仍将沿用在回收站分配的名称.如果闪回成功之后,就需要手工将索引、约束、触发器的名称rename到之前的名称./********************************/SQL> drop table t;Table dro 阅读全文
摘要:
前言:一个礼拜没有搭理我的数据库服务器,回来查看发现如下问题,经过多方查找,发现解决方案,特此收集整理一下,以备后用.文章参考来源:http://space.itpub.net/15843490/viewspace-580677ORA-38760: This database instance failed to turn on flashback database 今天重启数据库的时候,发现如下错误:ORA-38760: This database instance failed to turn on flashback database 数据库环境:linux64x86 +oracle10 阅读全文