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

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