自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Wonderful's DBA Story

ORACLE 博大精深 --原blog http://space.itpub.net/22907091

  • 博客(119)
  • 资源 (1)
  • 收藏
  • 关注

原创 Monitor your Oracle database by 12C em and send the message to you

Monitor your Oracle database by 12C em and send the message to you使用12c EM自带脚本实现DB关键事件短信告警主要是总结下12C em的自带脚本通过短信告警的这个功能,每DBAer的监控方式很多。这篇文章仅总结和记录下我们目前比较适合的监控方式,其他童鞋如果想参考,必须具备如下条件:1)12C em的告警规则已经明确;2...

2019-02-25 09:11:50 496

原创 Oracle database audit file housekeeping methods – adump purge

oracle audit trace file housekeeping For Oracle database,SYS, SYSDBA or SYSOPER connections to the Oracle database are always audited. Sometimes this can lead to the creation of an excessive numb...

2018-03-08 11:36:32 977

原创 SQLSERVER 2012 HADR_DATABASE_WAIT_FOR_TRANSITION_TO_VERSIONING 等待事件

HADR_DATABASE_WAIT_FOR_TRANSITION_TO_VERSIONING A query on object(s) in a readable secondary database of an AlwaysOn availability group is blocked on row versioning while waiting for commit or rol...

2017-12-13 08:56:20 982

原创 Replication error Agent message code 20002 due to OS error 2.

从SQLSERVER 2012到Oracle 11204 的Replication异常中断,错误信息:Agent message code20002. The process could not create file 'D:\Program Files\Microsoft SQLServer\MSSQL11.MSSQLSERVER\MSSQL\ReplData\unc\SQLTEST

2017-11-17 15:23:08 1063

原创 SQLSERVER 2012 - GHOST Cleanup 进程

1.Ghost Cleanup 进程功能2.Ghost Cleanup 如何屏蔽3.Ghost Cleanup 进程处理案例

2017-10-13 13:15:07 1938

原创 SQLSERVER Negative SQL Server SPIDs(Unit of Work ID)

一、场景当MSSQL数据库是所在的windows server 启用了MSDTC 服务二、概念A session with SPID equal to -2 is an orphaned distributed transaction. A distributed transaction is a database transaction that calls databases hosted on different servers. Orphane

2017-08-15 14:19:44 959

原创 Oracle 11g new Feature 之 _sqlmon_threshold

近期在用12c EM做实时监控(SQL Monitor)时发现执行时间小于3秒的SQL语句均未出现在列表中,在各种搜索后发现Oracle确实有个隐含参数可以控制受全监控SQL是否被捕捉,即_sqlmon_threshold

2017-08-14 18:01:20 895

原创 Linux系统中使用 DD 命令测试 USB 和 SSD 硬盘的读写速度

DD的用法:

2017-08-10 17:45:48 2293

原创 Skipping Errors in Transactional Replication on SQLSERVER 2012

玩过Oracle Golden Gate的网友都知道,OGG在配置参数文件中,可以通过增加ignore error的参数屏蔽一些引起复制终端的错误。Sqlserver Replication 也是一样。SQLSERVER 提供了SKIPERRORS这个参数可以忽略此类错误:https://technet.microsoft.com/en-us/library/ms151331.aspx

2017-06-02 15:13:13 1035

转载 Oracle Data Guard 理论知识

朋友今天对standby log存在的意义有点疑问,直接借其他大拿文章一用,转至 David blog:原文链接:http://blog.csdn.net/tianlesoftware/article/details/5514082一. Data Guard 架构DG架构可以按照功能分成3个部分:1) 日志发送(Redo Send)2) 日志接收(Red

2017-05-17 17:24:29 818

翻译 Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION

SQL Server 2008 R2             In some cases, it is desirable for user activity in a replication topology to be treated differently from agent activity. For example, if a row is inserted

2017-05-15 17:40:53 707

原创 Dataguard 之 移除和拆分

这个需求比较特别,由于用户空间及存储性能的问题,希望将物理备库直接转变称主库,原备库退出DG环境。Oracle提供了相对较为简单的方法,供参考:1. Confirm Primary Database in Maximum Performance Mode2. Remove Data Guard Broker ConfigurationDGMGRL> REMOVE CONFIGURA

2017-04-25 14:47:04 3276

