Upload presentasi
Presentasi sedang didownload. Silahkan tunggu
1
Pertemuan XII Backup & Recovery
2
Apakah Backup dan Recovery
Secara umum, backup dan Recovery mengacu pada berbagai strategi dan prosedur yang terlibat dalam melindungi database Anda terhadap kehilangan data dan merekonstruksi database setelah setiap jenis kehilangan data
3
O.S. File System + SQL Statement
Backup Types Logical Export Utility Cold Hot Physical With RMan Without O.S. File System + SQL Statement
4
Issues Melindungi database dari berbagai jenis kegagalan
Meningkatkan Mean-Waktu-Antara-Kegagalan (MTBF) Penurunan rata-Time-To-Recover (MTTR) Minimalkan kehilangan data
5
Physical Backup Methods
No archive mode Archive mode Physical backup
6
Fisik Database Backup Tertutup
SHUTDOWN IMMEDIATE; Fisik Database Backup Tertutup Data files Control files Redo log files Parameter files Password file HOST cp <files> /backup/ Online or offline storage STARTUP OPEN;
7
Keuntungan Fisik Ditutup Backup Database
konseptual sederhana Mudah untuk melakukan Membutuhkan interaksi Operator sedikit
8
Fisik Database Backup Dibuka (1)
Online redo log files Control files Archived redo log files Online or offline storage Parameter files Pwd file HOST cp <files> /backup/
9
Fisik Database Backup Dibuka (2)
All tablespace data files Individual data file SQL> alter tablespace <name> begin backup; Online or offline storage HOST cp <files> /backup/ Data files SQL> alter tablespace <name> end backup;
10
Keuntungan Fisik Dibuka Backup Database
Menjaga ketersediaan database tinggi Dapat dilakukan pada tingkat file tablespace atau data Mendukung operasi bisnis tanpa henti
11
ARC0 1 2 3 4 5 6 7 8 Archived log file Redo log files Data files
9 9 1 2 ARC0 8 3 4 Redo log files 5 6 Data files 7 8 Control file Data files 5 Control file
12
1 2 3 4 4a 4b 5 6 7 8 Shutdown Startup Mount
O.S. Restore From Hot or Cold Physical BackUp DataFile (s) 3 Redo log files Control file 9 Data files 8 5 Recover DataFile (s) Automatic 4 9 Applyed Archived Logs #5 #6 #7 4a Applyed On Line Logs #8 #9 4b Alter DataBase Open 5 Shutdown Immediate 6 New Cold Physical BackUp 7 Startup Open 8
13
S.C.N. System Change Number
Data files Header Control file RedoRecord Incremental Time Stamp 1 Unique Identified “Committed Version D.B.” 2 Log file # Low SCN # Log file Higth SCN #
14
Oracle Export and Import Utilities
Metode Logical Backup Oracle Export and Import Utilities Sebuah dialog interaktif Halaman ekspor Data Manager dalam Enterprise Manager The command line interface, dengan parameter menentukan
15
These utilities enable you to do the following:
Archive historical data Save table definitions (with or without data) to protect from user error failure Move data between machines and databases or versions of the Oracle server Transport tablespaces between databases
16
Formato Binario Proprietario Data Base File *.dmp Exp Data Base Imp
17
SQL command processing
Export Concepts Oracle Server Generate SQL commands Two-Task common (TTC) SQL command processing Buffer cache manager Analyze blocks Read blocks TTC buffer Evaluating buffer Dump file Buffer cache Full 1 Owner 2 Tables 3 Oracle9i Server IncType Complete 1a IncType Cumulative 1b IncType Incremental 1c
18
KEYWORD DESCRIPTION (DEFAULT)
USERID username/password BUFFER size of data buffer FILE output files (EXPDAT.DMP) LOG log file of screen output PARFILE parameter filename FILESIZE maximum size of each dump file COMPRESS import into one extent (Y) CONSISTENT cross-table consistency (N) GRANTS export grants (Y) INDEXES export indexes (Y) ROWS export data rows (Y) CONSTRAINTS export constraints (Y) TRIGGERS export triggers (Y) FULL export entire DataBase (N) OWNER list of owner usernames TABLES list of table names INCTYPE incremental export type DIRECT direct path (N) STATISTICS analyze objects (ESTIMATE)
19
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa IncType Complete IncType Incremental -----> Exp IncType Generic IncType Cumulative > Exp IncType Cumulative or Complete
20
Oracle Siaga Implementasi
Kegagalan Solusi Disaster Recovery Solution (jika jauh) Kemudahan implementasi Minimum dampak pada Sistem Produksi Read Only database siaga
21
Overview of Managed Oracle Standby DB
Primary control file Primary DB Primary Instance Redo log Standby Instance Recovery proc Standby control file RFS Arc log T.N.S. Standby DB DBWR Arc log ARCH Recovery Mode 1 Activate 3 ReadOnly Mode 2
Presentasi serupa
© 2024 SlidePlayer.info Inc.
All rights reserved.