oracle10g-flashback
oracle10 闪回1、闪回查询2、闪回版本查询3、闪回表4、闪回drop5、闪回数据库条件:1、开启归档2、undo_management 设置为auto3、flashback 设置为YES(闪回数据库用)(1) 闪回查询依靠undoAS OF Specify AS OF to retrieve the single version of the rows returned by the query at a particular...
sync data from db1 to db2-use exp\scp\imp
sync data from db1 to db2use exp\scp\imp#(1) exp.sh ,this is the exp script #!/bin/bashexport ORACLE_BASE=/opt/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1export ORACLE_SID=orclexport PATH=$PATH:$ORACLE_HOME/binexport NLS_LANG='AMERICAN_AMERICA.AL32UTF8'DUMPFI...
sync data from db1 to db2-use exp\ftp\imp
sync data from db1 to db2 use exp\scp\imp #(1) db1 ,this is test data create tablespace user01 datafile '/u01/disk1/user01.dbf' size 10M; create user user01 identified by user01 default tablespace user01; grant resource,connect to user01; conn user01/user01 ...
oracle-backup-hot backup
hot backup--**********************************-- 1、环境确认 归档模式、路径、文件--**********************************alter system set log_archive_dest_1='location=/tools/ko16_arch' scope =both;alter system set db_recovery_file_dest_size=5368709102;SQL> archive log listDatabase...
oracle-backup-expdp
#!/usr/bin/bsh. /oracle/.bash_profile################################################################################ Name : exp_ACEM05.sh# Description : Schema Export Backup Shell# Author : zuo qi# Date : 2014.04.# Executed at...
oracle-通过expdp&impdp 移动用户的表空间和修改用户owner
---1、现状:scott 使用了system tablespace,导致system tablespace空间使用异常---2、解决:使用move或expdb 将scott数据从 system tbs--> users tbs---3、select nowset lines 200set pagesize 200set long 8000SELECT DBMS_METADATA.GET_DDL('TABLE','T1','SCOTT') FROM DUAL; CREATE...