Oracle programming Art Study Notes (1)

Source: Internet
Author: User
1. sid: site identifie)
2. spfile: Server parameter file, which stores parameter files
3. query the current value of the database parameter (see the Oracle database reference manual ):
Select value from v $ parameter where name = 'pga _ aggregate_target'
Or

Show parameter pga_agg (Fuzzy Matching supported)

For example:

SQL> show parameter memory; </p> <p> name type value <br/> bytes ----------- bytes <br/> hi_shared_memory_address integer 0 <br/> memory_max_target big integer 600 M <br/> memory_target big integer 600 M <br/> shared_memory_address integer 0 <br/> SQL> show parameter sga; </p> <p> name type value <br/> certificate ----------- ------------------------------ <br/> lock_sga boolean FALSE <br/> pre_page_sga boolean FALSE <br/> sga_max_size big integer 460 M <br/> sga_target big integer 300 M <br/> SQL> show parameter pga; </p> <p> name type value <br/> ------------------------------------ <br/> pga_aggregate_target big integer 200 M <br/> SQL>

4. Modify the initial parameter file (static parameter file). manually modify the file and restart the service.
Modify the spfile parameter: alter system set pga_aggregate_target = 1g
5. default position of the pfile file:
$ Oracle_home/dbs (unix System)
% Oracle_home % \ database (windows)

6. How to check whether the SPFILE or PFILE parameter is enabled in oracle?
The Startup command of Oracle is opened with spfile by default.

SVRMGR> show parameter pfile;
NAME TYPE VALUE
------------------------------------------------------------------------
Spfile string % ORACLE_HOME % \ DATABASE \ SPFILE %

It is started with 'spfile '.

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.