Oracle 10.2.0.1和Oracle 11.1.0.6的差异概括
10.2.0.1 11.1.0.6 Supported Parameters 258 289 Unsupported Parameters 1127 1631 Supported Optimizer Environment Parameters 25 37 Unsupported Optimizer Env...
oracle数据迁移方法
数据迁移一方面只是跨版本,如从低板本升级到高版本或从高版本到低版本;另一方面可能还需要跨操作系统平台,如从windows到unix; 还有可能是在不同数据库之间,如从sqlserver,db2到oracle. oracle中提供了多种实现方...
Enqueue Locks
Many of Oracle's locks are called enqueue locks. To enqueue a lock request is to place that request on the queue for its resource. So although the word "enqueue"is strictly speaking a verb, it is use...
Gathering Optimizer Statistics
This chapter explains why statistics are important for the cost-based optimizer and how to gather and use statistics.The chapter contains the following sections:Understanding Statistics Generating Sta...
Oracle审计
(转)Oracle审计(转)Oracle审计1.AUDIT_SYS_OPERATIONS = TRUE审计管理用户(以sysdba/sysoper角色登陆)windows平台会保存到Event Viewer日志文件中,诸如CONNECT / AS SYSDBA;ALTER SYSTEM FLUSH SHARED_POOL;UPDATE s...
where a<>0与索引
有说法:不等于操作符是永远不会用到索引的,因此对它的处理只会产生全表扫描。 推荐方案:用其它相同功能的操作运算代替,如 a<>0 改为 a>0 or a<0通过实验可以看出:看来a<>0是否走索引。但把a<>0改为a>0或a...
Inserting Data Into Tables Using Direct-Path INSERT
Oracle Database inserts data into a table in one of two ways:(向表中插入数据有两种方法)During conventional INSERT operations, the database reuses free space in the table, interleaving newly inserted...
Passing Schema Object Names As Parameters(用模式对象名称作为存储过程的参数)
Passing Schema Object Names As ParametersSuppose you need a procedure that accepts the name of any database table, then truncate that table from your schema. You must build a string with a statement t...
Bitmap Indexes
位图索引的使用:1.Bitmap indexing benefits data warehousing applications 2.Bitmap indexes are not suitable for OLTP applications with large numbers of concurrent transactions modifying the data. 3.Bit...
oracle temp表空间增长过快的解决方法
本文系转载与互联网,只是为了查看方便。如有不妥,可以随时删除。[@more@]oracle temp表空间增长过快的解决方法经常碰到temp表空间暴涨的问题,以及如何回收临时表空间,由于版本的不同,方法显然也多种多样,但这些方法显示是治标不治本的办法,只有深刻理解temp表空间快速增加的原因,才能从根本上解决temp ts的问题。 是什么操作在使用temp ts?- 索引创建或重创建. - ORDER BY or GROUP BY - DISTINCT 操作. - UNION & INTERSECT & MINUS - Sort-Merge joins. - Analyze 操作- 有些异常将会引起temp暴涨 所以,在处理以上操作时,dba需
oracle11g表空间加密
1。表空间加密(Tablespace encryption)加密整个表空间,创建在加密表空间中的所有对象自动加密。2。表空间加密保护整个表空间中的数据的安全,如:数据文件或数据文件备份若被窃取,没有密钥不可能查看到其中的数...
pctfree对索引的影响:
Only applies to CREATE INDEX statement.Not used for subsequent inserts(先建索引,再插入数据(不受pctfree的影响)。与先插入数据,再建索引(受pctfree的影响)。这两种情 况对空间使用完全不同)例如:先插...
oracle10g中non-asm文件向asm文件迁移
non-asm文件向asm文件迁移只能使用rman或em来实现,这里具体介绍rman的手工迁移过程: (1 备份文件的备份副本。 BACKUP AS COPY INCREMENTAL LEVEL 0 DATABASE FORMAT '+DATA' TAG 'ORA_ASM_MIGRATION';备份后归档当...
Log Buffer Guard Pages
在支持内存保护的平台上,在log buffer的两端有guard pages,这是一个内存保护单元(memory protection unit),大小通常为4K or 8K.在实例启动时,oracle使用mprotect() system call设置guard pages的permissions为...
Tuning Recovery Manager
The primary goal of RMAN tuning is to create an adequate flow of data between disk and storage device. Tuning RMAN backup and restore operations involves the following tasks discussed in this chapter:...
Memory Utilities
oracle orastack or maxmemwindows orastack:Oracle supplies the ORASTACK utility to allow customers to modify the default stack size of a thread / session when created in the Oracle executable. When ORA...
Oracle数据库升级或数据迁移的方法探讨
本文详细论述了oracle数据库升级的升级前的准备、升级过程和升级后的测试与调整工作,并对各种升级方法在多种操作系统平台上作了测试。数据库升级的必要性数据库升级是数据库管理员经常要面对的问题,如果你的应...
ORACLE数据库逻辑损坏恢复方法
最近写了一篇ORACLE数据库逻辑损坏恢复方法文章。ORACLE数据库逻辑损坏恢复方法
12小时制的nls_date_format
12小时制的nls_date_format hh:mi:ss默认是12小时制SQL> alter session set nls_date_format='yyyy-mm-dd hh12:mi:ss';Session altered.SQL> select sysdate from dual;SYSDATE-------------------2007-01-09 01:56:...
Redo Byte Address (RBA)
RBA由三部分组成:日志顺序号(4 bytes),日志文件块号(4 bytes),块中的字节偏置(2 bytes)Rba在他们的线程(redo thread)中,没有必要唯一,因为日志文件顺序号可能重置为一,当用resetlogs选项打开数据库后。Rba主...