oracle 分区
http://blog.csdn.net/tianlesoftware/article/details/4717318
rman duplicate(复制)
设置参数 DB_FILE_NAME_CONVERT LOG_FILE_NAME_CONVERT1 主库 startup 2 备库 startup nomount3 主库rman 连接rman target / auxiliary sys/oracle@st180 listbac...
rman restore archivelog log
1.restore archivelog all 恢复全部归档日志文件2 restore archivelog from logseq 5 until logseq 8;3 restore archivelog from logseq 5;4 restore archivelog from time 'sysdate-7';5 restore arch...
使用Catalog命令注册RMAN备份集
CATALOG ARCHIVELOG '?/oradata/archive1_30.dbf', '?/oradata/archive1_31.dbf', '?/oradata/archive1_32.dbf';CATALOG DATAFILECOPY '?/oradata/u...
oracle logmnr
1alter system set utl_file_dir='D:\archivelog' scope=spfile;2 重启数据库3BEGINdbms_logmnr_d.build(dictionary_filename=>'dict.ora',dictionary_location=>'D:\archivelog');END;4 增加要分析的文件&...
检查 oracle 坏块
1 RMAN> BACKUP CHECK LOGICAL VALIDATE DATAFILE n ;select * from v?$database_block_corruption;2 dbv file=EYGLE.DBF blocksize=8192
rman恢复数据文件 恢复表空间
sql 'alter tablespace users offline for recover';--可选set newname for datafile 4 to '$ORACLE_BASE/product/10.2.0/oradata/oralife/user01.dbf'; restore tablespace users;recover tablespace users;sq...
FLASHBACK 恢复表
FLASHBACK TABLE sys_action_info TO BEFORE DROP;select * from sys_action_info as of timestamp to_timestamp('2009-11-12 15:10:20','yyyy-mm-dd hh24:mi:ss');FLASHBACK TABLE sys_action_info TO to_tim...
rman 恢复数据块
backup validate datafile 1;backup validate check logical database;--全库检测select * from v$database_block_corruption where file#=4;blockrecover datafile 4 block 35 from backupset;如需要恢复v$...
ORA-01578(数据块损坏)跳过坏块
-- 1. 检查损坏的对象 SELECT tablespace_name, segment_type, owner, segment_name FROM dba_extents WH...
oracle 行变列
SELECT NAME_, MAX(DECODE(CLASS, '语文', T.SCORE, 0)) 语文, MAX(DECODE(CLASS, '数学', T.SCORE, 0)) 数学, MAX(DECODE(CLASS, ...
flash recovery area 空间满了的处理办法
You have following choices to free up space from flash recovery area:1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,then consider changing RMAN ARCHIVELOG DELETION POLICY.2. B...
[三思笔记]一步一步学DataGuard.zip
[三思笔记]一步一步学DataGuard.zip
ORACLE全面学习Scheduler
ORACLE全面学习Scheduler
Getting Ora-600 [kdsgrp1] On A Select [ID 429746.1]
Applies to: Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.3 - Release: 10.2 to 11.2Information in this document applies to any platform.Symptoms-- Problem Statement:On 10.2.0.3...
rebuild分区表分区索引的方法
ALTER INDEX &index_name REBUILD PARTITION &PARTITION_NAME;ALTER INDEX &index_name REBUILD SUBPARTITION &PARTITION_NAME;
oracle Parallel技术
Parallel技术对于一个大的任务,一般的做法是利用一个进程,串行的执行,如果系统资源足够,可以采用parallel技术,把一个大的任务分成若干个小的任务,同时启用n个进程/线程,并行的处理这些小的任务,这些并发的进...
oracle dump 命令
dump 命令dump命令模仿oracle的”alter system dump datafile”命令,解析并显示oracle的块格式。目前支持的块包括文件头(只有部分信息)、数据段头、表和索引数据块,其他的块只显示块头。这已经足够大部分情况的...
ORA-600[kdsgrp1]
In this DocumentPurposeTroubleshooting StepsReferencesApplies to:Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.1.0.6 [Release 10.1 to 11.1]Information in this document applies to any pla...
HP-UNIX 系统日志 查询
1:HP-UNIXdmesg 在错误日志里面收集诊断系统消息/var/adm/cron/lo...