帮朋友check一次中国银联数据库的坏块问题(并不是严格意义上的坏块),大致情况为smon需要trascation recover —>特定的block 发现无法读取 —>transaction recover出现问题 —>smon terminated
Wed Aug 15 19:02[……]
August 17, 2012 Internals, maintain, oracle 2 comments structure
帮朋友check一次中国银联数据库的坏块问题(并不是严格意义上的坏块),大致情况为smon需要trascation recover —>特定的block 发现无法读取 —>transaction recover出现问题 —>smon terminated
Wed Aug 15 19:02[……]
August 10, 2012 maintain, oracle No comments scripts
11g之前还不支持分区自动interval day 功能,对于需要指定日期的分区需求例如每周2一个分区,可以采用下面脚本实现
select 'alter table END_USER_LOGIN_LOG_1 add partition P'|| TO_CHAR[......]
August 7, 2012 Exadata, migration, oracle No comments Exadata
Exadata migration完成 目前采用的是物理DG switch over的方式 采用11g active duplicate 实现整个数据大小为2T左右 总共耗时约为10个小时 每秒达到近60M
采取这种方法的好处为:
1:主库无需停机
2:可以采用exadata最佳性能AU_SI[……]
July 28, 2012 maintain, oracle No comments 备份恢复
在帮银联恢复数据库的时候 客户要求导出库里的一些存储过程,这里整理了一些脚本供大家使用
创建view
select 'CREATE OR REPLACE VIEW '||O.NAME||' ('|| replace(c.c[......]
July 16, 2012 11g, maintain, oracle No comments bug
一套oracle 11.2.0.2 数据仓库系统使用expdp导出数据时 进程hang 死 使用kill -9命令杀掉之后 database一直没有释放latch 通过下面的日志可以发现 pmon已经发现 ospid=15038的process dead 但是无法clean 进程在为 “fixed[……]
EM12c OMS端在部署新的agent的时候 agent端无法upload文件到oms端
[oracle@yhdem logs]$ netstat |grep 4900 (EM_UPLOAD_PORT=4900)
[oracle@yhdem logs]$
[oracle@yhdem[......]
July 15, 2012 Exadata, oracle No comments Exadata
July 10, 2012 Exadata, oracle No comments Exadata
Oracle RAC RDS reference:
Oracle Real Application Clusters (RAC) allows Oracle Database to run any packaged or custom application, unchanged acro[……]
July 7, 2012 maintain, oracle No comments scripts
this scripts is used to monitor transaction rolling back progress
——————————————————————————-[……]
June 28, 2012 oracle, replication No comments dataguard
db1 –liu
SQL> select * from v$version;
BANNER
—————————————————————-
Oracle Database 10g Enterpr[……]