What is a segment in Oracle? Explain the different types?
The place where the datas are stored in the alloted tablespace are called as segments. The data may be a table or index data required by DBMS to operate.Segments are the next logical level of a storage tablespace. There are basically 5 types of segments * Data segment : Contains all the data of each table * Index segment : Contains all the index data for one or more indexes created for a table. * Rollback segment : Contains the recorded actions which should be undone under certain circumstances like * Transaction rollback * Read consistency * Temporary segment : Whenever a processing occurs Oracle often requires temporary work space for intermediate stages of statement processing. These area are known as temporary segments. * Bootstrap segment : Contains information of the data dictionary definition for the tables to be loaded whenever a databases opened.