on-internet
← Community

How to delete archive log files on AWS RDS Oracle instance

Stack Overflow ·

We have an AWS Oracle RDS instance that recently ran out of space with ORA-01653 and ORA-01654 (Unable to extend index X by 8 in tablespace X...) errors. On investigation by running query: select nvl(sum(BLOCKS * BLOCK_SIZE),0)/1024/1024/1024 GB from V$ARCHIVED_LOG where DEST_ID=1 and ARCHIVED='YES' and DELETED='NO'; This shows the output: GB ---------- 26.3267608 This leads me to believe we have 26 GB of Archive logs. Running the following query to get some info on the archive files: select * from V$ARCHIVED_LOG where DEST_ID=1 and ARCHIVED='YES' and DELETED='NO'; We have nearly 5000 rows of

Comments

Sign in or sign up to comment and upvote.

No comments yet.