RDS Oracle storage allocated larger than source instance

0

Hello We have an oracle rds source instance with 5 read only replicas. The source and four replicas have about 4000 GB allocated storage, a fifth one exceeds 8000 GB and seems to be growing up. The datafiles, tempfiles, are obviously the same. How can I check the detail usage ? Thanks

已提问 7 个月前405 查看次数
4 回答
1

Hello.

It sounds like you're observing unexpected storage behavior with one of your Oracle RDS read replicas. Connect to the problematic read replica using an SQL client and execute the following query to check the size of each tablespace and its datafiles:

SELECT
    df.tablespace_name "Tablespace",
    ROUND(SUM(df.bytes) / 1024 / 1024) "Size (MB)",
    ROUND(MAX(df.bytes) / 1024 / 1024) "Max Datafile Size (MB)"
FROM
    dba_data_files df
GROUP BY
    df.tablespace_name;

Check for Backups and Snapshots: It's possible that backups or snapshots are consuming additional storage. Check the "Automated Backups" and "Snapshots" sections in the RDS dashboard for this replica.

Best regards, Andrii

profile picture
专家
已回答 7 个月前
0

Hello Andrii

It seems that datafiles are ok. I also run the commands to crosscheck the archives, and clear the bdump folder, and near 5 TB has been cleared. I think an application generates a lot of trace files. I set their retention to a minimum.

Thank you.

已回答 7 个月前
0

Could you please accept the answer if it helped for you? Regards, Andrii

profile picture
专家
已回答 7 个月前
0

Hello,

I am glad that by clearing the trace files you were able to reclaim the storage back. Trace and dump files can accumulate and consume disk space. By default, Amazon RDS purges trace and dump files that are older than seven days. You can always change the retention period to avoid high disk usage.

Kindly let me know if you have any other doubt/query.

Thanks and Regards, Nishant Kumar

AWS
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则