Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Oracle Segment_drop_corrupt

Oracle Database Tips by Donald Burleson

Advanced Oracle Utilities: The Definitive Reference by Rampant TechPress is written by top Oracle database experts (Bert Scalzo, Donald Burleson, and Steve Callan).  The following is an excerpt from the book.

Segment_drop_corrupt is a procedure that simply drops a segment marked as corrupt without reclaiming the space. For this to work, the segment should have first been marked as temporary by issuing a DROP command on it.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

HEADER_RELATIVE_FILE

POSITIVE

IN

 

HEADER_BLOCK

POSITIVE

IN

 

Table 6.107:  Segment_drop_corrupt Parameters

Segment_dump is a procedure that dumps the segment heard and bitmap blocks to user_dump_dest. The dump_option parameter may be either segment_dump_extent_map or segment_dump_bitmap_summary.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

HEADER_RELATIVE_FILE

POSITIVE

IN

 

HEADER_BLOCK

POSITIVE

IN

 

DUMP_OPTION

POSITIVE

IN

SEGMENT_DUMP_EXTENT_MAP

Table 6.108:  Segment_dump Parameters

Segment_verify verifies the consistency of the segment extent map against the tablespace bitmaps. The verify_option parameter may be either segment_verify_extents or segment_verify_extents_global. The output dump file is named sid_ora_process_ID.trc and in user_dump_dest.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

HEADER_RELATIVE_FILE

POSITIVE

IN

 

HEADER_BLOCK

POSITIVE

IN

 

VERIFY_OPTION

POSITIVE

IN

SEGMENT_VERIFY_EXTENTS

Table 6.109:  Segment_verify Parameters

Tablespace_fix_bitmaps is a procedure that marks the extent as either free or used in the tablespace bitmap.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

DBARRANGE_RELATIVE_FILE

POSITIVE

IN

 

DBARRANGE_BEGIN_BLOCK

POSITIVE

IN

 

DBARRANGE_END_BLOCK

POSITIVE

IN

 

FIX_OPTION

POSITIVE

IN

 

Table 6.110:  Tablespace_fix_bitmaps Parameters

Tablespace_fix_segment_states is a procedure that remedies the transient state of the segments in a tablespace in which a migration was aborted.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

Table 6.111:  Tablespace_fix_segment_states Parameter

Tablespace_migrate_from_local is a procedure to migrate a tablespace from locally-managed to dictionary-managed.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

Table 6.112:  Tablespace_migrate_from_local Parameter

Tablespace_migrate_to_local is a procedure to migrate a tablespace from dictionary-managed to locally-managed, which means user managed and not automatic segment space management. The relative file number parameter is used to place the bitmaps into a specified data file.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

UNIT_SIZE

POSITIVE

IN

NULL

RFNO

POSITIVE

IN

NULL

Table 6.113:  Tablespace_migrate_to_local Parameters

Tablespace_rebuild_bitmaps is a procedure that simply rebuilds the tablespace bitmaps. The relative file number parameter is used to place the bitmaps into a specified data file and the bitmap block to specify the block.

  

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

BITMAP_RELATIVE_FILE

POSITIVE

IN

NULL

BITMAP_BLOCK

POSITIVE

IN

NULL

Table 6.114:  Tablespace_rebuild_bitmaps Parameters

Tablespace_rebuild_quotas is a procedure that simply rebuilds the tablespace quotas.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

Table 6.115:  Tablespace_rebuild_quotas Parameter

Tablespace_relocate_bitmaps is a procedure that relocates the tablespace bitmaps to the specified destination.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

FILNO

POSITIVE

IN

NULL

BLKNO

POSITIVE

IN

NULL

Table 6.115:  Tablespace_relocate_bitmaps Parameters

Tablespace_verify is a procedure that verifies that the bitmaps and extent maps for all the segments in the tablespace are correct.

 

Argument

Type

In / Out

Default Value

TABLESPACE_NAME

VARCHAR2

IN

 

VERIFY_OPTION

POSITIVE

IN

TABLESPACE_VERIFY_BITMAP

Table 6.116:  Tablespace_verify Parameters


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.