troubleshooting Question

How do I effectively monitor and notify OS diskspace utilized by Oracle tablespaces?

Avatar of aliasim99
aliasim99 asked on
Oracle DatabaseSystem Utilities
6 Comments1 Solution550 ViewsLast Modified:
I am working on a PL/SQL package to manage and free up space utilzed by extending Tablespaces when disk space reaches 85% (to send a warning message) and when it reaches 95% ( then start deleting records from the oldest partitions of the data tables).

We have an OLAP DB, where we have setup partitions of tables in each TableSpace. When the disk utilization reaches 85% then I should raise a warning (inserting a record to the SysMonitoring table) and when it reaches 95% ( then start deleting the oldest partition of the table in that TableSpace until the disk utlization falls below 85%). I have a mechanism to select the oldest partition table which I will use in there. But the rest of the functionality is needed. I am using DBA_SEGMENTS and DBA_DATA_FILES as a resource but can't build an effective logic yet. Would greatly appreciate any insight or help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros