how to best configure, size, and monitor fra.pdf

57
ORACLE PRODUCT LOGO Presenting with How t o Best Conf igure, Size, and Monitor th e Oracl e Database Fast Recovery Ar ea 1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.  And y Co l v in Cris Pedregal, Oracle

Upload: pham-duy-khuong

Post on 03-Jun-2018

251 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 1/57

ORACLEPRODUCTLOGO

Presenting with

How to Best Configure, Size, and Monitor theOracle Database Fast Recovery Area

1 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Andy ColvinCris Pedregal, Oracle

Page 2: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 2/57

2 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 3: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 3/57

Fast Recovery Area – Key MAA ElementRMAN + Secure Backu + Flashback + Data Guard

Integrated backup & recovery, continuous data protection, disaster recovery

PrimaryDatabase

Active StandbyDatabaseData Guard Redo Shipping

RMAN,Flashback

rac eSecure Backup

RMAN,Flashback

Fast Recovery AreaDatabase Fast Recovery AreaDatabase

apeDrive

3 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

as ac ogs Archived logs)

rea ac ups, as ac ogs Archived logs)

rea

Page 4: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 4/57

Fast Recovery Area (FRA)Stores and mana es all recover -related files

Fast

Recovery

Daily ApplyValidatedIncremental

Weekly ArchiveTo Disk / Tape

Database

Area

4 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 5: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 5/57

FRA in Enterprise Manager

5 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 6: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 6/57

Agenda

• Oracle Fast Recovery Area (FRA) overview

• How to best configure, size, and monitor the FRA

– Files to keep in FRA & relationship to Backup policy and Flashback – Configuring FRA Size and Location & EM view of the FRA

• Enkitec’s Real-World Experiences

6 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 7: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 7/57

Files Necessary for Fast Recovery

Transient Files

• Archived Redo logs

Permanent Files

• Multiplexed Control File• Backup files and autobackups

• Flashback logs (if FB enabled)

• Multiplexed Online Redo

• Guaranteed Restore Points

• Oracle knows when to delete or trim

• A e-out or backed-u to tertiar

• Complete the set for fast recovery

• Could fill u FRA so DBA must monitor

7 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 8: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 8/57

Best Practice: Generous FRA on ASM

• recovery-re a e es n as ecovery rea

• FRA on ASM with enough space and spindles

8 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 9: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 9/57

Configuring the Fast Recovery Area

• Size – backups, archived logs, redo, flashback…

• Location – fast, available disk

9 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 10: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 10/57

Two Configuration Parameters to create FRA

• s uo a: DB_RECOVERY_FILE_DEST_SIZE – Per Database; provision for all permanent and transient files

• _ _ _

– File system directory or ASM group

Set via DB Configuration Assistant, or DB initialization parameter file,or SQL (ALTER SYSTEM SET)

10 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 11: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 11/57

Fast Recovery Area in Enterprise Manager , ,

ew e

11 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 12: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 12/57

Agenda

• Oracle Fast Recovery Area (FRA) overview

• How to best configure, size, and monitor the FRA

– Given Backup & Flashback policy, count files FRA needs to keep – How to get number and size of files. Multiply and add to FRA size

• Enkitec’s Real-World Experiences

12 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 13: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 13/57

FRA Size: Summing Files in FRA by Example

• Both scenarios: 7-day recovery window

• Scenario #1: all recovery files for window are in FRA

• Flashback enabled in both scenarios

– We do not take into account disk mirroring –a good practice,

omitted for simplicity

13 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 14: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 14/57

7-Day Window, No Tape - Scripts

a y s eeps - ay-o mage copy

recover copy of database with tag DB_BACKUPun me sys a e- ;

backup incremental level 1 for recover of _

14 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 15: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 15/57

7-Day Window, No Tape – Sum up needed files

= Control File size

+ n ne e o og s ze+ size of Archived Logs (for 8 days)

+ Database size (minus temp files)+ size of Incremental Backups (for 8 days)+ Flashback Logs size (initially Redo rate X FB retention time)

• For load spikes:1.5 to 2 X space for Archive and Flashback logs

15 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 16: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 16/57

7-Day Window, with Tape - Scripts

