Oracle parameter file (2)

Source: Internet
Author: User
    1. Cancel spfile parameter settings
      1. Alter system reset parameter <scope = memory | spfile | both> SID = 'sid | *'
      2. Or alter system set parameter = value to the original value
    2. Create pfile using spfile
      1. 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.
      2. Maintain the modification history and record the changes in the annotations. spfile does not support annotations.
    3. Modify the corrupted spfile
      1. UNIX: Use the strings command: strings spfile... Ora
      2. In Windows, open the file with a WordPad and put the file content in init <oracle_sid>. ora to create the startup instance pfile.
      3. If spfile is lost, the parameter file information can be restored from the warning log. Warning logs contain a lot of content.
    4. You are not authorized to access v $ parameter.
      1. You must grant the create session permission to the user.
      2. 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;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.