ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 2008中国首届Oracle数据库精英工程师评选电子试题(论述题部分)

2008中国首届Oracle数据库精英工程师评选电子试题(论述题部分)

原创 Linux操作系统 作者:木头一个 时间:2008-05-15 21:48:25 0 删除 编辑

二、论述题

 

1.背景描述:客户有一个9208的数据库,没有使用归档方式,数据库的数据文件总共800G。

A.客户运行应用时,出现ORA-01578 ORACLE data block corrupted错误,数据不能正常查询。应如何处理使数据损失最小?

 

回答:

 

B.重建表以后,客户认识到归档的重要性,决定使用归档方式,用RMAN备份数据库到DISK,但当运行RMAN备份时仍然报ORA-19566: exceeded limit of 0 corrupt blocks for file file_name错误,导致RMAN备份失败,出错的数据块还是原来的块,检查发现此数据块上已无表或索引。问题出在哪?

 

回答:

 

C.处理完备份问题后,执行RMAN备份成功,备份到硬盘上的备份集大小为20G,费时20分钟。客户最近新购买了带库设备,自带速度50M/S;但向磁带备份时总共费时3小时,通过备份管理软件查询的结果是备份集大小为20G左右。为什么向磁带备份耗时较多?如何解决?

 

回答:

 

 

2.某客户使用ORACLE10.2.0.3两节点RAC,其中每节点有4块网卡,两块作clust_interconnect, 两块作PUBLIC对外服务,两个OCR裸设备,三个VOTING DISK;客户需要做如下测试,请把预期的结果填入下列表中:

测试

方法

实现手段

结果

Corruption of 1 OCR disks

Corrupt 1  copy of OCR disk, by dd command.

dd if=/dev/zero f=/dev/raw/rawx bs=1024 count=10240

 

Corruption of both OCR disks

Corrupt two copies of OCR disk, by dd command.

dd if=/dev/zero f=/dev/raw/rawx bs=1024 count=10240

 

dd if=/dev/zero f=/dev/raw/rawy bs=1024 count=10240

 

Removal of single OCR disk

Remove RAWx copy of OCR disk, LUN masking.

 

 

 

 

 

Corruption of 1 voting disk

Corrupt RAWx copy of voting disk, by DD over the header of the raw device.

dd if=/dev/zero f=/dev/raw/rawx bs=1024 count=5120

 

Corruption of all voting disks

Use dd to corrupt all 3 voting disks

dd if=/dev/zero f=/dev/raw/rawx bs=1024 count=5120

 

dd if=/dev/zero f=/dev/raw/rawy bs=1024 count=5120

 

dd if=/dev/zero f=/dev/raw/rawz bs=1024 count=5120

 

CRS Process Failure

‘kill –9

 

 

EVMD Process Failure

‘kill –9

 

 

Public NIC Failure

Assuming dual NICs in a bonding configuration

Remove one NIC

 

 

Interconnect Network Failure

Unplug all network cables for the interconnect network

 

 

Interconnect NIC Failure

Assuming dual NICs in a bonding configuration

Remove one NIC

 

 

Interconnect Switch Failure

Assuming dual switches in failover configuration

Power off one switch

 

 

Listener Failure

‘kill –9 ’

 

 

 

 

3.你做过的最经典的问题排除的例子是什么?

 

回答:

 

4.你做过的最经典的调优例子是什么?

 

回答:

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/498744/viewspace-269239/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 木头小屋装修啦
请登录后发表评论 登录
全部评论

注册时间:2008-04-14

  • 博文量
    58
  • 访问量
    101649