时间:2021-07-01 10:21:17 帮助过:5人阅读
[dayu1:oracle]:/oracle/app/oracle/diag/rdbms/cluacdb/CLUACDB1/trace>sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Sun Oct 21 01:09:40 2018
Copyright (c) 1982, 2017, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
CDB$ROOT@CLUACDB> show parameter pga
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
pga_aggregate_limit big integer 9288M
pga_aggregate_target big integer 2G
CDB$ROOT@CLUACDB> show parameter container
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
containers_parallel_degree integer 65535
CDB$ROOT@CLUACDB> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 BMMSPDB READ WRITE NO
CDB$ROOT@CLUACDB> alter session set container=BMMSPDB;
Session altered.
CDB$ROOT@CLUACDB> show parameter pga;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
pga_aggregate_limit big integer 2G
pga_aggregate_target big integer 1G
CDB$ROOT@CLUACDB> select ISSYS_MODIFIABLE from v$parameter where name=‘pga_aggregate_limit‘;
ISSYS_MODIFIABLE
------------------
IMMEDIATE
CDB$ROOT@CLUACDB> select ISSYS_MODIFIABLE from v$parameter where name=‘pga_aggregate_target‘;
ISSYS_MODIFIABLE
------------------
IMMEDIATE
alter session set container=BMMSPDB;
alter system set pga_aggregate_limit=0 scope=both;
alter system set pga_aggregate_limit=5000M scope=both;
Oracle 12C中pga_aggregate_limit参数的修改
标签:integer ora imm bsp lte sele media write cti