摘要:
SQL> select ts#,status,name from v$datafile; TS# STATUS NAME---------- ------- ---------------------------------------------------------------------------------------------------- 0 SYSTEM /u01/app/oracle/oradata/testdb/system01.dbf 1 ONLINE /u01/app/oracle/oradata/testdb/sy... 阅读全文
摘要:
connect target sys/oracle@testdbrun{ allocate channel d1 device type disk; backup as compressed backupset incremental level=0 format='/home/oracle/logmnr/rmanback/inc0_%d_%U' tag='inc0' channel=d1 database; backup as compressed backupset ... 阅读全文
摘要:
参考视频:[bbk1260][bbk1261]objectivesanalyze redo logfileincomplete recover databasestepsbackup databasemodify spfilerestart databasemanipulate database,switch logfileuse logmnranalyze redo logfileinmplete recover datavaseverify recovermodify spfilemkdir /logmnrchown -R oracle:dba /logmnralter system se 阅读全文
摘要:
参考视频[bbk1269][bbk1270][bbk1271][bbk1272][bbk1279]statspack配置文件:sprepcon.sqlstatspack文档:spdoc.txtreportinstance reportspreport.sqlsprepins.sql(multi-instance)->多个实例时使用sqlp reportsprepsql.sqlsprsqins.sql(multi-instance)->多个实例时使用configuredatabase parameterssnapshot parametersinstance report param 阅读全文
摘要:
参考文章:http://www.2cto.com/database/201208/145676.html 阅读全文
摘要:
1、添加主键约束SQL> desc kaoqin; Name Null? Type ----------------------------------------- -------- ---------------------------- ID NUMBER(38) NAME VARCHAR2(10) UPTIME ... 阅读全文