oracle修改process和sssion数

来源:互联网 发布:海康300万网络摄像机 编辑:程序博客网 时间:2024/06/18 18:26

Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\yangliqiang>sqlplus / as sysdba;

SQL*Plus: Release 11.2.0.1.0 Production on 星期二 1月 27 09:37:01 2015

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameter 'processes'

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     0
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     150
SQL> show parameter processes

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     0
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     150
SQL> alter system set processes=1000 scope=spfile;

系统已更改。

SQL> alter system set sessions=1105 scope=spfile;

系统已更改。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 3323752448 bytes
Fixed Size                  2180304 bytes
Variable Size            1795164976 bytes
Database Buffers         1509949440 bytes
Redo Buffers               16457728 bytes
数据库装载完毕。
数据库已经打开。
SQL>

0 0
原创粉丝点击