自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

DBA never sleep-DBA,永不眠

Focus on Oracle/MySQL/Redis/MongoDB

  • 博客(181)
  • 资源 (13)
  • 收藏
  • 关注

原创 Oracle 11g AWR 系列八:AWR 数据的迁移

迁移 AWR数据Oracle Database 允许我们在几个数据库之间传输 AWR数据。当您要在单独的系统上分析 AWR数据时,这非常有用。要传输 AWR数据,您必须先从源数据库上抽取出 AWR快照数据,然后将该数据载入目标数据库中。以下内容将介绍如何在 Oracle Database上抽抽取和载入 AWR数据。1抽取 AWR数据利用awrextr.sql脚本可以将数据库中一

2013-03-13 00:25:23 3392 1

原创 Oracle 11g AWR 系列七:Active Session History (ASH) 报告

生成 Active Session History (ASH) 报告ASH 报告的作用:利用 ASH 报告可以分析持续时间通常只有几分钟的瞬间性能问题根据各种维度(如 time、session、module、action 或 sql_id )或这些维度的组合进行确定范围或目标的性能分析瞬间性能问题持续的时间非常短,不会出现在Automatic Database Di

2013-03-12 23:45:55 4176

原创 Oracle 11g AWR 系列六:使用 AWR 视图

使用 Automatic Workload Repository 视图 通常情况下,您可以通过 Oracle Enterprise Manager 或 AWR 报告查看 AWR 数据。其实,您也可以通过以下视图来查看 AWR 统计信息: 1.V$ACTIVE_SESSION_HISTORY 此视图显示处于 arctive 装的数据库会话活动,每秒取样一次。(Active S

2013-03-12 00:02:12 6033 1

原创 Oracle 11g AWR 系列五:如何生成 AWR 报告?

1.生成单实例 AWR 报告:@$ORACLE_HOME/rdbms/admin/awrrpt.sql2.生成 Oracle RAC AWR 报告:@$ORACLE_HOME/rdbms/admin/awrgrpt.sql3.生成 RAC 环境中特定数据库实例的 AWR 报告:@$ORACLE_HOME/rdbms/admin/awrrp

2013-03-11 22:02:35 18428 1

原创 Oracle 11g AWR 系列四:AWR baseline template 的管理

1.使用 CREATE_BASELINE_TEMPLATE 存储过程创建 single baseline template:col BASELINE_NAME for a30TEMPLATE_NAME for a30select DBID,BASELINE_ID,BASELINE_NAME,BASELINE_TYPE,EXPIRATION,TEMPLATE_NAME from

2013-03-10 00:04:40 4347 1

原创 Oracle 11g AWR 系列三:AWR baseline 的管理

使用 DBMS_WORKLOAD_REPOSITORY 包管理 baseline1. 创建 baseline--在 DBA_HIST_SNAPSHOT 视图中查看现有的快照来确定要使用的快照范围。 select snap_id,dbid,BEGIN_INTERVAL_TIME,END_INTERVAL_TIME,SNAP_LEVEL from dba_hist_

2013-03-09 09:56:33 5202

原创 Oracle 11g AWR 系列一:AWR 的基本概念理解

Automatic Workload Repository 概念详解Automatic Workload Repository (AWR) 收集、处理和维护用于问题诊断的性能统计信息。该数据既存在于数据块中,也存在于内存中。AWR 收集的数据可以通过报告和视图进行查看。AWR 处理和收集的统计信息包括:1.确定数据块 segment 访问路径和使用情况的对象统计

2013-03-07 22:42:14 6729 1

原创 Oracle GoldenGate 监控工具:ggserr.log 错误日志不可忽视

Oracle 原厂最近在生产环境的主数据库安装了 OEM 12C 的监控插件后,主数据库对外十几个库同步同步的Oracle GoldenGate 实例出现异常,疯狂地往 GoldenGate 根目录的 ggserr.log 输入出如下错误日志:2013-02-22 22:33:26  WARNING OGG-01930  Oracle GoldenGate Capture for

2013-03-05 23:42:47 8306

原创 IT 妹子伤不起啊:看女生是如何拒绝屌丝的求爱的……

新浪微博上转的

2013-03-05 10:17:44 3376 10

原创 netca 配置监听遇 use another port number:the information provided for this listener is currently in use 提

use another port number:the information provided for this listener is currently in use by other software on this computer.you can proceed with the configuration as it is ,but it will notbe possi

2013-03-03 23:35:14 15240

原创 Oracle 11g 新特性之 Oracle Restart Database 的安装与配置完全详解

Oracle Restart improves the availability of your single-instance Oracle database. Oracle Restart automatically restarts the database instance, the Automatic Storage Management (ASM) instance, the list

2013-02-10 09:32:39 4238 2

原创 EMCA fails with error "ORA-01017: invalid username/password; logon denied"

Creation of dbcontrol repository fails when execute $ emca -config dbcontrol -repos createWith error:Database connection through listener failed. Fix the error and run EM Configuration Assistant again

2015-01-08 11:44:19 6651

原创 Unable to Drop a Datafile From the Tablespace Using Alter Tablespace Command (Doc ID 1050261.1)

今天因为文件系统满了,尝试将tempfile 移动到另一个文件系统,于是在给temporarily tablespace 加完新的tempfile 后,将原来的tempfile 删除,操作命令提示删除成功,alert 日志也显示执行成功,结果应用报如下错误:ORA-00376: file 201 cannot be read at this time后查数据库发现,原来的数据文件仍然存在于数据字典

2014-12-08 17:28:42 2162

转载 How to move RAC Database ORACLE_HOME from one location to another one (Doc ID 1438719.1)

How to move RAC Database ORACLE_HOME from one location to another one (Doc ID 1438719.1)To BottomIn this Document Goal SolutionApplies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 1

2014-10-14 10:30:15 1797

原创 Maste Note for OCR / Vote disk Maintenance Operations (ADD/REMOVE/REPLACE/MOVE)

Doc ID 428681.1Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]Information in this document applies to any platform.GoalThe goal of this note i

