oracle12c 队列,Oracle 11g下更改job_queue_processes的值

1.查看job_queue_processes参数

[oracle@db1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:18:34 2014

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

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameter job

NAME                                 TYPE                    VALUE

-------------------------- --------------------------------------------job_queue_processes            intege                      1000

SQL> alter system set job_queue_processes = 30;

System altered.

2.关闭数据库

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

3.用system用户登录数据库,发现登录不了

[oracle@db1 ~]$ sqlplus system/Oracle2013

SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:24:10 2014

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

ERROR:

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

Linux-x86_64 Error: 2: No such file or directory

Process ID: 0

Session ID: 0 Serial number: 0

Enter user-name:

4.启动数据库

[oracle@db1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 15:24:57 2014

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

Connected to an idle instance.

SQL> startup

ORACLE instance started.

Total System Global Area  839282688 bytes

Fixed Size                  2257880 bytes

Variable Size             545262632 bytes

Database Buffers          289406976 bytes

Redo Buffers                2355200 bytes

Database mounted.

Database opened.

5.查看日志文件存放位置

SQL> show parameter diagnostic

NAME                                 TYPE                            VALUE

------------------------------------ ----------------------  -----------------------------

diagnostic_dest                      string                          /u01/app/oracle

6.查看日志文件

[oracle@db1 ~]$ cd /u01/app/oracle/diag/rdbms/orcl1/orcl1/trace/

[oracle@db1 trace]$ tail -n 20 alert_orcl1.log

ARC1: Archival started

ARC2: Archival started

ARC3: Archival started

ARC0: STARTING ARCH PROCESSES COMPLETE

ARC0: Becoming the 'no FAL' ARCH

ARC0: Becoming the 'no SRL' ARCH

ARC1: Becoming the heartbeat ARCH

Mon Apr 28 15:25:09 2014

db_recovery_file_dest_size of 4182 MB is 1.51% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

Completed: ALTER DATABASE OPEN

Starting background process CJQ0

Mon Apr 28 15:25:10 2014

CJQ0 started with pid=25, OS id=4639

Mon Apr 28 15:35:09 2014

Starting background process SMCO

Mon Apr 28 15:35:09 2014

SMCO started with pid=26, OS id=4847

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值