oracle sql tunning all hints
The following is a list of all hints available in Oracle9i. Many of the hints are also available in earlier releases of Oracle. The purpose of this list is not to exhaustively describe the syntax of e...
利用rman生成备用数据库操作文档
1.准备好相应的目录结构D:\oracle\admin\copy\bdumpD:\oracle\admin\copy\udumpD:\oracle\admin\copy\cdumpD:\oracle\oradata\copy2.创建好参数文件 initcopy.ora 文件,参照主库文件进行修改.添加和修改以...
rman备份但丢失一个数据文件,但有归档备份
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba" SQL*Plus: Release 9.2.0.4.0 - Production on 星期五 5月 18 16:23:48 2007 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. 连接到...
用rman 不备份某个表空间
For example, you can exclude testing tablespaces cwmlite and example from whole database backups as follows: CONFIGURE EXCLUDE FOR TABLESPACE cwmlite; CONFIGURE EXCLUDE FOR TABLESPACE example; If you ...
in 和exists的用法
昨天在客户那用 in 的写法删除数据库时, 由于没有对数据进行分析,很慢要十多分钟才出来,用exists可能快点 但分析后速度就很快 in和exists 差不多 由于数据库是CBO模式 所以总结如下: 假设数据库没做分析,最好先分析...
run plus archivelog 有以下功能
backup database plus archivelog 当你定义plus archivelog语句时,RMAN执行如下步骤的操作:1。运行一个ALTER SYSTEM ARCHIVELOG CURRENT命令2。运行BACKUP ARCHIVELOG ALL命令。注意如果备份优化被启用,RMAN只会...
rman backup database force 功能
FORCECauses RMAN to ignore backup optimization. In other words, even if CONFIGURE BACKUP OPTIMIZATION is set to ON, RMAN backs up all specified files. Note: You can also specify this option in the bac...
backup archivelog delete input 与delete all input 区别
backup archivelog all delete input 备份默认目录下所有归档日志,并且删除这个目录下所有归档日志backup archivelog all delete all input 备份默认目录下所有归档日志,并且删除几个备份目录下所有归档日...
利用rman删除硬盘上丢失的archivelog
C:\Documents and Settings\Paul Yi>rman target / catalog paultest/paultest@dev89 log=d:\rman.logRecovery Manager: Release 9.2.0.4.0 - ProductionCopyright (c) 1995, 2002, Oracle Corporation...
rman set newname switch 用法
前提是已经有个backup tablespace tools 备份了set newname 的作用是恢复到一个新的路径switch 做切换把新路径文件写到控制文件中恢复到一个新的路径C:\Documents and Settings\Paul Yi>rman target / catalog p...
Standby数据库常用操作说明
u Starting Up a Physical Standby DatabaseTo start up a physical standby database, use SQL*Plus to connect to the databasewith administrator privileges1. Start the database:...
ORA-12500: TNS:listener failed to start a dedicated server process
今天早上连到standby数据库时,报以下错误 alert_paul.log 记录的更详细ORA-12500: TNS:listener failed to start a dedicated server process*** 2007-12-20 10:12:41.629Error 12500 connecting to destinatio...
oracle 常用查询视图
1.查找某个用户下所有表,和根据num_rows的值确定表是否分析过select * from user_tables;2.查找某个用户下所有触发器select * from user_triggers;3.查找某个用户下所有序列号select * from user_sequences;4....
oracle 常用查询视图
1.查找某个用户下所有表,和根据num_rows的值确定表是否分析过select * from user_tables;2.查找某个用户下所有触发器select * from user_triggers;3.查找某个用户下所有序列号select * from user_sequences;4....
在线创建唯一索引的问题
create unique index index_name on table_name (column);在线创建时会组塞dml操作,直到创建唯一索引成功,dml才正常操作所以在线创建索引时,为了减少性能,不阻塞dml操作最好加上online 关键字create ...
利用rman在同一台机器上主库online搭建standby
1.用oradmin新建一个实例名testC:\Documents and Settings\Paul Yi>oradim -new -sid test2.准备参数文件 d:\inittest.ora文件*.background_dump_dest='D:\oracle\admin\test\bdump'*.compatible='9.2.0.0.0'*.cont...
利用rman快速搭建standby
c:\rman target / catalog paultest/paultest@dev89Recovery Manager: Release 9.2.0.4.0 - ProductionCopyright (c) 1995, 2002, Oracle Corporation. All rights reserved.connected to target database:...
转:做人学佛百句良言
文章提交者:wang4331 加帖在 文化散论 【凯迪网络】 http://www.kdnet.net做人学佛百句良言 1、人之所以痛苦,在于追求错误的东西。 2、与其说是别人让你痛苦,不如说自己的修养不够。 3、如果你不给自己烦恼...
rman 备份时启动写log功能
C:\Documents and Settings\Paul Yi>rman target / catalog paultest/paultest@dev89 log=d:\rman.logRMAN> backup database plus archivelog delete all input;打开d:\rman.log日志文件内容如下:Recov...
两种启动数据库的方式
1.使用操作系统验证D:\oracle\ora92\network\adminSQLNET.AUTHENTICATION_SERVICES = (NTS) --启用C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"SQL*Plus: Release 9.2.0.4.0 - Production on Tue...