-
-
-
-
How will you force database to use particular rollback segment ?
SET TRANSACTION USE ROLLBACK SEGMENT rbs_name.
-
-
How will you monitor the space allocation ?
By querying DBA_SEGMENT table/view.
-
How to implement the multiple control files for an existing database ?
Shutdown the databaseCopy one of the existing control file to new locationEdit Config ora file by adding new control file. nameRestart the database.
-
-
What is use of Rollback Segments In Database ?
They allow the database to maintain read consistency between multiple transactions.
-
How does Space allocation table place within a block ?
Each block contains entries as followsFixed block headerVariable block headerRow Header,row date (multiple rows may exists)PCTEREE (% of free space for row updation in future)
-
What is the functionality of SYSTEM table space ?
To manage the database level transactions such as modifications of the data dictionary table that record information about the free space usage.
-
-
What is cold backup? What are the elements of it?
Cold backup is taking backup of all physical files after normal shutdown of database. We need to take. - All Data files. - All Control files. - All on-line redo log files. - The init.ora file (Optional)
-
-
What is hot backup and how it can be taken?
Taking backup of archive log files when database is open. For this the ARCHIVELOG mode should be enabled. The following files need to be backed up. All data files. All Archive log, redo log files. All control files.
-
What are the different kind of export backups?
Full back - Complete databaseIncremental - Only affected tables from last incremental date/full backup date.Cumulative backup - Only affected table from the last cumulative date/full backup date.
-
What are the different methods of backing up oracle database ?
- Logical Backups - Cold Backups - Hot Backups (Archive log)
-
How will you create multiple rollback segments in a database ?
Create a database which implicitly creates a SYSTEM Rollback Segment in a SYSTEM tablespace. Create a Second Rollback Segment name R0 in the SYSTEM tablespace. Make new rollback segment available (After shutdown, modify init.ora file and Start database) Create other tablespaces (RBS) for rollback segments. Deactivate Rollback ...
-
How will you monitor rollback segment status ?
Querying the DBA_ROLLBACK_SEGS viewIN USE - Rollback Segment is on-line.AVAILABLE - Rollback Segment available but not on-line.OFF-LINE - Rollback Segment off-lineINVALID - Rollback Segment Dropped.NEEDS RECOVERY - Contains data but need recovery or corupted.PARTLY AVAILABLE - Contains...
-
Why query fails sometimes ?
Rollback segment dynamically extent to handle larger transactions entry loads. A single transaction may wipeout all available free space in the Rollback Segment Tablespace. This prevents other user using Rollback segments.
Oracle Memory Management Interview Questions
Ans