12-17-2010 07:41 AM
Hi Friends,
MY DBA is complaining that the rman backups are taking too long to complete. We have the NIC on the database servers set at 1000MB full. What else should i be checking? Will adding SIZE_DATA_BUFFERS and NUMBER_DATA_BUFFERS on the database server help increase the speed.
Please help
Thanks
kisad
Logs from the DBA Email sent to me.
------------------------------------------------
Solved! Go to Solution.
12-18-2010 04:20 AM
Immediately from your log, it would seem that it takes until 04:38 before a tape is mounted. This is normally a good indicator that your have run out of available tape drives. The Oracle job is sitting and waiting for over four hours before it can actually start.
The performance once started is probably at acceptable speed though. You would have to look into finding a backup windows where not all of your tape drives are occupied with other backup/restore/duplication operations.
/A
12-17-2010 01:21 PM
What kind of transfer rate are you seeing for RMAN backups? And for filesystem backups on the same client?
SIZE & NUMBER_DATA_BUFFERS is only used on a media server. NET_BUFFER_SZ can be configured on clients.
Before you adjust buffer settings, you need to determine where the bottleneck is:
Oracle, Filesystem, network, media server, backup devices...
Do you have bptm log on the media server?
Check bptm log to see what buffer settings are used. Then, look at the end of the RMAN backup for 'Waited for full|empty buffers'. If you see 'waited for full', you need to find the problem on the client.
Test with filesystem data first - use something like tar to backup +- 2Gb to /dev/null combined with 'time' command, e.g.:
time tar cf /dev/null /folder
Divide /folder size ('du -sk /folder') by time taken to run backup.
If read speed from disk is satisfactory, test network transfer rate - ftp +- 2Gb of data from the client to the media server.
Let us know what the results of these tests are.
Please also share RMAN settings, such as 'filesperset' and number of channels defined in script.
12-18-2010 04:20 AM
Immediately from your log, it would seem that it takes until 04:38 before a tape is mounted. This is normally a good indicator that your have run out of available tape drives. The Oracle job is sitting and waiting for over four hours before it can actually start.
The performance once started is probably at acceptable speed though. You would have to look into finding a backup windows where not all of your tape drives are occupied with other backup/restore/duplication operations.
/A