There is a new feature in ORACLE 11G that does not allocate segment when the table has no data to save space.
Workaround:
1) Insert a row, and then rollback will produce segment.
The method is to insert data into the empty table and then delete it, resulting in segment. When exporting, you can export empty tables.
2) Set Deferred_segment_creation parameters
Sql>show parameter deferred_segment_creation NAME TYPE VA LUE ------------------------------------------------ -----------------------------deferred_segment_creation boolean TRUE Sql> alter system set Deferred_segment_creation=FALSE; the system has changed. Sql> show parameter deferred_segment_creation NAME TYPE VALUE ----------------------------------------- ------------------------------------Deferred_segment_creation boolean FALSE
It is important to note that this value is set to no effect on previously imported empty tables, and still cannot be exported, but can only work on the new tables that are created later. You can only use the first method if you want to export an empty table before.
3) batch processing of empty tables
First, use the following SQL statement to query all empty tables under the current user
where num_rows=0;
Then use the SQL statement to execute the query
"| | table_name| | ' allocate extent; where num_rows=0
Assuming we have a blank table tbl_1,tbl_2,tbl_3,tbl_4 here, the query results are as follows:
Table Tbl_1 allocate extent; Table tbl_2 allocate extent; Table Tbl_3 allocate extent; Table Tbl_4 allocate extent;
Finally, we will execute the above SQL statement.
Oracle 11g Missing table issues when backing up export