- Cancel spfile parameter settings
- Alter system reset parameter <scope = memory | spfile | both> SID = 'sid | *'
- Or alter system set parameter = value to the original value
- Create pfile using spfile
- Spfile is a binary file, pfile is a text file, you can execute create pfile... From spfile command, and edit pfile to modify the required settings to start the database.
- Maintain the modification history and record the changes in the annotations. spfile does not support annotations.
- Modify the corrupted spfile
- UNIX: Use the strings command: strings spfile... Ora
- In Windows, open the file with a WordPad and put the file content in init <oracle_sid>. ora to create the startup instance pfile.
- If spfile is lost, the parameter file information can be restored from the warning log. Warning logs contain a lot of content.
- You are not authorized to access v $ parameter.
- You must grant the create session permission to the user.
- Related PL/SQLCode
Declare
Rochelle dummy number;
Rochelle string varchar2 (255 );
Begin
Rochelle dummy: =Dbms_utility.get_parameter_value('Background _ dump_dest ', l_dummy, l_string );
Dbms_output.put_line(L_string );
End;