Search notes:

Oracle: Server parameter file

The server parameter file stores the values of the init parameters in a binary format.
The server parameter file is also referred to as SPFILE.

Creating an SPFILE

create spfile                            from pfile='/u01/app/oracle/product/nn.n.n/dbhome_1/initORACLE_SID.ora';
create spfile '/u01/oracle/dbs/init.ora' from pfile='/u01/app/oracle/product/nn.n.n/dbhome_1/initORACLE_SID.ora';
create spfile                            from memory;

The scope clause in ALTER SYSTEM SET … statements

alter system set <init_param> = 'value' scope=spfile;
alter system set <init_param> = 'value' scope=memory;
alter system set <init_param> = 'value' scope=both;

Resetting an SPFILE

alter system reset scope=spfile;
A parameter with the default value cannot be reset again (ORA-32010: cannot find entry to delete in SPFILE).

Export an SPFILE

create pfile from spfile;

See also

Oracle files
v$spparameter
The -SPFILE command line option of oradim.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758198439, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/architecture/database/files/server-parameter-file/index(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78