博客统计信息

用户名:xiahouyao123
文章数:42
评论数:10
访问量:7103
无忧币:1511
博客积分:358
博客等级:3
注册日期:2009-01-16

我最近发表的评论

三层交换与路由的.. 回复
谢谢,互相学习。
. ORION 概述
1.1 ORION 说明
ORION (Oracle I/O Calibration Tool) 是校准用于 Oracle 数据库的存储系统 I/O 性能的独立工具。校准结果对于了解存储系统的性能有很大帮助,不仅可以找出影响 Oracle 数据库性能..
2012-05-12 14:54:31
一. DBV 说明
       DBV是一个常用的工具,OracleMOS上有一篇文章介绍DBV:[ID 35512.1]。
 
       dbverify工具的主要目的是为了检查数..
同事在测试库上对一个表加字段,提示 ORA-00054, 资源忙。 应该是表对象的锁没有释放。
 
用如下SQL 查看一下系统中相关对象上锁的情况:
 
 


[sql] view plaincopyprint?


<..
方法一:使用sqlplus
64位:
[oracle@qs-wg-db2 ~]$ sqlplus / as sysdba;
 
SQL*Plus: Release 10.2.0.5.0 - Productionon Sun Sep 25 08:57:22 2011
 
Copyright (c) 1982, 2010, Oracle. ..
在我们创建实例的时候可以保存为模板,其实也可以直接用DBCA命令来创建我们的实例模板,并且利用这个功能进行实例的复制。只是这个功能很少被关注。


 
 
 
这里我们选择ManageTemplate:
 


 
注意创建模板的三种类型,官网也有相关的说明:
Installing Oracle Database and Creating aDatabase
http://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#ADMQS023
 
(1)From an existing template
Using anexisting template, you can create a new template based on the predefinedtemplate settings. You can add or change any template settings such asinitialization parameters, storage parameters, or whether to use customscripts.
--根据已经存在的模板来创建新的模板,在此基础之上可以修改旧模板的参数。
 
(2)From an existing database(structure only)
You can create anew template that contains structural information from an existing database,including database options, tablespaces, data files, and initializationparameters. User-defined schemas and their data will not be part ofthe created template. The source database can be either local or remote. Selectthis option when you want the new database to be structurally similar to thesource database, but not contain the same data.
--根据已经存在的数据库实例来创建新的模板,这种只包含structural 的信息,如database options,tablespaces,datafiles 和initialization parameters。 用户定义的schemas 和data 不会被包含在模版中。因此这种模板只包含基本的架构信息。
 
(3)From an existing database(structure as well as data)
You can create anew template that has both the structural information and physical data filesof an existing database. Databases created using such a template are identicalto the source database. User-defined schemas and their data will bepart of the created template. The source database must be local. Select thisoption when you want a template from which you can create an exact replica ofthe source database.
       这种模板是包含架构和数据,因此这个模板的数据和我们源库会完全相同,使用这个功能可以用来进行数据的复制。 这个功能是我们需要关注的,也是我写这篇Blog的一个目的。
 
 
模板存放的目录:
{ORACLE_HOME}/assistants/dbca/templates/dave.dfb
 
自动建库会出TNS协议错误,需用dbca生成建库sql,在bat中加入 net start oracleserviceXXXX(SID)行在oradim下面。
监听找不到服务(提示sid错误或找不到)需要在监听文件中增加
    (SID_DESC =..
2012-04-13 10:53:57
1、SHOW命令:

  显示rman配置:

RMAN> show all;

  2、REPORT命令:

  2.1、RMAN> report schema 报告目标数据库的物理结构;

  2.2、RMAN>report need backup days=3; 报告最近3天..
SQL_TRACE是Oracle提供的用于进行SQL跟踪的手段,是强有力的辅助诊断工具.在日常的数据库问题诊断和解决中,SQL_TRACE是非常常用的方法。

本文就SQL_TRACE的使用作简单探讨,并通过具体案例对sql_trace的使用进..
select * from dba_data_files; 

col name format a15

 col failgroup format a20

 col path format a30

oracle KFED 和 KFOD 工具说明

1. Check v$asm_disk.header_status toverify ..
2012-03-28 17:03:43
conn system/manager
----------------------------建立用户,分配配额,建立表---------------------
DROP USER test2 CASCADE;
create user test2 identified by test2;
select username,password,profile,def..
 <<   1   2   3   4   5   >>   页数 ( 1/5 )

订阅我的博客


google reader 鲜果 QQ邮箱 有道 抓虾