11 2012 档案
oracle audit
摘要:1、什么是审计审计(Audit)用于监视用户所执行的数据库操作,并且Oracle会将审计跟踪结果存放到OS文件(默认位置为$ORACLE_BASE/admin/$ORACLE_SID/adump/)或数据库(存储在system表空间中的SYS.AUD$表中,可通过视图dba_audit_trail查看)中。默认情况下审计是没有开启的。不管你是否打开数据库的审计功能,以下这些操作系统会强制记录:用管理员权限连接Instance;启动数据库;关闭数据库。2、和审计相关的两个主要参数Audit_sys_operations:默认为false,当设置为true时,所有sys用户(包括以sysdba,s 阅读全文
posted @ 2012-11-29 23:52 weaver_chen 阅读(396) 评论(0) 推荐(0)
Oracle 脚本
摘要:http://www.oracle-base.com/dba/scripts.php 阅读全文
posted @ 2012-11-12 12:54 weaver_chen 阅读(126) 评论(0) 推荐(0)
转:如何迁移oracle 队列表
摘要:如何迁移队列表广东生产环境需要从 9i 迁移到 10g ,虽然数据量不大导出数据只有4G。但是ORACLE BPEL工单处理系统应用到高级列队。迁移Advanced Queuing需要注意以下内容:Export Modes & Queue Tables----------------------------1. Full database mode: Queue tables, all related metadata tables, system-level grants, and primary and secondary object grants are exported au 阅读全文
posted @ 2012-11-10 19:50 weaver_chen 阅读(352) 评论(0) 推荐(0)
配置EM遇到的问题
摘要:问题一:SEVERE: Listener is not up or database service is not registered with it问题表现如下:[oracle@xbfye7l01 db_home]$ emca -config dbcontrol db………………-----------------------------------------------------------------Do you wish to continue? [yes(Y)/no(N)]: YAug 15, 2012 9:45:48 AM oracle.sysman.emcp.EMConfig 阅读全文
posted @ 2012-11-10 00:42 weaver_chen 阅读(1281) 评论(0) 推荐(0)
[转]解决 cannot restore segment prot after reloc: Permission denied
摘要:在power5 Linux上安装oracle10g后,通过命令行方式登录sqlplus时,报错:error while loading shared libraries: $ORACLE_HOME/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied最后的Permission denied显示,初步认为是系统安全屏蔽了oracle执行某些执行动作。于是检查系统防火墙iptables,已经关闭,于是想到了Selinux,[root@localhost ~]# more /etc/sysconfig/ 阅读全文
posted @ 2012-11-09 23:34 weaver_chen 阅读(199) 评论(0) 推荐(0)
centOS 6.2 x64系统上安装 oracle 11g R2 x64
摘要:1、首先到官网上下载oracle 11g x64位软件包下载地址: http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.zip http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_2of2.zip2、安装包检测及安装?[root@struggle ~]# rpm -q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-d 阅读全文
posted @ 2012-11-09 20:23 weaver_chen 阅读(776) 评论(0) 推荐(0)
用xmanager连接Linux的配置步骤
摘要:用xmanager连接Linux的配置步骤: 1、在Linux系统下,修改/etc/X11/xdm/Xaccess文件,找到下面的语句:# * #any host can get a login window去掉最前面的#号,成为 * #any host can get a login window2、编辑/etc/gdm/custom.conf,在[security]和[xdmcp]字段下分别添加如下内容 vi /etc/gdm/custom.conf 修改成:[security]AllowRemoteRoot=true[xdmcp]Port=177Enable=13、修改/etc/init 阅读全文
posted @ 2012-11-09 16:56 weaver_chen 阅读(634) 评论(0) 推荐(0)
【转】Oracle数据库相关的书籍推荐
摘要:1.concepts guide(11g)By Thomas Kyte由Tom担纲编写的11g的Concepts guide作为第一本书籍,是引领你进去Oracle世界的最基础的一本书籍,建议所有的人都对此做深入阅读,我了解的有些朋友对此文档有3-5遍以上的阅读。重点:oracle数据库的体系结构、内存架构、oracle的基本数据对象、并发控制与隔离级别相关内容,Undo与Redo的内容。2.backup and recovery guide备份与恢复是Oracle数据库也是关系数据库最关键的部件,深入阅读此文档,可以帮助你了解Oracle是如何设计redo、undo、数据格式,以及恢复过程中 阅读全文
posted @ 2012-11-09 14:48 weaver_chen 阅读(524) 评论(0) 推荐(0)
转:Oracle Dedicated server 和 Shared server(专用模式 和 共享模式) 说明 .
摘要:一. 官网说明 在DBCA 建库的时候,有提示让我们选择连接类型,这里有两种类型:专用服务器模式和共享服务器模式。默认使用专用模式。如下图:Oracle 官方文档对这两种文档的说明如下:About Dedicated andShared Server Processeshttp://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc001.htm OracleDatabase creates server processes to handle the requests of user processesconnect 阅读全文
posted @ 2012-11-07 17:57 weaver_chen 阅读(216) 评论(0) 推荐(0)
转:alter table move 与shrink space的区别
摘要:案例:同事将一关键表中删了多余的300w条数据后,程序就变的异常缓慢。分析得出,应该是表空间碎片过多,旧的索引效率过低。执行下面两句话:alter table ycsbt_qyygxx_jb move;alter index R_SBXX_YCSBD_FK rebuild online;效果非常明显。deltete不会释放表空间,但是可以重用,也就是插入可以填补空洞,当然现实应用中确实是存在经常删除很少插入的情况,这样就存在了释放表空间优化数据库的可行性了,truncate有不能带条件的缺陷,自然就想到用alter table move重移表空间的方法。这里要注意三个要素1、alter tab 阅读全文
posted @ 2012-11-01 10:16 weaver_chen 阅读(416) 评论(0) 推荐(0)