- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
4#
发表于 2012-3-11 20:57:22
Some ODM DATA:
Flashback is much faster and easier than traditional recovery
=================
Flashback impact
The environment for the OLTP < 2% overhead (actually < 1% in my tests) was a single instance 11.1.0.6 database running the Swingbench Order Entry workload with on Linux 32-bit, RHEL ( 2.6.9-42.0.3.0.1.ELhugemem) and the I/O subsystem was:
Array Serial # Disks Memory
EMC Clariion CX700 #1249 2 Trays - 15 disks per Tray - 73Gb 4Gb per SP (512Mb Read Cache / 2631Mb Write Cache)
EMC Clariion CX500 #1477 2 Trays - 15 disks per Tray - 73Gb 2Gb per SP (365Mb Read Cache / 1107Mb Write Cache)
where the cx700 was the data ASM disk group and the cx500 was the ASM flash recovery area disk group. So the FRA had 28 spindles.
Other qualitative reasons for low FB logging impact:
- Only one before-image is logged per 30 min interval, regardless of number of changes to the block
- No extra block reads are required when writing to flashback logs (note: except for direct insert loads, which is fixed in 11.1 for single instance)
- Only data file block changes are tracked, not all database files (e.g. online redo, controlfile, etc.)
- In general, no process needs to wait for flashback log I/O in a well configured OLTP system.
Use the V$FLASHBACK_DATABASE_STAT view to monitor the overhead of logging flashback data in the flashback logs. This view also contains estimated flashback space needed based on previous workloads. This view contains 24 hours of information with each row representing a one-hour time interval. The FLASHBACK_DATA and REDO_DATA columns describe bytes of flashback data and redo data written during the time interval. The DB_DATA column describes bytes of data blocks read and written. The overhead of Flashback Database logging depends on the workload.
Flashback is Easy
Single command instead of complex procedure
Less performance overhead for OLTP and batch |
|