2014-07-14 17:05:27 5970

原创 How to create an OCM Response file to apply patch in silent mode - opatch silent (Doc ID 966023.1)

Applies to: Oracle Universal Installer - Version 10.2.0.4 to 11.2.0.3 [Release 10.2 to 11.2]Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.3 [Release 10.2 to 11.2]Information

2014-04-03 11:04:05 8294

转载 Create Database With DBCA on 11.2.0.3, Fails with ORA-29516 (Doc ID 1450281.1)

In this Document Symptoms Changes Cause Solution ReferencesCreated from SR 3-5583555021[This section i

2014-01-24 19:37:07 7939

转载 通过sql查询rman备份信息

链接:http://www.xifenfei.com/2582.html标题:通过sql查询rman备份信息作者:惜分飞©版权所有[文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.]查看所有备份集    SELECTA.RECID "BACKUP SET",         A.SET_STAMP,         DECOD

2013-12-27 15:30:00 2090

转载 How to move a datafile from a file system to ASM (Doc ID 390274.1)

Applies to: Oracle Database - Enterprise Edition - Version 10.1.0.5 to 10.2.0.3 [Release 10.1 to 10.2]Information in this document applies to any platform.***Checked for relevance on 23-June-201

2013-12-25 17:13:32 1436

转载 How to copy a datafile from ASM to a file system not using RMAN (Doc ID 428893.1)

Applies to: Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterInformation in this document applies to any platform.***Checked for relevance on 03-Apr-2013*** GoalThis>Note 390

2013-12-25 17:09:32 1215

转载 使用 RMAN 管理 archivelog

因为archivelog的相关信息是记录在controlfile中的,当物理删除后不会改变controlfile的设置。并且在查询相关的动态视图(例如v$archived_log)时,该部分日志仍然标注为存在,也就是说Oracle并不认为这些日志被删除了。这种错误信息会导致在rman在备份archivelog终止,出现不能完成备份,并且阻塞后续的备份操作。一、直接使用RMAN删除arc

2013-12-19 11:36:25 8757

原创 Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN

In this Document Purpose Scope Details Overview Steps to accomplish Method 1 ReferencesApplies t

2013-12-19 10:25:09 2557

转载 How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure (Doc ID 1063571

APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.GOALDuring the Grid Infrastructure installation, the (default

2013-12-13 22:20:39 2759

转载 Tracing Techniques for Listeners in 11.2 RAC Environments (Doc ID 1325284.1)

In this Document Purpose Troubleshooting StepsApplies to: Oracle Database Products > Oracle Database > Net ServicesInformation in this document applies to a

2013-12-12 16:54:35 1338

转载 Linux: How to Configure the DNS Server for 11gR2 SCAN (Doc ID 1107295.1)

Applies to: Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]Generic LinuxThe commands listed in this Note tested at Red Hat Enterprise Server 5 Update 2. For th

2013-11-30 22:50:54 2403

转载 DNS and DHCP Setup Example for Grid Infrastructure GNS (Doc ID 946452.1)

Applies to: Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.PurposeThe Grid Naming Service (GNS) is a new feature in the 1

2013-11-30 22:48:04 3497

转载 Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC (Doc ID 13408

Applies to: Oracle Net Services - Version 10.2.0.3 to 11.2.0.4 [Release 10.2 to 11.2]Information in this document applies to any platform.GoalTo demonstrate how the COST parameter "SECURE_RE

2013-11-04 12:24:25 5294

原创 IT屌丝的离职申请

各位好,很遗憾在如此关键的时刻和大家说告别。我为金三也付出了近一年的心血,几乎没怎么休过令人舒心的周末,熬了多少夜更不用说,如此的离开,请相信我也非常心痛。尽管直到现在我的水平都非常一般,但是来金三之前,我也是有很多好的机会的,当时 sk 给我的工资就比公司少了1k而已,我选择金三,是因为我怀揣着许多梦想和憧憬。一个全国性的大工程,一个一切几乎从无到有过程,我想我一生都很难再有如此的机会来

2013-09-12 17:15:00 2029

原创 Oracle 11g R2 RAC:使用 DBMS_SERVICE 包管理 service 资源

Summary of DBMS_SERVICE SubprogramsTable 130-5 DBMS_SERVICE Package SubprogramsSubprogramDescriptionCREATE_SERVICE ProcedureCreates serviceDELETE_SERVICE Pr

2013-08-16 18:30:05 4396

原创 Oracle 11g R2 RAC:使用 srvctl 工具管理 service 资源

1、使用 srvctl 工具创建 service 资源srvctl add service -d db_unique_name -s service_name {-r "preferred_list" [-a "available_list"] [-P {BASIC | NONE | PRECONNECT}] | -g server_pool [-c {UNIFORM | SI

2013-08-14 22:43:44 6339

原创 How to cleanup orphaned Data Pump jobs in DBA_DATAPUMP_JOBS ?

The jobs used in this example:- Export job SCOTT.EXPDP_20051121 is a schema level export that is running- Export job SCOTT.SYS_EXPORT_TABLE_01 is an orphaned table level export job- Export job S

2013-07-27 22:51:36 10405

原创 Oracle 11g R2 RAC:配置 DNS 解析 SCAN VIP

Oracle 11gR2Grid Infrastructure (CRS) 中引入了 Single Client Access Name (SCAN) 来简化客户端对数据库服务的访问。本文将详细介绍如何配置 DNS 来解析 SCAN VIP

2013-07-03 17:38:04 4124

原创 Flashing Back a Failed Primary Database into a Physical Standby Database

The following steps assume that a failover has been performed to aphysical standby database and that Flashback Database was enabled on the oldprimary database at the time of the failover. This proce

2013-06-30 12:17:44 1609

原创 Oracle Data Pump 工具系列:如何重新安装 DataPump EXPDP/IMPDP 工具

如何重载 Datapump 实用工具 EXPDP/IMPDP 本文适用于OracleDatabase - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3在很多不同的场景下都可能需要重载 DATAPUMP实用工具,比如数据库出现hang机、内部错误、数据字典不兼容等与DataPump 初始化阶段有关的所有问题。在某些情况下,Da

2013-04-16 23:33:14 4964 2

原创 45岁以后,外企的人都到去哪里了呢?(转载:岭南一梦)

标题中问及的问题,已经萦绕在我心里好久,总想就这个话题写点什么,一则是为自己十年的外企生涯做个阶段性的总结,二是想跟天涯上的同仁们交流一下外企的话题,以及服务于外企的大陆中国人的前途。  一、我为什么要加入外企  算起来,我服务于“外”字头的各种企业已经有十个年头了,现在也基本人到中年了。回想起加入外企的动机,还要回到十年前。   1999年,我还在某省会城市的一个设计院工作,由于项目

2013-04-06 22:23:52 3469 1

原创 怎样格式化dbms_metadata.get_ddl存储过程的输出?

set linesize 180set pages 999set long 90000--设置按单词换行col a for a200 wrapped word--select dbms_metadata.get_ddl('INDEX','I_DJ_NSRXX_DJJG_DM','HX_DJ') a from dual;--去除storage等多余参数EXECUT

2013-04-04 23:05:41 2745

转载 enq: FB - contention

select wait_class,name from v$event_name  where name = 'enq: FB - contention';WAIT_CLASS                                                       NAME---------------------------- ------------------

2013-04-02 17:50:10 6902

原创 Oracle 11g R2 RAC:CRS 管理员用户的管理

To query the list of users that are CRS Administrators:[grid@rac1 ~]$ crsctl query crs administratorCRS Administrator List: *To enable role-separated management and grant privileges to non-p

2013-03-31 22:57:06 1960

原创 Linux/Unix 中如何在复制一个目录时排除其中的某个文件

[oracle@prod ~]$ mkdir test1[oracle@prod ~]$ mkdir test2[oracle@prod ~]$ cd test1[oracle@prod test1]$ touch 1 2 3 4 maomicp `ls | grep -v maomi | xargs` ../test2[oracle@prod test1]$

2013-03-24 23:25:00 2689

原创 Linux 下如何配置 FTP 服务

1.挂载 OS 镜像盘[root@dss media]# mount /dev/cdrom /media2.安装 FTP 服务包[root@dss Server]# ls -lt | grep vsftp-rw-r--r-- 1 root root   143517 Nov 17  2010 vsftpd-2.0.5-16.el5_5.1.i386.rpm

2013-03-10 08:01:51 3592

wordpress模板安装教程

wordpress模板安装教程,通过此教程你可以随便利用互联网上面的模板来装扮您的个人主页

2009-03-01

wordpress主题制作教程

世界上最流行的php博客程序wordpress,通过此教程 你可以创建最炫的主题博客

2009-03-01

简单多用户Blog源码

一个简单的多用户博客系统,可以进行用户在线注册、发布日志和相册 该系统没有系统后台管理功能 App_Data下为Sql2005数据库 *修正了不能注册用户和浏览评论出错的问题

2009-02-19

vs2005入门目录介绍

天轰穿-c#趣味编程系列视频- vs2005/2008 winform实例入门第二集学习技巧风暴. 摘要: 本集的主要目标不是教会你多少知识, 而是教会你举一反三的去学习, 教会你一种学习 ...

2009-02-17

asp.net视频教程02

我做这个教程的主旨是为了帮助更多的人少走弯路,少花冤枉钱,如果有人拿去用于商业用途的话,那违背了我的初衷,我是绝对不允许的--天轰穿

2009-02-08

基础课程_L1_STT_软件测试技术_Lab03

然而,这种观点指出测试是以查找错误为中心,而不是为了演示软件的正确功能.但是只从字面意思理解,可能会产生误导,认为发现错误是软件测试的唯一目的,查找不出错误的测试 ...

2009-02-08

VCTE_基础课程_L1_STT_软件测试技术_Lab02

软件测试基础课程,适用于初学者以及非计算机专业学员熟悉软件测试行业

2009-02-08

VCTE_基础课程_L1_STT_软件测试技术

软件测试技术的基础课程,适用于初学者的学习,以及非计算机专业的学习者来熟悉软件测试

2009-02-08

网络安全培训讲稿第一讲

网络安全的培训讲稿,本人正在学习网络安全相关的电子教程,觉着不错,及发上来,让大伙儿瞧瞧

2009-01-20

计算机应用基础复习资料

计算机应用基础复习资料,考研和学习用,包括一些知识点和习题

2009-01-13

IT行业面试、笔试题大全

t行业面试大全,对面试有帮助的哦IT行业面试大全IT行业面试大全IT行业面试大全IT行业面试大全IT行业面试大全

2009-01-04

asp。net面试题

asp面试题 asp面试题 asp面试题

2009-01-04

考试用asp.net

考试用asp.net考试用asp.net考试用asp.net考试用asp.net

2008-11-15

空空如也

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

TA关注的人

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