|
原帖由 vecentli 于 2008-12-25 13:58 发表 ![]()
我上面说明是把redo放到fs上,fs是有cache的,这样在主机crash的时候就会丢失数据,导致redo损坏。
这个cache是指fs的cache,不是storage的cache。
oracle default是bytpass fs cache的。
http://download.oracle.com/docs/ ... p_unix.htm#CEGEFGCF
On both UNIX and Windows platforms, bypassing the file system buffer cache ensures data is written to disk.
On UNIX, Oracle uses the O_SYNC flag to bypass the file system buffer cache. The flag name depends on the UNIX port.
On Windows, Oracle bypasses the file system buffer cache completely. |
|