Author: mac
-
Latches and Tuning:Buffer Cache
1. The buffer pool is structured into pools; RECYCLE, KEEP, and DEFAULT. Unless otherwise specified at create time or altered, an object will reside in the DEFAULT pool. a. Suppose you have a table that is frequently updated, but is a relatively small table. You would want to ensure the blocks for this table are…
-
Veritas ODM Async and Oracle
简单来说对于Veritas Vxfs和ODM FILE而言filesystemio_options不生效(This parameter is not applicable to VxFS files, ODM files, or Quick I/O files.),必要检查ODM SO是否正确LINK。 ls -l $ORACLE_HOME/lib/libodm* 对于JFS2而言,一般建议设置filesystemio_options=SETALL (Since the version 10g, Oracle will open data files located on the JFS2 file system with the O_CIO option if the filesystemio_options initialization parameter is set to either directIO or setall.) Symptoms…
-
Latches and Tuning:The Library Cache
1. The shared pool is determined by the value of SHARED_POOL_SIZE as indicated in the init.ora file. The library cache is part of the shared pool. a. Determine the size of the shared poool by executing the following query:> select name,value from v$system_parameter where name = ‘shared_pool_size’; The shared pool size is part of the…
-
How to set LOGSOURCE PATHMAP on GoldenGate
Question: the source machine os is solaris ,the mid machine os is linux , the target machine os is solaris,i want extract archive log file and pump trail file to target on mid machine , i check GoldenGate Reference Guide version 10.4 about TRANLOGOPTIONS, must set ARCHIVEDLOGONLY and LOGSOURCE PATHMAP , in my environment ,how…
-
How GoldenGate process consumes memory
Question: We are using Golden Gate to replicate the data from Oracle 9.2.0.8 on Solaris8 SPARC 64 bit (GoldenGate Version 10.4.0.31 Build 001) to Oracle RAC 11.2.0.1 on Solaris10 SPARC 64bit (GoldenGate Version 10.4.0.19 Build 002). Both GoldenGate Extract and Replicat process are working fine. Please refer below information for more easy to understand our…
-
Linode vps磁盘速度实测
事实证明Linode无愧于众多业界人士对其的推崇,今天实测了一下其磁盘速度真的不俗: [root@li229-25 ~]# hdparm -tT /dev/xvda /dev/xvda: Timing cached reads: 25536 MB in 1.99 seconds = 12843.60 MB/sec Timing buffered disk reads: 340 MB in 3.00 seconds = 113.20 MB/sec [root@li229-25 ~]# dd if=/dev/xvda of=/root/dump bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 18.9223 seconds, 55.4 MB/s 以上为Linode vps的成绩,dd的速度为55MB/s 一下为笔者的台式机电脑,使用普通的西数硬盘…
-
Google DataWiki如何区别于FluidDB
谷歌公司最近在其Google Lab上启动了数据维基(DataWiki)的项目。据谷歌官方称DataWiki将会是”一种数据结构化的维基”。根据其页面介绍,该项目理念来自于2010年海地地震期间发展起来的人物搜索(Person Finder)应用。谷歌开发者看到了创建结构化数据共享系统的急切需求。 该项目乍听起来与FluidDB十分相似,FluidDB常被形容为”一种被托管的维基核心数据库”,FluidDB的Nicholas H.Tollervey很愿意为大家解释这2个项目有何种不同。 DataWiki是用来快速构建简单且特定用途的数据库-例如Person Finder。而FluidDB则试图构建大型数据库所需要的一切。 就Tollervey提出的,这2个项目间的存在主要差别有: 结构:DataWiki的每一页都将遵循某种预定义的结构。而FluidDB则不会将某种模式强加给用户,并且事物总是以对象的形式表达出来而非列表”。 审核:DataWiki似乎不准备提供任何访问控制机制。FluidDB有一个权限系统以控制那些用户有权去使用特定的标签或命名空间。 搜索:我们只能搜索特定的DataWiki页面。而在FluidDB中,我们可以在权限允许的情况下跨越数据集地搜索数据。 想了解更多关于FluidDB的消息可以阅读<FluidDB in a Nutshell>: FluidDB in a Nutshell View more presentations from Nicholas Tollervey.
-
Will Goldengate use Remote Procedure Call (RPC)?
Question: My Customer using Oracle GoldenGate to sync data from 11.2.0.1 RAC (on Solaris 10 SPRAc 64bit) to 9.2.0.8 standalone DB (On solaris Sparc 64bit). My customer recently doing an OS security scan check for node of 11.2.0.1 RAC. The security scan check result saying the RAC node (HK8SP226) has a potential security issue on…
-
配置GoldenGate意外处理及记录Oracle错误信息(1)
GoldenGate自身不提供异常处理的程序。在默认情况下,若Replicat进程遭遇操作故障都会导致其异常终止(ABEND),同时将会回滚事务到最近的检查点。在生产环境中这往往并不理想。当我们在做无缝的数据迁移时会用到HANDLECOLLISIONS和NOHANDLECOLLISIONS参数,这2个参数控制了Replicat是否会试图解决重复记录和缺失记录的错误,但这错误真的应该被忽略吗?这个问题只有熟悉应用的维护人员才能解答,我们需要做的是在出现这类错误后及时记录错误的相关信息。 这就要求我们在Replicat中配置相关的意外处理程序,该程序用以记录是哪个Replicat进程,是那些数据引起了错误的产生。 接下来我们会尝试建立不同的意外处理程序,用以捕获复制过程中Oracle出现的相关错误,但在这些故障发生后我们允许Replicat继续它的工作: 1. 首先我们要做的是创建用以记录错误相关信息的错误记录表: SQL> conn maclean/maclean Connected. SQL> create table exception_log 2 ( replicat_name varchar2(10), 3 table_name varchar2(100), 4 errno number, 5 dberrmsg varchar2(4000), 6 optype varchar2(20), 7 errtype varchar2(20), 8 logrba number, 9 logposition number, 10 committimestamp timestamp); Table created. SQL> alter table exception_log add primary key (logrba,logposition,committimestamp); Table altered. 以上意外处理记录表应建立于Goldengate管理员账户名下,可用以记录所有Replicat的意外数据。 2.修改各Replicat的参数文件添加相关的意外处理程序:…
-
ORA-01652 even though there is sufficient space in RECYCLE BIN
There is a bug 6977045 which may cause ORA-1652 raised even though there is sufficient space in RECYCLE BIN. Version under 11.2 believed to be affected [oracle@rh2 ~]$ oerr ora 1652 01652, 00000, “unable to extend temp segment by %s in tablespace %s” // *Cause: Failed to allocate an extent of the required number of…