|
-
Originally posted by DaPi
In my VERY limited experience it seems (at least under Windows) that a channel is allocated to a datafile and so you only get any benefit if you have several datafiles per tablespace - the tablespaces are placed in backup mode and processed one at a time. If you only have one file per TS then it always uses just the first channel, hence the C: drive.
Not Exactly. RMAN will divide up the files that need to be backed up, splitting them between each channel. It doesn't really matter how many files per tablespace you have. I've had a database backed up with RMAN, and it had 50+ datafiles - some tablespaces had multiple files, some didn't. We would use two channels and it would "Randomly" pick half of the files for each channel. There must be some sort of algorithm, because both pieces tend to be about the same size.
Couple things to note... if you use multiple channels, you obviously get multiple backup pieces. Make sure to check your bandwith if your using multiple channels across the LAN. There is a point a diminishing returns. We found using 3 didn't get the backup done any faster than 2. We were using as much bandwith with 2 that we possibly could.
As far as Learning_bee's question.. I'm not sure why you only used one channel. How many files did you have?
According to the RMAN Guide:
The default for filesperset is the lesser of these two values: 64, number of input files / number of channels. For example, if you back up 100 datafiles using 2 channels, RMAN sets filesperset to 50.
RMAN always attempts to create enough backup sets so that all allocated channels have work to do. An exception to the rule occurs when there are more channels than files to back up. For example, if RMAN backs up two datafiles when three channels are allocated and filesperset = 1, then one channel is necessarily idle.
HTH
Jodie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|