# Daily disk (7 day window using tape)

recover copy o a a ase w ag _ ;

backup incremental level 1 for recover ofcopy w ag _ a a ase;

# Tape backup executed once every 2 days

ac up recovery area;

delete obsolete device type sbt;

16 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 17: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 17/57

7-Day Window, with Tape – File Count

= Control File size

+ n ne e o og s ze+ size of Archived Logs (for 3 days – tape every 2)

+ Database size (minus temp files)+ size of Incremental Backups (for 3 days – tape)+ Flashback Logs size (initially Redo rate X FB retention time)

• For load spikes:1.5 to 2 X space for Archive and Flashback logs

17 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 18: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 18/57

Counting Files in FRA – Notes

, – multiply space requirement as needed (full FRA, or log type)

• As of 11 g Release 2, can back up FRA to secondary disk

18 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 19: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 19/57

Counting Files in FRA – Recap , ,

• rac e mp c y e e es o so e e or r ms es n – Tertiary storage not part of FRA, hence explicit sbt delete command

• Tradeoff: use less FRA space for slower (tape) recovery – -

19 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 20: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 20/57

Configuring Flashback

• If Flashback is enabled, must specify Flashback window

– _ _ _

• To check that Flashback window is met by logs in FRA – _ _ ,

oldest_flashback_timeFROM v$flashback database lo

20 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 21: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 21/57

FRA and Flashback Queries

Location, quota, in use/reclaimable space, number of files* _ _

For each file type, percent of FRA space it uses and is

SELECT * FROM v$recovery_area_usage;

SELECT estimated_flashback_size FROMv flashback database lo

21 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

_ _

Page 22: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 22/57

FRA Size: Queries to Determine File Sizes

• ac up an as ac po c es e ne w c ow manyfiles are kept for how long in FRA – –

, – Oracle provides views, used by EM or directly via SQL -- next

22 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 23: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 23/57

FRA Size – How to Determine File Sizes

ew e

23 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 24: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 24/57

Sizes: Image Copy, Online Redo, Control File

• Size of Database Image Copy File

• Size of Online Redo Log*

• Size of Control FileSELECT block size * file size blks fsize _ _ _

FROM V$CONTROLFILE WHERE rownum = 1;

24 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 25: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 25/57

Sizes (2): Incremental Backups

• Size of Incremental Backups Generated so far

SELECT end_time, output_bytesFROM V$RMAN_BACKUP_JOB_DETAILS

WHERE input_type = 'DB INCR'ORDER BY end_time DESC;

25 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 26: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 26/57

Sizes (3): Archived Logs generated per day

SELECT TO_CHAR(first_time,'DD-MON-YYYY') "Date",

SUM(bytes)FROM (SELECT UNIQUE blocks * block_size bytes,

thread#,

sequence#,resetlogs_change#, _

FROM V$ARCHIVED_LOG$)

GROUP BY TO_CHAR(first_time, 'DD-MON-YYYY')

26 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 27: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 27/57

Sizes (4): Flashback Logs

SELECT estimated_flashback_size,

_ _

– See also the value of the current flashback lo s via:SELECT flashback_size FROM V$FLASHBACK_DATABASE_LOG;

27 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 28: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 28/57

Agenda

• Oracle Fast Recovery Area (FRA) overview

• How to best configure, size, and monitor the FRA – Additional considerations - multiple databases and Exadata – The DBA needs to remain involved

• Enkitec’s Real-World Experiences

28 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 29: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 29/57

Configuring the FRA – Multiple Databases

