Step 1: Run copycopydatafile1to In The rman window
Step 1: Run copycopy datafile 1
Homepage → Database Technology
Background:Read News
Procedure for migrating data files using RMAN (RAC-ASM environment)
[Date: 2013-12-05] Source:
When the Oracle database is remotely restored, it takes a lot of space and a long time to completely restore the entire database. If the mode-based recovery method is used to restore all things in a certain mode
When the Oracle database is remotely
Data | database
user-defined database recovery
one, automatic application redo log
1, use the Set AutoRecovery command to automatically apply redo log
completes the repair operation of the data file
Sql>startup MOUNT; Start the
Source DB End:Oracle_base=/u01/app/oracleOracle_home=/u01/app/oracle/product/11.2.0/db_1Oracle_sid=ygdgData File location:/U01/APP/ORACLE/ORADATA/YGDGTarget DB
Adump is generally audit dumpBdump is a background dump.Udump is user dump.Cdump is core dump.
Recovery steps1. Restore data files2. Apply redo3. The database contains committed and uncommitted transactions.4. Application UNDO5. Recovered
Nothing special, just keep track the history.
C: \ Users \ Administrator> tnspic'Tnspic 'is not recognized as an internal or external command,Operable program or batch file.
C: \ Users \ Administrator> tnsping orcl
TNS Ping utility for 64-bit
Database migration: migrate the file system to the ASM system environment: Operating System: AIX5.3-08 Oracle: Oracle10gR21. perform the operation and select a feasible migration solution. 2. Preparations, create an ASM disk group and start an ASM
The procedure is simple: Shut down the source database-copy to the target machine-start to mount state rename-open Database login source Database Host build ing directory 192.168.1.2oradata ing to z: after the disk ing is completed, check whether
The steps are simple: Guan-> copy to target machine-> boot to mount State rename->open database
Login to the source database host
Create map directory 192.168.1.2oradata map to Z: Disk
Check to see if the file is allowed to be written after
Oracle modifies the Name of TableSpace Before Oracle10g, the name of tablespace cannot be modified at will. It can only be dropped and re-built. However, after 10g, oracle added the modification function, except for the system and sysaux tablespaces,
A complete set of common Oracle commands
A complete set of common Oracle commands
The ORACLE tutorial is a complete set of common Oracle commands.
Chapter 1: Log Management
1. forcing log switches
SQL> alter system switch logfile;
2. forcing
In a RAC routine patrol, query table space usage, Node 1 unexpectedly thrown, DBWR process can not lock ' d:oraclefcdatalixora.dbf ' this data file; feeling wrong ah, very ominous feeling;Just look at the name to guess, the data file is built to RAC
There are 1000 images in the IMG folder, how to change the 1000 images to the name 1 to 1000???
$arr = glob("img/*.jpg");var_dump($arr);$i = 1;foreach($arr as $file) { // 获取图片后缀名 $ext = pathinfo($file,PATHINFO_EXTENSION); $name = $i++ . "."
1. Migration of ASM files
ASM file migration refers to migrating database files located on the file system to the ASM disk group, or migrating database files located on the ASM disk group to the file system. As shown in:
Ii. migrate from the file
The img folder contains 1000 images. how can I change the names of these one thousand images to 1 to 1000 ???? {Code...} solves the problem of 1000 images in the img folder. how can I change the names of these one thousand images to 1 to 1000 ????
$
Oracle First chapter: Log Management
1.forcing Log Switches
sql> alter system switch logfile;
2.forcing checkpoints
Sql> alter system checkpoint;
3.adding Online Redo Log groups
sql> ALTER DATABASE Add logfile [Group 4]
Sql> ('/disk3/log4a.rdo ', '
The scenario is as follows:[Email protected] ~]# df-hFilesystem capacity used% mount point available/dev/sda2 28G 26G 585M 98%//DEV/SDA1 190M 12M 169M 7%/bootNone 2.0G 0 2.0G 0%/dev/shm/DEV/SDB3 99G 93M 94G 1%/u02
The root directory is full,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.