[Oracle] [Standby] [PDB] Modify parameters in PDB, set range to SPFILE, report ORA-65099 error

Source: Internet
Author: User
Tags sql error

[Oracle] [Standby] [PDB] Modify parameters in PDB, set range to SPFILE, report ORA-65099 error


In the data gaurd Standby (or CDB is Read only), under the PDB, the following SQL error is executed:

sql> ALTER SYSTEM SET sga_target = M SCOPE = SPFILE;
ALTER SYSTEM SET sga_target = M SCOPE = SPFILE
*
An error occurred on line 1. :
Ora-65099:can not perform operation if CDB are not open

Also, even if CDB is opened with read-only, the same error occurred and could isn't be changed.

After investigation, it was found that:

When I modify the parameters in the PDB and specify the scope= SPFILE,
It is actually written to the pdb_spfile$ table, but this internal table is in the CDB.

And CDB is Read only state, in fact, cannot write, so error. This is a normal behavior and does not count as a bug.

Of course, this indicates that the PDB's reliance on CDB is still a bit large.

[Oracle] [Standby] [PDB] Modify parameters in PDB, set range to SPFILE, report ORA-65099 error

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.