---
title: "Database Configuration and I/O Issues(3)"
author: "coolsooner"
date: "2012-01-19T19:25:00Z"
tags: []
slug: "database-configuration-and-i-o-issues-3"
draft: false
lastmod: "2012-01-20T08:32:01Z"
id: 1362322
url: "https://coolsooner.iteye.com/blog/1362322"
---

Regulating Checkpoint Queue  
调整checkpoint队列

有如下参数  
FAST\_START\_TO\_TARGET  
LOG\_CHECKPOINT\_INTERVAL 过时  
LOG\_CHECKPOINT\_TIMEOUT 过时  
FAST\_START\_MTTR\_TARGET

实例恢复速度与日常运行效率的权衡。  
实际情况是掉电情况比较少，所以多点增量checkpoint比

较好，即平时写比较多的日志，才写磁盘。所以要调整脏

数据队列的长度。  
FAST\_START\_MTTR\_TARGET=600，则600秒就大概能实例恢复

。

Redo Groups and Members  
同一组中的几个redo log file应该放在不同的磁盘上。  
设足够的组以防止归档等待。  
v$logfile  
v$log  
v$log\_history

Archiving Performance  
1.Allow the LGWR process to write to a disk

different from the one the ARCn process is reading.  
2.Share the archiving work during a temporary

increase in workload:  
alter system archive log all to

&lt;log\_archive\_dest&gt;  
3.Increse the number of archive processes.  
4.Change archiving speed:参数  
LOG\_ARCHIVE\_MAX\_PROCESSES  
LOG\_ARCHIVE\_DEST\_n  
动态性能视图以助诊断：  
v$archive\_dest  
v$archived\_log  
v$archive\_processes  
LOG\_ARCHIVE\_DEST\_STATE\_n