You are on page 1of 1

I have a table with 9 rows only in production 10g database , but size is 2tb how it is possible?

It could be possible when you inserted so many rows in table and later on deleted those rows. High water mark didnt reset. If you are inserting using APPEND hint every time then also it can be possible. Deleting rows would be checked using index validate structure from index_stats (if index exists). Kindly check structure of table, does it contain any BLOB column? If table contains BLOB column then it is also possible of large size of table.

How to re-organize the schema objects which more than 200objects?

Simple technique is export/import or datapump for re-organization of schema. We can take logical backup of schema using export or datapump. After taking export, recreate schema with same privileges and roles. After recreating schema, we can import data from export or datapump utility.

If you need to consider no-downtime then we can use dbms_redefinition package for online reorganization of schema objects.

You might also like