Quote:
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
Quote:
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