[转]逻辑STANDBY负载高,应用缓慢的解决
http://zhang41082.itpub.net/post/7167/497054[@more@]
【转】从spid查询sql
SELECT sql_text FROM v$sqltext a WHERE a.hash_value = (SELECT sql_hash_value FROM v$session b WHERE b.SID =( select s.sid from v$session s,v$process p where s.paddr=p.addr and p.spid='31903')) ORDER BY piece ASC[@more@]
使用tts(传输表空间) 跨版本升级数据库并且使用bitmap索引时遇到的一个bug
第一。bug的现象:ORA-07445: exception encountered: core dump [$cold_kggbt()+304] [SIGSEGV] [Address not mapped to object] [0x63646567B4B9BEBE] [] []ORA-00600: internal error code, arguments: [25027], [9], [2399694318], [], [], [], [], []ORA-00600: internal error code, arguments: [kghGetHpSz1], [0x9FFFFFFFFC60BB60], [], [], [], [], [], []ORA-00600: internal error code, arguments: [kdiblLockRange:maxRetryCountExce], [], [], [], [], [], [], []trc文件中有bitmap的很多提示。第二,解决方法:Oracle 技术
使用goldengate时,绝对禁止前台应用程序连接目的库
使用goldengate时,绝对禁止前台应用程序连接目的库(除非基于灾备切换的需要)。一方面,由于前台应用程序登陆数据库时会在应用的表中记录登陆的log,这一点,有些人可能会说,我把应用对应的表空间全部read only,此时再用前台应用连接,就可以看出应用程序是否记录登陆log,其实应用对应的表空间全部read only,不能阻止应用的sequence 增长,因为sequence是存放在system表空间中的,是作为数据字典进行自维护的。万一应用程序登陆目的库后,触发sequence的增长,那对于gg同步来说,是很痛苦的。[@more@]
11g Dataguard New Features. [ID 443540.1]
11g Dataguard New Features. [ID 443540.1][@more@]11g Dataguard New Features. [ID 443540.1]
HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]
HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1][@more@]HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]
RMAN: RAC Backup and Recovery using RMAN [ID 243760.1]
RMAN: RAC Backup and Recovery using RMAN [ID 243760.1][@more@]RMAN: RAC Backup and Recovery using RMAN [ID 243760.1]
goldengate同步中文表名列名的测试 --续
1、源头用altid参数,建立英文表名,目的端用英文的view,此方法只能同步该中文表的dml操作。2.另外,若是配置了ddl操作,再加中文表名或者列名。这将是很痛苦的事情。。。所以,中文表名或者列名的情况,最好是不列入gg的同步范围。否则。。。。无尽的尽头。。。[@more@]
edelivery.oracle.com只能翻墙下载。鄙视一下oracle的政策
edelivery.oracle.com只能翻墙下载。鄙视一下oracle的政策[@more@]e
登录不了goldengate monitor 的ie界面
登录goldengate monitor 时提示:HTTP Status 404 - /monitor/type Status reportmessage /monitor/description The requested resource (/monitor/) is not available.Apache Tomcat/6.0.16原因:没有启动存储goldengate monitor信息的oracle 10g数据库解决方法:1.启动该数据库2.重启oracle goldengate monitor 服务。[@more@]
goldengate版本及官方文档下载地址
http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.htmlgoldengate 已经推出Oracle GoldenGate 11g Release 1 Patch Set 1 (11.1.1.1)了,看来patch set推出的很及时。。。注意:Oracle GoldenGate 11g Release 1是11.1.1 Oracle GoldenGate 11g Release 1 Patch Set 1 是11.1.1.1 [@more@]
goldengate同步中文表名列名的测试
注意:1.scott.TESTTAB 是table,此表的表结构跟scott.测试表1一致,只是scott.testtab表不含有中文列,不含有中文表名。2.ALTID 58716; 后边的数字是scott.测试表1的object_id3.scott2.testv 是view,此视图的视图结构跟scott2.测试表1一致,只是scott2.testv中不含有中文列,不含有中文表名。ext的参数文件:extract scottextsetenv ( ORACLE_SID = LEI )setenv ( NLS_LANG = "AMERICAN_AMERICA.ZHS16GBK" )tranlogoptions asmuser sys@ASM, asmpassword aaaaaauserid LC0049999@lei, password aaaaaaddl include objname &qu
linux nfs实践
linux nfs实践以下是nfs服务器(需要共享出目录来的那个机器)上的操作修改/etc/exports,要将/home/work目录共享出来[root@rhel4u6 work]# cat /etc/exports /home/work 192.168.179.* (rw,sync,no_root_squash)[root@rhel4u6 home]# /etc/rc.d/init.d/portmap startStarting portmap: [ OK ][root@rhel4u6 home]# /etc/init.d/nfs startStarting NFS services: [ OK ]Starting NFS quotas: [ OK ]Starting NFS daemon: [ OK ]Starting NFS mountd: [ OK ] [root@rhel4u6 work]# exportfs exportfs: No host name given with /h
[转]HP-UX下NFS配置
测试环境: 服务端:HP-UX 11.11客户端:HP-UX 11.11----------------------------操作步骤-----------------------------------服务端:vi /etc/rc.config.d/nfsconf将NFS_SERVER和START_MOUNTD的值改为1:NFS_SERVER=1START_MOUNTD=1运行nfs.server脚本:/sbin/init.d/nfs.server start vi /etc/exports/tmp/data -root=10.10.10.19:10.10.10.20:10.10.10.21:10.10.10.37:10.10.10.25:10.10.10.26:10.10.10.22:10.10.10.23:10.10.10.24:10.10.10.34 或/tmp/data -rw= 192.168.168.24这里的-root是读写权限,当客户端用root用户访问时也是
Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]
Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1][@more@]
Step By Step Guide On Creating Physical Standby Using RMAN Duplicate In ASM Filesystem For ASM Prima
Step By Step Guide On Creating Physical Standby Using RMAN Duplicate In ASM Filesystem For ASM Primary [ID 837102.1][@more@]
【转】dd 和unix 管道完成复制
有时候前后划分的lv方式不同,比如第一批划分的预留了4k给操作系统,而第二批划分的时候没有预留。这样,如果直接使用dd复制第一批的lv到第二批,则lv由于文件头有os的信息无法被oracle识别出来,所以需要在复制的时候把这部分预留块忽略掉。然后,一般预留块大小都比较小,大部分都是4k,而如果使用4k作为dd的blocksize明显效率会比较慢。下面是利用管道的方式,input时使用4k的bs并忽略第一个4k,而output使用256k的bs:dd bs=4k skip=1 if=/dev/rtest1vg_lv001|dd of=/dev/rtest2vg_lv001 bs=256k经测试显示明显要比直接使用4k作为bs来
How to Move Tablespaces Across Platforms Using Transportable Tablespaces With RMAN [ID 371556.1]
How to Move Tablespaces Across Platforms Using Transportable Tablespaces With RMAN [ID 371556.1][@more@]
10g : Transportable Tablespaces Across Different Platforms [ID 243304.1]
10g : Transportable Tablespaces Across Different Platforms [ID 243304.1][@more@]
How to determine if a tablespace can be transported [ID 1071511.6]
For users wanting to determine if a tablespace can be transported.RELATED DOCUMENTSNote:76670.1 ALERT Transportable Tablespaces can corrupt target databaseNote:77523.1 Lists some known restrictions to transporting a tablespaceNote:132545.1 Transported Tablespace with UNUSED Columns Leads to Unreadableor wrong dataTo check whether a tablespace can be transported and whether a tablespaceis self contained, run: dbms_tts.transport_set_checkThe dbms_tts package is owned by sys, so to execute as anoth