Oracle EM 12c怎样自定义监控
oracle em 12c的功能非常强大,用户可以自定义度量值,来进行个性化的监控.
自定义密码验证函数
在Oracle中可以很方便的自定义密码验证函数,用来检验用户的新密码是否符合安全标准。 下面是一个最简单的自定义验证函数的例子:SQL> CONN / AS SYSDBA已连接。SQL> CREATE OR REPLACE FUNCTION F_M...
Oracle ASM Disk Used Space Directory
Disk Used Space DirectoryASM的8号文件是磁盘空间使用目录Used Space Directory,简称USD,它记录了每个ASM磁盘组中每个磁盘的每个zone上被使用的AU数。一个磁盘的zone包含hot zone-热区(磁盘外圈,译者注)和cold zone-冷区(磁盘内圈,译者注)。USD目录为每个磁盘提供了一个条目,条目信息记录了2个zone(COLD和HOT)的...
DRM - Dynamic Resource management (Doc ID 390483.1)
DRM - Dynamic Resource management (Doc ID 390483.1)To BottomModified:09-Jul-2013Type:BULLETIN...
oracle通过expdp的remap_data实现简单的数据脱敏
oracle 11g开始,在impdp/expdp中提供remap_data参数,实现对导入或导出操作时转换数据.如果生产库数据要导出给测试库使用,并需要转换敏感数据,可以考虑通过remap_data参数去实现.以下是简单的单表示例:oracle version:11.2.0.4[oracle@ct6605 ~]$ ORACLE_SID=ct66#建测试表SQL> create table...
OPT_PARAM Hint
OPT_PARAM Hint [ID 377333.1] Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]Information in this document applies to any platform.Go...
Oracle GoldenGate 针对表没有主键或唯一索引的解决方案
This knowledge document describes a best practice method for handling tables without primary keys or unique indexes when using Oracle GoldenGate to replicate transactional data between Oracle databas...
Oracle 11.2.0.1.0升级到11.2.0.4.7案例一则
总体思路:(1) 备份数据库(2) 备份oracle目录 (3) 运行11.2.0.4.0 patchset,升级oracle 软件(4) 运行dbua 或者脚本升级实例,从11.2.0.1.0升级到11.2.0.4.0 (5) 使用opatch打小补丁,从11.2.0.4.0升...
How do you apply a Patchset,PSU or CPU in a Data Guard Physical Standby configuration [ID 278641.1]
How do you apply a Patchset,PSU or CPU in a Data Guard Physical Standby configuration [ID 278641.1]修改时间 04-JUN-2010 类型 HOWTO 状态 PUBLISHED[@more@]In this DocumentGoalSolutionReferencesApplies to: Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.1.0 - Release: 10.1 to 11.2Information in this document applies to any platform. GoalTo apply an Interim Patchset for example the 10.2.0.4 Patchset or January 2010 10.2.0.4 RDBMS PSU, to both the Primary and Standby Sites.Configurat
使用OPatch给Oracle打补丁
任何软件都会存在这样或者那样的缺陷、Bug,Oracle也不例外。对于生产运维人员来说,定期升级系统、打补丁是日常工作中不可缺少的部分。 相对于过去的版本,Oracle打补丁的方式已经变得比较简单,处...
查看并行进程的一些简单信息
在使用并行的时候,总能看到进程中出现一些ora_p这样的进程。SQL> !ps -ef|grep ora_p|grep TESTDBtestdbuser 17422 1 0 Aug29 ? 00:04:56 ora_pmon_TESTDBtestdbuser 17425 1 0 Aug29 ? 00:01:12 ora_psp0_TESTDBtest...
ORACLE停止监听日志文件
监听(Listener)在缺省情况下,会记录日志,记录注册操作、客户端的连接等。缺省(没有设置log_file参数时)的文件是$ORACLE_HOME/network/log/listener.log。对于一些使用短连接的,频繁的连接数据库的,listener.log增长很快。有的可以在比较短的时间内(十几天)就可以超过2GB。对于一些平台的某些版本的Oracle,在监听...
修改Oracle11g用户密码不区分大小写
连接到:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> show parameter sec_case_sen...
Oracle11g新特性 - 快速在线新增not null字段
问题:某电信系统业务,其中有一张表有上亿条信息记录,而且很重要;要求在不停库和不锁表的情况下;对该表增加一个新的字段,如何实现。在11g以前,在表中新增一个NOT NULL字段是件十分痛苦的事情,尤其是在表...
arch较redo小
<p><br /></p><p>转自:<br />http://www.dba86.com/oracle/mos/1356604.1.html</p><table style="width:100%;"><tbody><tr><td width="192" valign="center"><p><span style="font-family:宋体;font-size:12.0000pt;">Archived redolog is (significant) smaller t...
降低高水位 shrink & move
shrinkshrink必须开启行迁移功能。 alter table table_name enable row movement ; 注意:alter table XXX enable row movement语句会造成引用表XXX的对象(如存储过程、包、视图等)变为无效。执行完成后,最好执行一下utlrp.sql来编译无效的对象,或手动查找user_objects中无效的对象,手动编译.alter tab...
oracle固定执行计划--sqlprofile
Oracle Profile固定执行计划默认采用索引select * from test_table b where b.consumer_id='1454752907383264';Execution Plan----------------------------------------------------------Plan hash value: 525319056--------------------------------------------------------------------------------------...
DBMS_REPAIR的使用
Oracle提供了DBMS_REPAIR包用来发现、标识并修改数据文件中的坏块。任何工具都不是万能的,使用这个包的同时会带来数据丢失、表和索引返回数据不一致,完整性约束破坏等其他问题。因此当出现错误时,应当首先从物理...
审计--audit
truncate table sys.audit$; --如果业务繁忙会造成审计表越来越大,可以定期删除,而且建议将此表move至其他数据表空间,默认在systemselect * from sys.fga_log$;select * from dba_audit_policies; --审计策略select * from dba_fga_audit_trail; --细粒度审计select *...
archive log文件大小与redo log文件大小关系探究
首先我们来看下什么是archive log file,oracle 11g 的concept中是这样定义的:When you enable archiving of the online redo logs, Oracle Database copies the online redo log files to another location before they are overwritten. These copied files are referred to as archived redo log ...