Oracle Databaseの既存バージョンの10gや11gOracle Zero Data Loss Recovery Applianceの登場で、ますます重要な機能となってきたOracle Recovery Managerについて、OTN人気連載シリーズ「しばちょう先生の試して納得!DBAへの道」の執筆者が語ります。RMANバックアップの運用例から、高速増分バックアップの内部動作とチューニング方法まで、出し惜しみなく解説します。
Oracle Databaseの既存バージョンの10gや11gOracle Zero Data Loss Recovery Applianceの登場で、ますます重要な機能となってきたOracle Recovery Managerについて、OTN人気連載シリーズ「しばちょう先生の試して納得!DBAへの道」の執筆者が語ります。RMANバックアップの運用例から、高速増分バックアップの内部動作とチューニング方法まで、出し惜しみなく解説します。
Zero Data Loss Recovery Applianceによるデータベース保護のアーキテクチャオラクルエンジニア通信
データ量の増大、業務の24時間化に伴い、従来のバックアップ・ソリューションではデータ保護のニーズをすべて満たせなくなってきています。これを解消すべくOracle Databaseの保護に特化して設計されたエンジニアド・システム、Zero Data Loss Recovery Applianceが登場しました。これからの時代のデータ保護テクノロジーに関して、アーキテクチャを中心に紹介します。
Zero Data Loss Recovery Applianceによるデータベース保護のアーキテクチャオラクルエンジニア通信
データ量の増大、業務の24時間化に伴い、従来のバックアップ・ソリューションではデータ保護のニーズをすべて満たせなくなってきています。これを解消すべくOracle Databaseの保護に特化して設計されたエンジニアド・システム、Zero Data Loss Recovery Applianceが登場しました。これからの時代のデータ保護テクノロジーに関して、アーキテクチャを中心に紹介します。
This document provides an overview of infrastructure automation tools like Chef, Puppet, Ansible, Serverspec, Infrataster and the Infrataster OracleDB plugin. It includes steps to setup the Oracle Instant Client, install necessary Ruby gems, write an Infrataster spec test to query the Oracle database and assert that the db_block_size parameter equals 8192, and execute the spec test with RSpec.
1) The document discusses Oracle database auditing features before and after version 12.1. It describes migrating the audit trail to the unified audit trail and using the SYS.UNIFIED_AUDIT_TRAIL table.
2) It provides steps to configure syslog auditing on Linux for Oracle database audit records. Procedures are created to output messages to syslog and call it from a fine-grained auditing policy handler.
3) An example fine-grained auditing policy is created to audit access to the SECDEMO.CUSTOMER table and call the syslog handler for non-application users.
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
We asked LinkedIn members worldwide about their levels of interest in the latest wave of technology: whether they’re using wearables, and whether they intend to buy self-driving cars and VR headsets as they become available. We asked them too about their attitudes to technology and to the growing role of Artificial Intelligence (AI) in the devices that they use. The answers were fascinating – and in many cases, surprising.
This SlideShare explores the full results of this study, including detailed market-by-market breakdowns of intention levels for each technology – and how attitudes change with age, location and seniority level. If you’re marketing a tech brand – or planning to use VR and wearables to reach a professional audience – then these are insights you won’t want to miss.
26. 制御ファイル mount
復元先の制御ファイル作成(例)
CREATE CONTROLFILE REUSE DATABASE “BALLOON” RESETLOGS
ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ‘/u01/app/oracle/oradata/balloons/redo01.log
GROUP 2 ‘/u01/app/oracle/oradata/balloons/redo02.log
GROUP 3 ‘/u01/app/oracle/oradata/balloons/redo03.log
DATAFILE
‘/u01/app/oracle/oradata/balloons/system01.dbf’
‘/u01/app/oracle/oradata/balloons/sysaux01.dbf’
‘/u01/app/oracle/oradata/balloons/undotbs01.dbf’
‘/u01/app/oracle/oradata/balloons/users01.dbf’
・・・
27. リカバリの実施 mount
いよいよリカバリの実施です。
まずは、必要なデータファイルが認識できているか見てみましょう
。
SQL> SELECT NAME FROM v$datafile;
NAME
===============================
‘/u01/app/oracle/oradata/balloons/system01.dbf’
‘/u01/app/oracle/oradata/balloons/sysaux01.dbf’
‘/u01/app/oracle/oradata/balloons/undotbs01.dbf’
‘/u01/app/oracle/oradata/balloons/users01.dbf’
・・・
32. 制御ファイル mount
制御ファイルも RMAN でバックアップしたものをリストアすること
で作成ができます。
ここでは、新しく作成するデータベースのことは考えずにリストア
します。
RMAN> RUN{
2> RESTORE CONTROLFILE FROM AUTOBACKUP;
3> ALTER DATABASE MOUNT;
4> }
33. リカバリの実施 mount
リカバリを実施しますが、複製 DB のデータファイル/ REDO ログ
が元の DB と異なる場合は、 SET NEWNAME 句で変更してから行
います。
RUN{
SET NEWNAME FOR DATAFILE 1 TO ‘ 新しいパス’
SET NEWNAME FOR DATAFILE 2 TO ‘ 新しいパス’
・・ ( 略 )
SQL ALTER DATABASE RENAME FILE ‘ 新しい REDO ログ’
SET UNTIL TIME 2015/10/16 22:00:00
RESTORE DATABASE;
SWITCH DATAFILE ALL;
RECOVER DATABASE;
}
リストア先の
切り替え
制御ファイルへの
反映
37. インカネーションの指定
RMAN> LIST INCARNATION OF DATABASE BALLOON
List of Database Incarnations DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ------------- ------- ---------- ----------
1 2 TRGT 1334358386 PARENT 154381 OCT 30 2007 16:02:12
1 116 TRGT 1334358386 CURRENT 154877 OCT 30 2007 16:37:39
インカネーションを確認します。
RMAN> RESET DATABASE TO INCARNATION 2;
それからインカネーションを指定します。
このあと、リストア作業に入っていきます。