Site icon Database Tutorials

Script to Reduce the tablespace size and reduce the free pages

 

Most of the cases we need to monitor the space of the FileSystem while data is growing in the database.

And if there are any delete operations performed on a table then the table must be reorged and space should be reclaimed.

It this case we need to reduce the free pages that are there in a tablespace.

So to automate that we can use the below script.

Here is the script.

Exit mobile version