Oracle Databaseの既存バージョンの10gや11gOracle Zero Data Loss Recovery Applianceの登場で、ますます重要な機能となってきたOracle Recovery Managerについて、OTN人気連載シリーズ「しばちょう先生の試して納得!DBAへの道」の執筆者が語ります。RMANバックアップの運用例から、高速増分バックアップの内部動作とチューニング方法まで、出し惜しみなく解説します。
Profit and loss is a website for online accounting, which enables individuals and entrepreneurs, who required a simple system that help them in calculating their earning during a particular time period. It allows the user to maintain accounts and see the result with having trouble of accounting definitions and confusions. The system only need to enter the transactions in a simple way and rest of the things will be done by the System itself. By this system the individuals and entrepreneurs can maintain the accounts and access them from anywhere in the world with using an internet connection and a PC.
OTHER INFORMATION
Programming language
ASP .net 2005(Frontend)
Microsoft SQL server 2005(backend)
Software requirements:
Web browsers any
Optimum System requirement
Processor: any
RAM: any
Hard disk: any
Internet: connection with good speed can work
Operating system: any
Additional software: .web browser
Monitor resolution: 1024X768(min)
Oracle Databaseの既存バージョンの10gや11gOracle Zero Data Loss Recovery Applianceの登場で、ますます重要な機能となってきたOracle Recovery Managerについて、OTN人気連載シリーズ「しばちょう先生の試して納得!DBAへの道」の執筆者が語ります。RMANバックアップの運用例から、高速増分バックアップの内部動作とチューニング方法まで、出し惜しみなく解説します。
Profit and loss is a website for online accounting, which enables individuals and entrepreneurs, who required a simple system that help them in calculating their earning during a particular time period. It allows the user to maintain accounts and see the result with having trouble of accounting definitions and confusions. The system only need to enter the transactions in a simple way and rest of the things will be done by the System itself. By this system the individuals and entrepreneurs can maintain the accounts and access them from anywhere in the world with using an internet connection and a PC.
OTHER INFORMATION
Programming language
ASP .net 2005(Frontend)
Microsoft SQL server 2005(backend)
Software requirements:
Web browsers any
Optimum System requirement
Processor: any
RAM: any
Hard disk: any
Internet: connection with good speed can work
Operating system: any
Additional software: .web browser
Monitor resolution: 1024X768(min)
1) Ancient Greece was an advanced civilization with knowledgeable travelers and strong warfare capabilities that gave them advantages over others like the Aztecs.
2) Alexander the Great created a large empire from 336-323 BC that conquered much of the known world but did not establish a long-lasting political structure.
3) The Roman Republic expanded from a small city-state in the 17th century BC to a massive empire through skilled military innovation and conquered Macedonia, Asia, Syria and more before internal conflicts emerged.
London 2012 Stakeholder Legacy StrategiesShane Kerr
What were the legacy strategies of the London 2012 Olympic and Paralympic stakeholders? An analysis of the corporate sponsors, media broadcasters, the UK Government, disability sport and disability organisations.
A person wakes up at 6 am, takes a shower at 6:30 am, and catches the bus at 7 am to get to school by 8 am where they study. In the afternoons, they like to watch TV, send emails to friends, listen to music, and play with their brothers. They dislike cooking and football but enjoy being themselves.
- The survey found that while franchisors maintained an optimistic outlook, confidence slightly moderated across key growth indicators compared to the previous quarter. Franchisors were less positive about prospects for franchisee profitability and growth. Service providers generally reflected the more cautious sentiment of franchisors. The results indicated franchising confidence remained higher than other business surveys.
- Commercial solaria use came under regulation in Australia after a young woman died from melanoma in 2007. This prompted states like Victoria and SA to require operator training.
- ARPANSA commissioned a report finding strong arguments for regulating solaria to minimize health risks and monitor practices. They developed uniform national guidelines.
- The guidelines require trained operators, no under-18 or skin type I clients, and skin assessments. Operators must pass an online exam demonstrating understanding of UV risks, equipment safety, and skin types.
Nghi Phan investigated the biological effects of low dose radiation exposures similar to medical and occupational doses. The study assessed genetic damage, DNA damage, and cell death in mice exposed to a single 20 mSv dose, similar to a CT scan, and repeated 20 mSv exposures over 10 weeks for a total dose of 400 mSv. The results showed increased genetic damage and DNA damage indicators in mice exposed to both single and repeated doses compared to unexposed mice. Repeated exposures did not increase damage beyond single exposure levels. The study aims to better understand lifetime health risks from low dose radiation exposures.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help alleviate symptoms of mental illness and boost overall mental well-being.
Pitch Perfect: Giving Journalists What they WantVuelio
Webinar with guest speaker, Janet Murray, PR coach, consultant and journalist. Janet gives straightforward, practical advice and tips to transform PR, ensuring the approach meets journalists’ needs and expectations.
The US army public health command initiative transforming public health serv...Leishman Associates
The US Army Public Health Command Initiative aims to transform public health services for the Army. It will establish the US Army Public Health Command to provide centralized public health oversight and services. This will integrate various public health programs and functions currently spread across different commands. The Public Health Command will be headquartered at Joint Base San Antonio and have regional commands located worldwide to provide public health support and services to all Army installations.
The document discusses the nature of love and differentiates it from infatuation. It states that love is an unselfish caring for another's interests that develops slowly over time based on their personality, while infatuation is selfish and focused on physical attraction and what the other person can provide. Some signs of infatuation are feelings of panic, uncertainty, and jealousy, as well as a focus on "I" and what the other person does for you. True love is described as selfless, committed, unconditional, and pure.
Assessment of a semi automated nuclear track etch counting system (santecs) f...Leishman Associates
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise boosts blood flow, releases endorphins, and promotes changes in the brain which help enhance one's emotional well-being and mental clarity.
Are you doing social media right? This was the question addressed by Stuart Wilson, head of corporate affairs, communications and marketing at Skills Development Scotland at Cision UK’s webinar The State of Social PR, that took place on May 27 at 11am.
Web App for Containers + MySQLでコンテナ対応したPHPアプリを作ろう! Yoichi Kawasaki
Web App for Containers は、アプリスタックのホストに Docker コンテナーを使用するため皆さんが今Linux上で利用しているOSSベースのアプリもアプリスタックごとDockerコンテナ化することでそのまま Web App for Containersで利用することができます。本ウェビナーでは簡単なMySQL + PHPアプリ(Wordpress)を題材に、アプリをコンテナ化し Web App for Containersにデプロイするまでの一連の流れを解説し、CIツールを使った継続的なデプロイ方法についてご紹介します。今回、AzureのフルマネージドMySQLサービスであるAzure DB for MySQLを利用して完全マネージドな環境でのアプリ実行を実現します。
This document discusses various methods for checking the health of Oracle database storage structures. It describes tools from Oracle like Hcheck scripts, Health Monitor Checks, and Log Scanner that check data dictionary integrity and consistency. It also discusses third party tools like ParnassusData recovery manager and hcmon. Specific checks covered include dictionary integrity checks, data block integrity checks, and ASM health checks. The document provides technical details on how many of these checks operate.
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
The document describes setting up an Oracle 11g Release 2 RAC environment using VirtualBox virtual machines on Oracle Linux 5.7. It outlines planning the RAC logical architecture and installation requirements. It then details steps to create two virtual machines, install Oracle Linux on them, configure user accounts and directories for the Grid and Oracle software installations, and prepare the systems for the Oracle software installations.
Shoug at apouc2015 4min pitch_biotwang_v2maclean liu
Biot Wang introduces the Shanghai Oracle User Group (SHOUG), which he has been a member of for one year. SHOUG holds Oracle-related meetings and activities a few times a year to share knowledge. While some meetings have been more successful than others due to factors like scheduling, SHOUG is still learning and aims to make meetings better over time. The group has grown from a few members to over 400 currently. SHOUG's goal is to help members improve their Oracle skills and knowledge through sharing.
Biot Wang introduces the Shanghai Oracle User Group (SHOUG), which he has been a member of for one year. SHOUG holds Oracle-related meetings and activities a few times a year to share knowledge. While some meetings have been more successful than others due to factors like scheduling, SHOUG is still learning and aims to make meetings better over time. The group has grown from a few members to over 400 currently. SHOUG's goal is to help members improve their Oracle skills and knowledge through sharing.
This document discusses various techniques for optimizing JDBC performance when accessing an Oracle database. It provides examples of common issues like repeatedly opening and closing database connections, failing to close result sets and statements, and not using prepared statements with bind variables. The solutions outlined include using connection, statement and result set pools, try-finally blocks to ensure proper closing, and leveraging features like prepared statements, bind variables, batching, and prefetching to reduce round trips.
Parnassus data recovery manager for oracle database user guide v0.3maclean liu
ParnassusData Recovery Manager (PRM) is an enterprise Oracle database recovery tool, which can extract database datafile from Oracle 9i, 10g, 11g, 12c directly without any SQL execution on database. ParnassusData Recovery Manager was developed by Java, which can be used cross platforms. It can be run without any installation. Download it, and click to run
PRM has full rich GUI for any command. It is not necessary to learn script or master any skill in Oracle data structure. Recovery Wizard is integrated in the tool.
2. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 2
文書管理
Author
Maclean Liu
Change Logs
Date Author Version Change Log
Feb 09, 2014 Maclean Liu Created.
Apr 14,2014 Maclean Liu V0.2
Apr 25,2014 Maclean Liu Recovery From DROP TABLESPACE
Jun 11,2014 Maclean Liu DataBridge For LOB
Reviewers
Name Position
ZhangYang Hu
HanJue Xu
Approvals
<Approver 1> ZhangYang Hu
<Approver 2>
Distribution
Copy No. Name Location
7. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 7
スクに使用可能なメタデータを読み取ることができる、さらにこれらのメタデータが Disk
Group にある ASM ファイルをコーピーすることもできる。
2. たとえ Disk Group が正常に MOUNT できなくても、PRMを通って、ASM にあ
るデータファイルを読み取ることやそのまま抽出することも支持する。抽出する方法につ
いては、伝統的な抽出方法とデータバイパスモード両方も支持している。
PRMソフト紹介
ParnassusData Recovery Manager(PRM)は Java に基づいて開発されたから、PRMが
いろんなプラットフォームに運用できる。AIX、Solaris、HPUX などの Unix プラットフォ
ームも、Redhat、Oracle Linux、SUSE や Linux プラットフォームも、あるいは Windows
プラットフォームも直接にPRMを運用できる。
PRMが支持しているオペレーティングシステム:
Platform Name Supported
AIX POWER
Solaris Sparc
Solaris X86
Linux X86
Linux X86-64
HPUX
MacOS
PRMが支持しているデータベースバーション
ORACLE DATABASE
VERSION
Supported
Oracle 7
Oracle 8
Oracle 8i
Oracle 9i
11. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 11
注意事項:virtual column、11g optimized default column に対して、データを抽出する
ことは問題ないと思っているが、該当するフィールドをなくす可能性がある。これらも11
gから追加した新しい機能ですが、運用している技術者があまりいない。
PRMが支持しているデータタイプ
データタイプ 支持している
か否か
BFILE No
Binary XML No
BINARY_DOUBLE Yes
BINARY_FLOAT Yes
BLOB Yes
CHAR Yes
CLOB and NCLOB Yes
Collections (including VARRAYS and nested tables) No
Date Yes
INTERVAL DAY TO SECOND Yes
INTERVAL YEAR TO MONTH Yes
LOBs stored as SecureFiles Future
LONG Yes
LONG RAW Yes
Multimedia data types (including Spatial, Image, and Oracle Text) No
NCHAR Yes
Number Yes
NVARCHAR2 Yes
RAW Yes
ROWID, UROWID Yes
TIMESTAMP Yes
TIMESTAMP WITH LOCAL TIMEZONE Yes
TIMESTAMP WITH TIMEZONE Yes
User-defined types No
VARCHAR2 and VARCHAR Yes
XMLType stored as CLOB No
XMLType stored as Object Relational No
23. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 23
Next をクリックする。
この TRUNCATE シーンでは ASM ストレージを選んでいないため、ディクショナリー
モード(Dictionary Mode)だけを選んでいればいい。
24. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 24
次のステップで、いくつのバラメタを選択する必要がある:Endian エンディアンと DB
NAME
Oracle ファイルはオペレーションシステム(OS)によって、違った Endian エンディア
ン形式を採用し、エンディアンと該当するプラットフォームが以下ご覧のとおり:
Solaris[tm] OE (32-bit) Big
Solaris[tm] OE (64-bit) Big
Microsoft Windows IA (32-bit) Little
Linux IA (32-bit) Little
AIX-Based Systems (64-bit) Big
HP-UX (64-bit) Big
HP Tru64 UNIX Little
HP-UX IA (64-bit) Big
Linux IA (64-bit) Little
HP Open VMS Little
25. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 25
Microsoft Windows IA (64-bit) Little
IBM zSeries Based Linux Big
Linux x86 64-bit Little
Apple Mac OS Big
Microsoft Windows x86 64-bit Little
Solaris Operating System (x86) Little
IBM Power Based Linux Big
HP IA Open VMS Little
Solaris Operating System (x86-
64) Little
Apple Mac OS (x86-64) Little
例えば、伝統的な Unix AIX-Based Systems (64-bit) 、HP-UX (64-bit)では Big Endian
をつかっている、ここでは Big Endian に変更する:
さもないと、Linux x86-64 、Windows ではデフォルトの Little Endian ままになる。
26. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 26
注意事項:もし、ファイルがもともとは AIX(つまり Big Endian)に生成するなら、都合
のいいため、これらのファイルを Windows サーバへコーピーし、PRMによってデータを
リカバリーするなら、元の Big Endian 形式に選ぶ必要がある。
ここでは、例のファイルが Linux x86 にあるため、Endian を Little に変更し、Database
name 入力する。(ここに入力したデータベース名は名前だけで、データベースホントの
DBNAME にいみしていない、PRMl の License 検出メカニズムがつかっているのはここに
入力した Database Name じゃなく、ホントの DBNAME をつかっているから):
27. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 27
Next をクリックする。
Choose Files をクリックして、一般的には、データベースが大きくなければ、データベ
ースにある全てのファイルを選定する必要がある。データベースが大きで、そしてデータテ
ーブルがどこのフィイルにあるかをしっていれば、SYSTEM テーブルスペースのフィイル
とデータテーブル(必要)を含むフィイルしかえらべない。
注意:Choose インターフェースでは Ctrl + A と Shift などキーボード操作を支持して
いる。
48. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 48
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
INSTANCE_NAME
----------------
ASMME
SQL>
SQL>
SQL> select count(*) from sys.ts$;
COUNT(*)
----------
5
SQL> delete ts$;
5 rows deleted.
SQL> commit;
Commit complete.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-01405: fetched column value is NULL
Process ID: 5270
Session ID: 10 Serial number: 3
49. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 49
Undo initialization errored: err:1405 serial:0 start:3126020954 end:3126020954
diff:0 (0 seconds)
Errors in file /s01/diag/rdbms/asmme/ASMME/trace/ASMME_ora_5270.trc:
ORA-01405: fetched column value is NULL
Errors in file /s01/diag/rdbms/asmme/ASMME/trace/ASMME_ora_5270.trc:
ORA-01405: fetched column value is NULL
Error 1405 happened during db open, shutting down database
USER (ospid: 5270): terminating the instance due to error 1405
Instance terminated by USER, pid = 5270
ORA-1092 signalled during: ALTER DATABASE OPEN...
opiodr aborting process unknown ospid (5270) as a result of ORA-1092
このシーンでデータディクショナリーは既に壊されたから、データベースを起動するの
は不可能だ。
このとき、PRMでデータベースのデータを抽出することができる。具体的な操作はシー
ン1とほぼ同じ、ユーザーがデータベースにあるすべてのデータベースフィルタを入力し
ただけでいい。
2.ディクショナリーモードを選んでください Dictionary Mode
3. Big か Little Endian を選ぶにはよく考えてください
4.データフィルタを追加してロードをクリックしてください。
5.実際に応じて、テーブルのデータをリカバリしてください。
87. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 87
SQL> select count(*) from sys.obj$ as of scn 1895940;
select count(*) from sys.obj$ as of scn 1895940
*
第一行がエラになり
ORA-01555:スナップショットが古すぎて、ロールバックセグメント番号(名は"SYSTEM")
が小さすぎる。
初めては FLASHBACK QUERY で OBJ$の記録を見つけ出したいが、SYSTEM ROLLBACK
SEGMENT を使ったことによって、ORA-01555 になる。
この時に AWR ビューDBA_HIST_SQL_PLAN を使ってください。七天以内でそのテーブル
にアクセスしたら実行計画から OBJECT#と OBJECT_NAME のつながりが得られる。
SQL> desc DBA_HIST_SQL_PLAN
名称 是否为空? 类型
名前 ブランクかいなか タイプ
----------------------------------------- -------- -----------------------
DBID NOT NULL NUMBER
SQL_ID NOT NULL VARCHAR2(13)
PLAN_HASH_VALUE NOT NULL NUMBER
ID NOT NULL NUMBER
OPERATION VARCHAR2(30)
OPTIONS VARCHAR2(30)
OBJECT_NODE VARCHAR2(128)
OBJECT# NUMBER
OBJECT_OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(31)
OBJECT_ALIAS VARCHAR2(65)
OBJECT_TYPE VARCHAR2(20)
88. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 88
OPTIMIZER VARCHAR2(20)
PARENT_ID NUMBER
DEPTH NUMBER
POSITION NUMBER
SEARCH_COLUMNS NUMBER
COST NUMBER
CARDINALITY NUMBER
BYTES NUMBER
OTHER_TAG VARCHAR2(35)
PARTITION_START VARCHAR2(64)
PARTITION_STOP VARCHAR2(64)
PARTITION_ID NUMBER
OTHER VARCHAR2(4000)
DISTRIBUTION VARCHAR2(20)
CPU_COST NUMBER
IO_COST NUMBER
TEMP_SPACE NUMBER
ACCESS_PREDICATES VARCHAR2(4000)
FILTER_PREDICATES VARCHAR2(4000)
PROJECTION VARCHAR2(4000)
TIME NUMBER
QBLOCK_NAME VARCHAR2(31)
REMARKS VARCHAR2(4000)
TIMESTAMP DATE
OTHER_XML CLOB
例えば
select object_owner,object_name,object# from DBA_HIST_SQL_PLAN where
sql_id='avwjc02vb10j4'
OBJECT_OWNER OBJECT_NAME OBJECT#
-------------------- ---------------------------------------- ----------
PARNASSUSDATA TORDERDETAIL_HIS 78688
89. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 89
Select * from
(select object_name,object# from DBA_HIST_SQL_PLAN
UNION select object_name,object# from GV$SQL_PLAN) V1 where V1.OBJECT# IS NOT NULL
minus select name,obj# from sys.obj$;
select obj#,dataobj#, object_name from WRH$_SEG_STAT_OBJ where object_name not in
(select name from sys.obJ$) order by object_name desc;
もう一つの例
SELECT tab1.SQL_ID,
current_obj#,
tab2.sql_text
FROM DBA_HIST_ACTIVE_SESS_HISTORY tab1,
dba_hist_sqltext tab2
WHERE tab1.current_obj# NOT IN
(SELECT obj# FROM sys.obj$
)
AND current_obj#!=-1
AND tab1.sql_id =tab2.sql_id(+);
以上はユーザーがどうしてもリカバリしたいデータテーブルについて、なんの情報も得
られない場合にしか使えない。(つまり、このアプリモードについてのひともスクリプトも
テキストもない場合)、それに AWR データに頼っていて、正確性には少し問題がある。
90. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 90
リカバリシーン 10 誤操作で DROP したテ
ーブルのリカバリ
D社のアプリ開發者が ASM の環境で、なんのバックアップもないのに、システムの肝心
なアプリテーブルを DROP した。そのときに、PRMですぐに大部分のデータをリカバリ
できる。10g のあと、recyclebin ゴミ箱を追加した。まずは DBA_RECYCLEBINS ビュー
を確認して、DROP したテーブルがそこにあるか否かをたしかめる。もしそこにもなかっ
たら、PRMでリカバリしてください。
リカバリの流れは以下の通り:
まずは DROP されたデータテーブルを含むテーブルスペースを見つけ出す。
ディクショナリーをけんさくして、あるいは LOGMINER で DROP されたデータテーブ
ルの DATA_OBJECT_ID を見つけ出す。DATA_OBJECT_ID を得られない場合には NON-
DICT モードでPRMを起動する。DROP されたデータテーブルを含むテーブルスペース
にすべてのフィルタを追加したら、SCAN DATABASE+SCAN TABLE from Extent MAP。
DATA_OBJECT_ID によって、データテーブルを見つけて、DataBridge モードでもとの
データベースに伝送する。
SQL> select count(*) from "MACLEAN"."TORDERDETAIL_HIS";
COUNT(*)
----------
984359
SQL>
SQL> create table maclean.TORDERDETAIL_HIS1 as select * from maclean.TORDERDETAIL_HIS;
Table created.
SQL> drop table maclean.TORDERDETAIL_HIS;
Table dropped.
100. ParnassusData Recovery Manager For Oracle
Database
ParnassusData
www.parnassusdata.com 100
FAQ よくある質問
データベースの文字セットが分からなかったらどうすればいい?
Oracle アラームロゴ alert.log を確認することによって、データベースの文字セットが確
認できる。例えば:
[oracle@mlab2 trace]$ grep -i character alert_Parnassus.log
Database Characterset is US7ASCII
Database Characterset is US7ASCII
alter database character set INTERNAL_CONVERT AL32UTF8
Updating character set in controlfile to AL32UTF8
Synchronizing connection with database character set information
Refreshing type attributes with new character set information
Completed: alter database character set INTERNAL_CONVERT AL32UTF8
alter database national character set INTERNAL_CONVERT UTF8
Completed: alter database national character set INTERNAL_CONVERT UTF8
Database Characterset is AL32UTF8
Database Characterset is AL32UTF8
Database Characterset is AL32UTF8
なぜPRMいつもシャットダウンするあるいは gc warning: うお eated allocation of
very large block (appr.size 512000)”などのエラになるでしょう?
それは恐らく推薦していない JAVA 環境を使ったせいと思う。とくに、Linux プラッド
フォームで redhat gcj java を運用したら、よくこのようになる。ParnassusData は JDK1.6
以上の環境でPRMを運用することを勧めている。$JAVA_HOME/bin/java –jar prm.jar
によって、PRMを起動できる。
JDK 1.6 のダウンロードリンクは以下の通り:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-arhive-
downloads-javase6-419409.html#jdk-6u45-oth-JPR