转载 linux 误删除Oracle数据文件恢复

本文偶得,权当记录查询,原文转至现某炬Oracle lunar 女神[oracle@lunar ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Fri Mar 15 23:46:35 2013 Copyright (c) 1982, 2011, Oracle.  All r

2017-03-26 17:50:55 1509

翻译 11g new feature 之 SPM

What is SPM?SQL Plan Management (SPM) allows database users to maintain stable yet optimal performance for a set of SQL statements. SPM incorporates the positive attributes of plan adaptability and

2017-03-10 15:23:16 867

原创 11g DBcontrol(OEM)for 2 Nodes Rac on Linux

11g DBcontrol(OEM)for 2 Nodes Rac on Linux

2017-02-08 16:27:00 922

原创 oracle 11g Dataguard 之 Remote_Transport_user

1)背景:因为有些金融公司的Security 要求比较高,对数据库用户的密码会做密码获取设置,SYS密码也会被列入权限管理列表中(即固定时间后密码自动变化,需要通过密码申请系统申请)。针对sys密码变化的情况,在配置11g active dataguard如果使用了sys账号用作redo传输的用户,那会出现如下错误:默认数据库的redo transport user 为空表示该用户

2017-01-17 13:36:21 1398

原创 MSSQL 2008 database storage migration on windows 2008 cluster

Migrate storage for MSSQL 2008 ON windows 2008 cluster

2017-01-05 15:49:54 975

原创 监控并记录Oracle数据库空间增长的简单方法

