OCP-1Z0-052-V8.02-7题

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

7. You have issued a SHUTDOWN ABORT command to bring down your database instance. Consider

the steps that will be performed later when you open the database:

1: SGA is allocated.

2: Control file is read.

3: Redo log files are read.

4: Instance recovery is started.

5: Background processes are started.

6: Data files are checked for consistency.

7: Server parameter file or the initialization parameter file is read.

Which option has the correct order in which these steps occur?

A.7, 1, 5, 2, 3, 6, 4

B.1, 2, 3,7, 5, 6, 4

C.7, 1, 4, 5, 2, 3, 6

D.1, 7, 5, 4, 2, 3, 6

Answer: A
 
答案解析:
 
shutdown abort后,再startup,需要用到smon进行实例恢复。
在nomount阶段,读取初始化参数,分配SGA,后台进程启动
在mount阶段,读取控制文件和联机日志文件,查看需要打开哪些数据文件
在open阶段,根据控制文件内容找到数据文件,并打开,因为是abort关闭的数据库,则在open时需要检查数据库,数据库文件以及数据文件头部的scn号是否一致,如果不一致,SMON进程进行实例恢复。
 
来模拟,并查看alert告警日志
sys@TEST0924> shutdown abort;
ORACLE instance shut down.
sys@TEST0924> startup
ORACLE instance started.
Total System Global Area 2505338880 bytes
Fixed Size 2230952 bytes
Variable Size 620758360 bytes
Database Buffers 1862270976 bytes
Redo Buffers 20078592 bytes
Database mounted.
Database opened.
 
告警日志内容如下:
Thu Oct 03 10:22:13 2013
Shutting down instance (abort)
License high water mark = 17
USER (ospid: 10782): terminating the instance
Instance terminated by USER, pid = 10782
Thu Oct 03 10:22:14 2013
Instance shutdown complete
 
shutdown abort
 
Thu Oct 03 10:22:24 2013
Adjusting the default value of parameter parallel_max_servers
from 320 to 135 due to the value of parameter processes (150)
Starting ORACLE instance (normal)
****************** Large Pages Information *****************
Total Shared Global Region in Large Pages = 0 KB (0%)
Large Pages used by this instance: 0 (0 KB)
Large Pages unused system wide = 0 (0 KB) (alloc incr 16 MB)
Large Pages configured system wide = 0 (0 KB)
Large Page size = 2048 KB
RECOMMENDATION:
Total Shared Global Region size is 2402 MB. For optimal performance,
prior to the next instance restart increase the number
of unused Large Pages by atleast 1201 2048 KB Large Pages (2402 MB)
system wide to get 100% of the Shared
Global Region allocated with Large pages
***********************************************************
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =27
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1
System name: Linux
Node name: rtest.localdomain
Release: 2.6.18-308.el5
Version: #1 SMP Fri Jan 27 17:17:51 EST 2012
Machine: x86_64
VM name: VMWare Version: 6
Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletest0924.ora
System parameters with non-default values:
processes = 150
shared_pool_size = 496M
sga_target = 2400M
control_files = "/u01/app/oracle/oradata/test0924/control01.ctl"
control_files = "/u01/app/oracle/fast_recovery_area/test0924/control02.ctl"
db_block_size = 8192
db_keep_cache_size = 48M
compatible = "11.2.0.0.0"
db_recovery_file_dest = "/u01/app/oracle/fast_recovery_area"
db_recovery_file_dest_size= 4122M
undo_tablespace = "UNDOTBS2"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=test0924XDB)"
audit_file_dest = "/u01/app/oracle/admin/test0924/adump"
audit_trail = "DB"
db_name = "test0924"
open_cursors = 300
pga_aggregate_target = 798M
sec_max_failed_login_attempts= 2
diagnostic_dest = "/u01/app/oracle"
 
读取初始化参数
 
