DBA Tips Archive for Oracle

  


What is the purpose of the sgadef.dbf file?

by Jeff Hunter, Sr. Database Administrator

The sgadef.dbf file can be found in the ${ORACLE_HOME}/dbs directory. It is important to remember that you CANNOT remove this file. It tells the oracle shadow process the address of the SGA when the process first connects to the database. If the process cannot find this file, it assumes the database is down.

Problems can arise when the reverse is true. (ie. the database is down but the sgadef file exists) This can happen when the system crashes. In this case, the memory segment addressed in the file doesn't exist which results in an error. (try ipcs -m to convince yourself)


Copyright (c) 1998-2017 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Saturday, 03-Jul-1999 00:00:00 EDT
Page Count: 10164