Today we are talking about the steps we use to solve the “error ORA-03297: file contains used data beyond requested RESIZE value”

Let’s have look on the steps.

QUERY 1 – datafile Allocated space, free space, High Water Mark location,%Free and resizeable MB

QUERY 2 – location of segments within a data file (Provide file_id of the Tablespace)

To re-size the DATAFILE the only way is to lower the High Water Mark.  It can be done by moving extents to other Tablespace or the same Tablespace. Check the size of Tablespace before moving.  In the production database, it’s not easy to move the table, LOB etc since many users can be accessing these objects. An index can be the move by rebuilding online in a production database. After moving the tables it’s necessary to rebuild the UNUSABLE indexes on the tables.

Today’s thought 

Work like you don’t need the money. Love like you’ve never been hurt. Dance like nobody’s watching — By Satchel Paige

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn:

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp


About The Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.