Thu Oct 03 10:22:24 2013
PMON started with pid=2, OS id=10920
Thu Oct 03 10:22:24 2013
PSP0 started with pid=3, OS id=10922
Thu Oct 03 10:22:25 2013
VKTM started with pid=4, OS id=10924 at elevated priority
VKTM running at (1)millisec precision with DBRM quantum (100)ms
Thu Oct 03 10:22:25 2013
GEN0 started with pid=5, OS id=10928
Thu Oct 03 10:22:25 2013
DIAG started with pid=6, OS id=10930
Thu Oct 03 10:22:25 2013
DBRM started with pid=7, OS id=10932
Thu Oct 03 10:22:25 2013
DIA0 started with pid=8, OS id=10934
Thu Oct 03 10:22:25 2013
MMAN started with pid=9, OS id=10936
Thu Oct 03 10:22:26 2013
DBW0 started with pid=10, OS id=10938
Thu Oct 03 10:22:26 2013
LGWR started with pid=11, OS id=10940
Thu Oct 03 10:22:26 2013
CKPT started with pid=12, OS id=10942
Thu Oct 03 10:22:26 2013
SMON started with pid=13, OS id=10944
Thu Oct 03 10:22:26 2013
RECO started with pid=14, OS id=10946
Thu Oct 03 10:22:26 2013
MMON started with pid=15, OS id=10948
Thu Oct 03 10:22:26 2013
MMNL started with pid=16, OS id=10950
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = /u01/app/oracle
 
后台进程
 
