tablespace offline + backup and delete archive logs
Hi,
I am fairly new to managing oracle DBs...so forgive me if this is a trivial question or is already doc'd somewhere.
I had a case where there was a certain schema that had 3 tablespace files. 1 of them got full and for some reason, the other 2 were showing offline (needs recovery).
I thought to back everything up with RMAN first before I tried the recovery stuff as it was new to me. So I did AND i deleted the archive logs like I always do.
So when I went to do the recover tablespace, it errors b/c the archive log is gone from disk. I restored the archive logs I needed and then was able to ultimately recover the tablespace and get it back online which brings me to my question...should we leave the archive logs on disk (e.g. do not delete them) when we do a backup. The reason I delete them is to save the disk space. Wondering if I should leave them around based on this experience since they are necessary to recover stuff. Any comments/pointers/best practice tips would be appreciated.