To share one FRA across multiple Databases• e same va ue or DB_RECOVERY_FILE_DEST on a• Use different DB_UNIQUE_NAME s (if undefined, different

_ s• Separate directories will be created for each Database

29 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 30: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 30/57

Configuring the FRA – Exadata Considerations

• FRA must be on local Storage – ASM diskgroup RECO

• ,to 20% of total disk space

• ,

• File Locations – Archived and Flashback Lo s and all Backu o in FRA – Control Files and Redo Logs in High Redundancy Disk group

More: Session 12962 Exadata Backup & Recovery

30 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 31: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 31/57

“ Bad” Practices for Fast Recovery Area“ ”

1. DO NOT use FORMAT to back up files to FRA

. _ _ _to FRA. Instead use 'USE_DB_RECOVERY_FILE_DEST' , e.g.,

– LOG_ARCHIVE_DEST_1='location=USE_DB_RECOVERY_FILE_DEST‘

. – Instead use RMAN’s DELETE command

4. DO NOT specify DB_RECOVERY_FILE_DEST_SIZE to more than theava a e s space

5. DO NOT keep Guaranteed Restore Points around forever. They take updisk space permanently

31 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 32: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 32/57

The DBA Must Remain Involved

FRA automates a lot, but the DBA is still in the loop:• p m z ng resource usage scarce y e n on• Tracking changes – in activity volume, in RTO/RPO --

an a us ng pr or z ng

… rac e ta es care o rout ne space managementORA-19809: limit exceeded for recovery files

32 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 33: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 33/57

, ,Monitor the Oracle Database Fast

Recovery Area

Presented by: Andy Colvin

October 6, 2011 ,

33

Page 34: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 34/57

Who am I?

Principal Consultant at EnkitecWorked with Oracle dating back to version 7

What is Enkitec?Oracle-centered Platinum Partner based in Irving, TXDatabase consultants averaging over 15 years Oracleexperience

34

Page 35: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 35/57

Ease of use

Allows for DBA-level space management

rov es or eas er s an ar za on o env ronmen sUniform place for all recovery-related files

" " , _ _ _ _

NAME % USED------------------------- ------/u03/fast_recovery_area 85.87

35

Page 36: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 36/57

Customer #1 – Document Processing

$350M Revenue, 8,500 employees

Customer #2 – Energy Utility

$15B Revenue, 5 million customers

36

Page 37: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 37/57

15TB database roduction environmentRepository for document management

270 GB of redo generated daily

37

Page 38: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 38/57

– 7x Growth in 3 Years

16.000

12.000

14.000

- T B

6.000

8.000

10.000

a b

a s e

S

i z e

0.000

2.000

4.000 D

a t

38

Page 39: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 39/57

– -

FRA originally sized at 2TB (based on 7 day archive log retention)Monitored database growth with OEM

Monitored redo generation through Data Guard console in OEM

Increased db_file_recovery_dest_size to match the growth of thedatabase monthly

FRA now sized at 9TB

39

Page 40: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 40/57

– -

Data Guard ConsiderationsStandby environment created identical to primary

Exadata Exadata

Same size diskgroups for +DATA and +RECO

Always remember that DR site has to be able to run as primary! s nc u es s ze – ac ups, as ac , arc ve o s, e c

40

Page 41: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 41/57

#RMAN archivelo backu command

backup archivelog all not backed up

Avoid “delete obsolete” through RMAN – Allow the FRA tomanage files itself

Example of FRA automatic file management:

deleted Oracle managed file <file_name>

41

Page 42: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 42/57

#1 – FRA file mana ementRMAN> backup archivelog all not backed up;

ski in archived lo file <archive lo > alread backed on <date> _

skipping archived log file <archive_log>; already backed on <date>

ski in archived lo file <archive lo > alread backed on <date> _

...

in ut archived lo thread=1 se uence=7 RECID=26 STAMP=762905532

input archived log thread=1 sequence=8 RECID=27 STAMP=762905541

42

Page 43: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 43/57

Development databaseCustomer billing transaction system – will service 5 millioncustomers

600GB database

Backups going to FRA and tape

Weekly data refresh

Flashback database enabled43

Page 44: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 44/57

– -

FRA sized at 150GB Sizing based on:

as ac ogsArchive log generationDatabase backups

Fre uent database flashbacks

44

Page 45: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 45/57

– -

Flashback MethodologyFlashback retention set to 1 week

refreshed weekly

Monitored the usage of the FRA through OEM reports, alerting

After process was repeated a few times, optimal FRA size wasfound based on recover file eneration

45

Page 46: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 46/57

– - Monitoring FRA Usage

* _ _ _ _ _

FILE_TYPE % USED % RECLAIM # FILES

CONTROL FILE .24 0 1

REDO LOG 3.72 0 3 ARCHIVED LOG 31.11 26.82 31

BACKUP PIECE 33.17 0 15

FLASHBACK LOG 17.6 0 42

46

Page 47: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 47/57

Customer #1 – Document Processing

Customer #2 – Energy Utility

What we learned from each

Configuring and sizing FRA was quick and easy

,rapid database growth

47

Page 48: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 48/57

Planning the size of the FRA is even more important with

Disk sizing is more difficult to perform on these systems after

physical disks , ,

utilize image copies and longer flashback/backupset retention

period

48

Page 49: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 49/57

Andy Colvin, Enkitechttp://www.enkitec.com

http://[email protected]

49

Page 50: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 50/57

Best Practice: Provision, Monitor, Repeat

• Provision per Oracle’s recommendations

• Monitor your database’s steady state – so accoun or pea oa s – Understand how FRA deletes files and handles scarce or

exhausted resources, and how a DBA can intervene

50 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 51: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 51/57

Summary: FRA for Simple Fast Recovery

• Create FRA on ASM and let it manage all recovery files –

• , ,

– Understand how FRA works and when DBA action is necessary

Use the FRA for simple & fast recovery

51 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 52: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 52/57

&A

52 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 53: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 53/57

Resources• OTN HA Portal:

http://www.oracle.com/goto/availability

• Maximum Availabilit Architecture MAA : http://www.oracle.com/goto/maa

• MAA Blogs:. .

• Exadata on OTN:http://www.oracle.com/technetwork/database/exadata/index.html

• Oracle HA Customer Success Stories on OTN:http://www.oracle.com/technetwork/database/features/ha-casestudies-098033.html

53 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 54: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 54/57

Key HA Sessions, Demos, Labs by Oracle DevelopmentMonday , 3 Oct – Moscone South * Wednesday , 5 Oct – Moscone South *11:00a Auto Detect, Prevent and Repair Data Corruptions, Rm 10212:30p Future of Oracle Exadata, Rm 10412:30p RMAN: Not Just for Backups Anymore, Rm 3042:00p Extreme Data Management, Moscone North Hall D

10:15a Oracle Active Data Guard - Lessons Learned, Rm 102

1:15p Data Guard for Planned Maintenance, Rm 102

1:15p Understanding Oracle RAC Internals, Rm 103

1:15p Clone Oracle with CloneDB and Direct NFS, Rm 270: p rac e g - va a y ys em verv ew, m5:00p GoldenGate Product Update and Strategy, Intercontinental-Sutter

Tuesday , 4 Oct – Moscone South *10:15a Oracle Secure Backup - Best practices, Rm 304

Thursday , 6 Oct – Moscone South *9:00a Exadata Backup and Recovery, Rm 304

10:30a Deduplication and Compression for Backups, Rm 304

11:45a Oracle Exadata Technical Deep Dive, Rm 104

3:30p RMAN & Data Guard: Seven Cool Tips from Oracle, Rm 3043:30p Consolidation on Oracle Exadata, Rm 103

12:00p Data uard witchover Failover, Rm

3:00p Configure, Size, Monitor Fast Recovery Area, Rm 304

3:00p PeopleSoft with Active Data Guard, Moscone West 2022

- ,Monday, Oct 3, 5:00 pm - 6:00 pm Oracle Active Data GuardTuesday, Oct 4, 10:15 am - 11:15 am Oracle Active Data Guard

Mon & Tue 9:45a - 5:30p; Wed 9:00a - 4:00pMaximum Availability Architecture (MAA) Exadata

Active Data Guard Oracle Secure Backup * All session rooms at Moscone South unless otherwise noted

54 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Real Application Clusters ASM

* After Oracle OpenWorld, ref. http://www.oracle.com/goto/availability

Page 55: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 55/57

Latin America 2011December 6–8, 2011

Tokyo 2012 April 4–6, 2012

55 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 56: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 56/57

56 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.

Page 57: How to Best Configure, Size, and Monitor FRA.pdf

8/12/2019 How to Best Configure, Size, and Monitor FRA.pdf

http://slidepdf.com/reader/full/how-to-best-configure-size-and-monitor-frapdf 57/57

57 Copyright © 2011, Oracle and/or its affiliates. All rightsreserved.