首页 > 代码库 > 【练习】修改参数

【练习】修改参数

1.用户进程数(修改process=300,重启库后查询)

SQL> alter system set processes=300 scope=spfile;

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  830930944 bytes
Fixed Size                  2257800 bytes
Variable Size             591400056 bytes
Database Buffers          230686720 bytes
Redo Buffers                6586368 bytes
Database mounted.
Database opened.
SQL> show parameter process;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     1
cell_offload_processing              boolean     TRUE
db_writer_processes                  integer     1
gcs_server_processes                 integer     0
global_txn_processes                 integer     1
job_queue_processes                  integer     1000
log_archive_max_processes            integer     4
processes                            integer     300
processor_group_name                 string

2.诊断目录位置 (diagnostic_dest)在/u01/app/oracle。

SQL> show parameter diagnostic_dest;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
diagnostic_dest                      string      /u01/app/oracle

 

【练习】修改参数