Thu Oct 03 10:22:26 2013
ALTER DATABASE MOUNT
Successful mount of redo thread 1, with mount id 2721742178
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Oct 03 10:22:30 2013
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
read 244 KB redo, 79 data blocks need recovery
Started redo application at
Thread 1: logseq 62, block 2039
Recovery of Online Redo Log: Thread 1 Group 2 Seq 62 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/test0924/redo02.log
Completed redo application of 0.07MB
Completed crash recovery at
Thread 1: logseq 62, block 2527, scn 2111766
79 data blocks read, 79 data blocks written, 244 redo k-bytes read
LGWR: STARTING ARCH PROCESSES
Thu Oct 03 10:22:32 2013
ARC0 started with pid=27, OS id=10980
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Thu Oct 03 10:22:33 2013
ARC1 started with pid=28, OS id=10982
Thu Oct 03 10:22:33 2013
ARC2 started with pid=29, OS id=10984
Thu Oct 03 10:22:33 2013
ARC3 started with pid=30, OS id=10986
ARC1: Archival started
ARC2: Archival started
ARC2: Becoming the 'no FAL' ARCH
ARC2: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Thread 1 advanced to log sequence 63 (thread open)
Thread 1 opened at log sequence 63
Current log# 3 seq# 63 mem# 0: /u01/app/oracle/oradata/test0924/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
[10963] Successfully onlined Undo Tablespace 5.
Undo initialization finished serial:0 start:691237074 end:691237134 diff:60 (0 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
ARC3: Archival started
ARC0: STARTING ARCH PROCESSES COMPLETE
Database Characterset is AL32UTF8
Archived Log entry 55 added for thread 1 sequence 62 ID 0xa22d4156 dest 1:
No Resource Manager plan active
Starting background process FBDA
Thu Oct 03 10:22:34 2013
FBDA started with pid=31, OS id=10992
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Thu Oct 03 10:22:34 2013
QMNC started with pid=32, OS id=10994
Completed: ALTER DATABASE OPEN
Thu Oct 03 10:22:34 2013
db_recovery_file_dest_size of 4122 MB is 53.03% 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.
Thu Oct 03 10:22:34 2013
Starting background process CJQ0
Thu Oct 03 10:22:34 2013
CJQ0 started with pid=34, OS id=11008
oracle11g 连接问 一、The Network Adapter could not establish the connection   状态: 失败 -测试失败: IO 错误: The Network Adapter could not establish the connection    解决: (①、检查防火墙,可能是端口号1521防火墙拦截,把1521加入可允许访问即可。) 这个异常的出现一般... 阅读详情

相关推荐

oracle 清库drop,学习笔记:如何手动删除Oracle数据库实例 分析日志了解drop datab

天萃荷净深入了解删除Oracle数据库实例drop database的详细过程与内部原理一、通过Oracle sql操作删除Oracle实例[oracle@node1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 15 15:00:15 2011Copyright (c) 1982, 2011, ...

weixin_30298279的博客 751

数据库出现hang住,我们看到process已经超了

进行hanganalyze文件问收集,怀疑是并行出现了问 这里的通过sql_id看不到全部的sql_text,也是个问,这个先解决首要问,所以先忽略 The SQL Text Stored for a Create Table As Select (CTAS) Statement is Truncated to 20 Characters in View DBA_H...

478

oracle adjusting parallel,Adjusting the default value of parameter parallel_max_servers

Mon Jan 21 13:36:20 2019Adjusting the default value of parameter parallel_max_serversfrom 160 to 135 due to the value of parameter processes (150)Mon Jan 21 13:36:20 2019Starting ORACLE instance (no...

weixin_42300302的博客 867

OCP-1Z0-052-V8 02-7

OCP-1Z0-052-V8 02-7

sdfsdkk的博客 244

OCP-1Z0-052-V8.02-82

82. You are managing an Oracle Database 11g database with the following backup strategy: 1) On Sunday, an incremental level 0 tape backup is performed. 2) Monday through Saturday, a cumulative i

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-129

129. A database user SMITH tries to query the V$SESSION view and fails to access it as follows: SQL> connect smith/smith Connected. SQL> SELECT * FROM v$session; SELECT * FROM v$session * ERRO

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-81

81. You are managing an Oracle Database 11g database with this backup strategy: - Every Sunday night, level 0 backup is performed. - On Monday night and subsequent days, level 1 incremental back

一抹曦阳-Oracle 6182

OCP-1Z0-052-V8.02-162

162. You created a profile APP_USER and assigned it to the users. After a month, you decide to drop the profile. Some user sessions are currently connected to the database instance and are using th

一抹曦阳-Oracle 8779

OCP-1Z0-052-V8.02-149

149. You executed the following command to create a tablespace called SALES_DATA: SQL> CREATE TABLESPACE sales_data DATAFILE SIZE 100M SEGMENT SPACE MANAGEMENT AUTO; Which two statements are true a

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-17

17. Note the functionalities of various background processes: 1: Perform recovery at instance startup. SMON 2: Free the resources used by a user process when it fails. PMON 3: Cleanup the databas

一抹曦阳-Oracle 9452

OCP-1Z0-052-V8.02-13

13. You have executed this command to change the size of the database buffer cache: SQL> ALTER SYSTEM SET DB_CACHE_SIZE=2516582; System altered. To verify the change in size, you executed this

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-14

14. These are points that describe the contents of different memory components: 1: Descriptive information or metadata about schema objects that are queried by using SQL statements 2: The run-time a

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-63

63. Examine the values for the following initialization parameters: FAST_START_MTTR_TARGET = 0 LOG_CHECKPOINT_INTERVAL = 0 Which two will be the implications of these values in your database? (Choo

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-183

183. The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on the procedure to many database users:  CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dna

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-139

139. Which two statements are true regarding a tablespace? (Choose two.) A.It can span multiple databases.  B.It can consist of multiple data files. C.It can contain blocks of different sizes. D.I

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-6

6. Note the following points describing various utilities in Oracle Database 11g: 1: It enables the high-speed transfer of data from one database to another. 2: It provides a complete solution f

一抹曦阳-Oracle 1万+

OCP 1Z0 052 V8 02 63

OCP 1Z0 052 V8 02 63

sdfsdkk的博客 285

OCP-1Z0-052-V8.02-53

53. You set the following parameters in the parameter file and restarted the database: MEMORY_MAX_TARGET=0 MEMORY_TARGET=500M PGA_AGGREGATE_TARGET=90M SGA_TARGET=270M Which two statements a

一抹曦阳-Oracle 1万+
上一篇: Oracle DB关闭
下一篇: Oracle DB_约束
Riveore
博客等级 码龄19年 1801粉丝 1432原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值