2.2. Database architechture ‐ Datafiles locations,parameter files locations ‐‐ sp and p files, startup processes, - sayanbhattacharya1234/Oracle_DBA GitHub Wiki
1. Location of the datafiles in database architechture
Oracle Base and Oracle Home
Oracle Base - Oracle base is the path that is used to store the binary files in databse. We can have multiple Oracle base location in one server. But the standard practice of oracle is to keep one oracle.
Oracle Home - Oracle home is the location where the Oracle application is installed.[ oracle version 12c , 19c etc. ] . We can have multiple Oracle home location in one server.
2. Location of the parameter/binary files
here under this location /u01/app/oracle/product/19.0.0/dbhome_1/dbs
the sp file [ spfileprod.ora ] and p file [ initprod.ora ] are located
if we write ' show spfile ' in SQL prompt we can see that as the database has already started with spfile.
We can't create it as the database has already started with spfile.
Now shutdown the database and start databse again then, we will see status is null as the spfile. It means my database has started with pfile not spfile.
The database would need to start at least either spfile or pfile .
Create spfile from pfile; If both spfile and pfile got deleted then we can create them from the memory as they exist in the database memory when it got started.