1.跟踪数据库空间增长SELECT SUM(MB_ALLOC)/1024 GB_DB_SIZE FROM (SELECT SUM(ROUND(bytes_used/(1024*1024),2) + ROUND(bytes_free/(1024*1024),2)) MB_ALLOCFROM V$temp_space_header, dba_temp_files WHERE V

2016-12-05 16:32:37 3998

原创 OGG How to Resync Tables / Schemas on Different SCN s in a Single Replicat

Reference MOS Note:1339317.1How to Resync Tables / Schemas on Different SCN s in a Single Replicat

2016-11-24 15:49:04 1336

原创 记一次完整的Max(um) Availabity Data Guard config and switchover on SUSE Linux 11 sp3

一.环境SourceDB: 11.2.0.4 Rac  2 Nodes on SUSE Linux + ASM using ASM LibTarget DB: 11.2.0.4 Single Node on SUSE Linux  + Localdisk

2016-11-21 10:58:50 1184

原创 How To Open Physical Standby For Read Write Testing and Flashback

Reference:How To Open Physical Standby For Read Write Testing and Flashback MOS Note ID 805438.1

2016-10-15 14:33:12 823

原创 SQLSERVER 2012 Reinitial single article

The initial SnapShot for Article "xxx" is not yet available 处理方法

2016-10-11 17:33:07 908

原创 11.2 Data Guard 使用增量备份基于最小数据文件头scn的GAP恢复 on AIX 6.1

此文当适合重新初始化或者在某一时间点且针对该时间点,出现gap时重新追平数据使用

2016-09-10 16:52:23 1037

原创 exp-00003 no storage definition found for segment(0, 0)

刚为用户升级到11.2.0.4.160419,但居然还会出现此类大多数在9.2下出现的问题:exp-00003 no storage definition found for segment(0, 0)

2016-08-22 14:54:35 2326

转载 DB2 get version Methods

Method for get db2 version.

2016-08-04 15:21:27 877

原创 ORA-12541: TNS: no listener when using Oracle Rac ScanIP for tnsname

在使用Oracle 11G Rac后,一般我们会采用scan ip 作为应用或者tnsnames.ora作为service name. 假设我有一套Oracle RAC,它的database name为test,在配置tnsnames.ora的时候要注意需要采用正常的配置方式:TEST =  (DESCRIPTION =    (ADDRESS = (PRO

2016-07-06 11:53:56 2011

原创 Oracle 11G RAC Interconnect IP Bendwidth Test

在工作中,当我们装好11g ,12c的oracle RAC后,一般会去跑oracheck做最佳实践的测试,以判断该环境中主机参数(网络,如是linux还有内核参数,内存等),心跳网络速度等是否达到了Oracle 建议的最佳配置。如下是比较常见的测试新搭建 RAC 私有网络间带宽的方法:

2016-06-17 23:20:21 665

转载 root.sh Fails to Start HAIP as Default Gateway is Configured for Private Network VLAN (ID 1366211)

Applies to:Oracle Server - Enterprise Edition - Version 11.2.0.2 and laterInformation in this document applies to any platform.SymptomsInstalling 11.2.0.2 Grid Infrastructure on

2016-06-01 09:47:36 2438

原创 MSSqlserver 恢复sa密码及 删除builtin\administrators后恢复

MSSqlserver 恢复sa密码及 删除builtin\administrators后恢复

2016-04-28 09:22:07 2462

转载 How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM

参考至MOS:How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM? (文档 ID 1528148.1)The present document provides an example about how to s

2016-04-16 23:22:02 711

转载 Adding new storage disks and Dropping old storage disks from OCR ,Vote diskgroup

需求: Need to drop old disks and add new disks to OCR diskgroup online. Reference 文档 ID 2073993.1 Adding new storage disks and Dropping old storage disks from OCR ,Vote diskgroup检查:Three disks in

2016-03-22 17:31:27 818

原创 rman backup zhi section size

DBA运维工作中,可能会遇到数据库中个别的数据文件非常大,这样就会造成rman备份的速度缓慢(即便是多个并行的配置,但依然会是单通道的去备份这个大数据文件)11gr2后,Oracle对次推出了增强参数 SECTION SIZE。

2016-03-06 15:43:40 1843

原创 Logminer 之 Using the dictionary in the online catalog

一.Logminer分类从官方提供的上图可知,logminer 基本可分为两类,三种:1)使用 online catalog 作为记录数据字典信息的方式进行数据抽取(源库自身的数据字典);2)使用外部数据库已创建过redo log文件中记录数据字典信息的方式进行数据挖掘(外部库的数据字典);3)使用外部文件作为数据字典的方式,在其他库中进行数据挖掘(

2016-01-18 16:57:59 858

原创 Redhat Linux 6.4 mail server configuration

一.需求搭建邮件服务器,用于测试环境邮件收发操作系统:Redhat Linux 6.4域名:xxx.testdomain.com.cnDNS解析配置:使用已配置正反向认证的基于windows DNS server解析以上域名(不在此处配置)二.邮件服务器背景知识MUA(Mail User Agent),就是我们的邮件收发客户端,如fo

2016-01-15 16:50:49 2803

原创 源码安装MySQL5.5.24(基于CentOS或者Redhat5.4操作系统)

Mysql 源码安装1.Yum源准备2.cmake编译mysql参数3.安装数据库4.其他后续工作

2015-11-22 12:36:39 1136

转载 Oracle Linux: Error "Missing Or Invalid IPv4 Prefix '0' On Linux Server" (文档 ID 1522095.1)

Applies to:  Linux OS - Version Oracle Linux 5.5 and laterLinux x86-64SymptomsNetwork manager throws an error in /var/log/messages:nm-system-settings: ifcfg-rh: parsing /etc/sysconfi

2015-11-18 22:50:44 666

原创 Linux GFS 配置方法及注意事项

Linux GFS(Global File System)是实现为多个访问节点或者主机能同时读写的分布式文件系统。

2015-11-07 21:12:26 9386

原创 利用PLSQL Developer 数据库间表结构和数据对比

PLSQL Developer Tools 菜单下有Compare User Objects和Compare Table Data功能。1、Tools --> compare user objects     该功能用于比较不同用户所拥有的对象(包括table、sequence、function、procedure、view等),并生成同步差异的sql脚本,用户通过执行该脚本,可保持两

2015-09-14 14:58:20 9276

原创 AWR stop working on linux x86 10.2.0.5

一、问题概述故障简述:AWR 快照停止生成操作系统:linux as 5.4数据库:oracle 10.2.0.5 (RAC 2节点)二、故障现象运行AWRRPT.SQL,发现8月11日后无snapshot信息,查询快照信息。     网友有提及此类故障,连接:http://blog.itpub.net/27064837/viewspace-75

2015-08-18 18:53:46 1387

原创 SQLserver 邮件分发配置脚本

该脚本用于配置sqlservere 数据库监控邮件分发、事务监控、锁监控

2015-07-07 11:35:54 1267

Site Reliability Engineering.(Google SRE )

What exactly is the value of automation?

2017-06-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除