JP2007207063A - データベースを有するストレージシステムの記憶制御方法 - Google Patents
データベースを有するストレージシステムの記憶制御方法 Download PDFInfo
- Publication number
- JP2007207063A JP2007207063A JP2006026676A JP2006026676A JP2007207063A JP 2007207063 A JP2007207063 A JP 2007207063A JP 2006026676 A JP2006026676 A JP 2006026676A JP 2006026676 A JP2006026676 A JP 2006026676A JP 2007207063 A JP2007207063 A JP 2007207063A
- Authority
- JP
- Japan
- Prior art keywords
- log
- storage device
- storage
- pair
- logless
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2071—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using a plurality of controllers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2358—Change logging, detection, and notification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2071—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using a plurality of controllers
- G06F11/2074—Asynchronous techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2071—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using a plurality of controllers
- G06F11/2076—Synchronous techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99951—File or database maintenance
- Y10S707/99952—Coherency, e.g. same view to multiple users
- Y10S707/99953—Recoverability
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【解決手段】ログレスモードで各トランザクションを実行する場合、該トランザクションの開始の際に、ログレス開始ログを作成して正ログVOL55Aに書き、且つ、そのログレス開始ログを、遠隔の副ログVOL55Bにも書く。その後、正DBVOL51AのDBに対してバッチ処理を行い、このトランザクションの実行中において、バッチ処理の開始前又は終了後に、DBVOLのペア解除状態を解除し、バッチ処理の終了後、DBVOL間の差分が無くなっていれば、ログレス終了ログを作成して正ログVOL55Aに書き、且つ、それを副ログVOL55Aにも書く。
【選択図】図7
Description
Claims (18)
- データベースを備えたストレージシステムで行われる記憶制御方法であって、
前記ストレージシステムには、第一のストレージサブシステムと第二のストレージサブシステムとが備えられ、前記第一のストレージサブシステムが、データベースを記憶することができる第一のDB記憶装置と、前記データベースのログを記憶することができる第一のログ記憶装置とを備え、前記第二のストレージサブシステムが、前記第一のDB記憶装置とペアを構成することができる第二のDB記憶装置と、前記第一のログ記憶装置とペアを構成することができる第二のログ記憶装置とを備え、
前記第一のストレージサブシステムが、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア状態であるDBペア状態がペア解除状態になっている場合に、前記第一のDB記憶装置と前記第二のDB記憶装置とに差分が生じたならば該差分を管理し、該ペア解除状態が解除された場合に、管理されている前記差分を前記第二のストレージサブスシステムに送信することで、前記第二のDB記憶装置に該差分を更新させ、それにより、前記第一のDB記憶装置と前記第二のDB記憶装置との差分を無くすことができるように構成されており、
データベースのログの制御に関するモードであるログ制御モードとして、トランザクション中に前記データベースを更新しても少なくとも該データベースの更新履歴を含んだログを作成しないモードであるログレスモードと、前記ログレスモードとは別のモードとがあり、前記ログレスモードで一つのトランザクションを実行する場合、該トランザクションの開始の際に、前記ログレスモードの開始を表すログであるログレス開始ログを作成し前記第一のログ記憶装置に発行することで、該ログレス開始ログを前記第一のログ記憶装置に書き、
前記第一のログ記憶装置に書かれる前記ログレス開始ログを前記第一のストレージサブシステムから前記第二のストレージサブシステムに送信することにより、該ログレス開始ログを前記第二のログ記憶装置に書き、
前記第一のDB記憶装置のデータベースに複数のデータをそれぞれ発行することで該データベースを複数回更新するDB更新処理を実行し、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除し、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に書き、
前記第一のログ記憶装置に書かれる前記ログレス終了ログを前記第一のストレージサブシステムから前記第二のストレージサブシステムに送信することにより、該ログレス終了ログを前記第二のログ記憶装置に書く、
記憶制御方法。 - 前記第一のストレージサブシステムを含む第一のシステムに、前記データベースを管理するデータベース管理部と、各記憶装置のペア状態に従うコピーを制御する第一の記憶制御部とが備えられ、前記第二のストレージサブシステムに、前記第一の記憶制御部と通信することができる第二の記憶制御部が備えられ、
前記データベース管理部及び前記第一の記憶制御部のうちの少なくとも前記第一の記憶制御部が、前記第一のストレージサブシステムに備えられ、
前記ログレスモードでのトランザクションの開始前に、前記第一のログ記憶装置と前記第二のログ記憶装置とのペア状態であるログペア状態が、前記第一のログ記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のログ記憶装置へと転送される同期/非同期ペア状態となっており、
前記データベース管理部が、前記ログレス開始ログを作成して前記第一のログ記憶装置に書き、
前記第一の記憶制御部が、前記ログペア状態が同期/非同期ペア状態になっているために、前記第一のログ記憶装置に書かれる前記ログレス開始ログを前記第二の記憶制御部に送信し、前記第二の記憶制御部が、前記第一の記憶制御部からのログレス開始ログを前記第二のログ記憶装置に書き、
前記データベース管理部が、前記DB更新処理を実行し、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記データベース管理部が、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除し、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記データベース管理部が、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に書き、
前記第一の記憶制御部が、前記ログペア状態が同期/非同期ペア状態になっているために、前記第一のログ記憶装置に書かれる前記ログレス終了ログを前記第二の記憶制御部に送信し、前記第二の記憶制御部が、前記第一の記憶制御部からの前記ログレス終了ログを前記第二のログ記憶装置に書く、
請求項1記載の記憶制御方法。 - 前記ログレスモードでのトランザクションの開始から終了までの間、少なくとも前記ログレス開始ログと前記ログレス終了ログが、前記第一のストレージサブシステムの所定の領域への書込みと同期で前記第二のログ記憶装置へと転送される、
請求項2記載の記憶制御方法。 - 前記データベースに書くデータをメモリに一時記憶し、該メモリに記憶したデータを前記第一のDB記憶装置に書くことで前記データベースを更新するようになっている場合に、
前記ログレス開始ログを前記第一のログ記憶装置に発行した後、前記DB更新処理の開始前に、前記データベースに書かれていないデータである未反映データを前記メモリから前記第一のDB記憶装置へと書き出し、該書き出しが完了した後に、前記DB更新処理を開始する、
請求項1記載の記憶制御方法。 - 前記DBペア状態が、前記第一のDB記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のDB記憶装置へと転送される同期/非同期ペア状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に書き、
前記未反映データを前記メモリから前記第一のDB記憶装置に書き出し、それにより、前記第一のDB記憶装置に書かれる前記未反映データを、前記第一のストレージサブシステムから前記第二のストレージサブシステムに送信し、前記第二のログ記憶装置に書き、
前記未反映データが前記第一のログ記憶装置及び第二のログ記憶装置の両方に書かれた後、前記DBペア状態を同期/非同期ペア状態から前記ペア解除状態にし、
前記DBペア状態を前記ペア解除状態にした後、前記DB更新処理を開始し、
前記DB更新処理の終了後、前記DBペア状態のペア解除状態を解除し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記ログレス終了ログを前記第一のログ記憶装置に書く、
請求項4記載の記憶制御方法。 - 前記DBペア状態が前記ペア解除状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に書き、
前記未反映データを前記メモリから前記第一のDB記憶装置に書き出し、
前記DB更新処理を開始する前までに、前記第二のログ記憶装置にログレス開始ログよりも前に書かれたログを用いて、前記第二のDB記憶装置のデータベースを更新し、且つ、該更新後の第二のDB記憶装置のバックアップを前記第二のストレージサブシステムに取得し、
前記DB更新処理の終了後、前記DBペア状態のペア解除状態を解除し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記ログレス終了ログを前記第一のログ記憶装置に書く、
請求項4記載の記憶制御方法。 - 前記未反映データを前記メモリから前記第一のDB記憶装置に書き出した後、前記DB更新処理の開始前までに、前記未反映データが反映された前記第一のDB記憶装置のバックアップを前記第一のストレージサブシステムに取得する、
請求項6記載の記憶制御方法。 - 前記DBペア状態が前記ペア解除状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に書き、
前記未反映データを前記メモリから前記第一のDB記憶装置に書き出し、
前記DBペア状態のペア解除状態を解除し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記DB更新処理を開始し、
前記DB更新処理の終了後、前記DBペア状態を再び前記ペア解除状態とし、その後、前記ログレス終了ログを前記第一のログ記憶装置に書く、
請求項4記載の記憶制御方法。 - 前記DB更新処理の終了後、前記DBペア状態を再び前記ペア解除状態とした後、前記第二のストレージサブシステムが前記第一のストレージサブシステムに対してログレスモードの解除の要求を行い、前記第一のストレージサブシステムが、該要求に従って、前記ログレス終了ログを前記第一のログ記憶装置に書く、
請求項8記載の記憶制御方法。 - 前記第一のDB記憶装置がダウンした場合、前記第一のログ記憶装置又は前記第二のログ記憶装置に、前記ログレス開始ログが記憶されているが前記ログレス終了ログが記憶されていなければ、前記ログレスモードに対応した回復処理を実行することで、前記第一のDB記憶装置に記憶されていた、前記ダウンの時点になるべく近いデータベースを回復する、
請求項1記載の記憶制御方法。 - ストレージシステムに備えられるデータベースを管理するデータベース管理システムであって、
前記ストレージシステムには、第一のストレージサブシステムと第二のストレージサブシステムとが備えられ、
前記第一のストレージサブシステムが、データベースを記憶することができる第一のDB記憶装置と、前記データベースのログを記憶することができる第一のログ記憶装置と、各記憶装置のペア状態に従うコピーを制御する第一の記憶制御部とを備え、
前記第二のストレージサブシステムが、前記第一のDB記憶装置とペアを構成することができる第二のDB記憶装置と、前記第一のログ記憶装置とペアを構成することができる第二のログ記憶装置と、前記第一の記憶制御部と通信することができる第二の記憶制御部とを備え、
前記第一のストレージサブシステムが、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア状態であるDBペア状態がペア解除状態になっている場合に、前記第一のDB記憶装置と前記第二のDB記憶装置とに差分が生じたならば該差分を管理し、該ペア解除状態が解除された場合に、前記第一の記憶制御部が、管理されている前記差分を前記第二の記憶制御部に送信することで、前記第二の記憶制御部に前記差分を前記第二のDB記憶装置に更新させ、それにより、前記第一のDB記憶装置と前記第二のDB記憶装置との差分を無くすことができるように構成されており、
トランザクションの開始前に、前記第一のログ記憶装置と前記第二のログ記憶装置とのペア状態であるログペア状態が、前記第一のログ記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のログ記憶装置へと転送される同期/非同期ペア状態となっており、それにより、前記第一のログ記憶装置にデータが書かれる場合、前記第一の記憶制御部が、該データを前記第二の記憶制御部に送信し、前記第二の記憶制御部が該データを前記第二のログ記憶装置に書くようになっており、
前記データベース管理システムが、
データベースのログの制御に関するモードであるログ制御モードとして、トランザクション中に前記データベースを更新しても少なくとも該データベースの更新履歴を含んだログを作成しないモードであるログレスモードと、前記ログレスモードとは別のモードとがあり、前記ログレスモードで一つのトランザクションを実行する場合、該トランザクションの開始の際に、前記ログレスモードの開始を表すログであるログレス開始ログを作成し前記第一のログ記憶装置に対して発行し、それにより、該ログレス開始ログが前記第一のログ記憶装置に書かれ、
前記第一のDB記憶装置のデータベースに複数のデータをそれぞれ発行するDB更新処理を実行し、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除するためのペア命令を前記第一のストレージサブシステムに発行し、それにより、該ペア解除状態が解除され、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に発行し、それにより、該ログレス終了ログが前記第一のログ記憶装置に書かれる、
データベース管理システム。 - 前記データベースに書くデータをメモリに一時記憶し、該メモリに記憶したデータを前記第一のDB記憶装置に発行することで前記データベースを更新するようになっており、前記ログレス開始ログを前記第一のログ記憶装置に発行した後、前記DB更新処理の開始前に、前記データベースに書かれていないデータである未反映データを前記メモリから前記第一のDB記憶装置へと書き出し、該書き出しが完了した後に、前記DB更新処理を開始する、
請求項11記載のデータベース管理システム。 - 前記DBペア状態が、前記第一のDB記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のDB記憶装置へと転送される同期/非同期ペア状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に発行した後、前記未反映データを前記メモリから前記第一のDB記憶装置へと書き出し、
前記未反映データが前記第一のログ記憶装置及び第二のログ記憶装置の両方に書かれた後、前記DBペア状態を同期/非同期ペア状態から前記ペア解除状態にするためのスプリット命令を前記第一のストレージサブシステムに発行し、それにより、該DBペア状態がペア解除状態とされ、
前記DBペア状態を前記ペア解除状態にした後、前記DB更新処理を開始し、
前記DB更新処理の終了後、前記DBペア状態のペア解除状態を解除するための前記ペア命令を前記第一のストレージサブシステムに発行し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記ログレス終了ログを前記第一のログ記憶装置に発行する、
請求項12記載のデータベース管理システム。 - 前記DBペア状態が前記ペア解除状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に発行した後に、前記未反映データを前記メモリから前記第一のDB記憶装置に書き出し、
前記DB更新処理の終了後、前記DBペア状態のペア解除状態を解除するための前記ペア命令を前記第一のストレージサブシステムに発行し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記ログレス終了ログを前記第一のログ記憶装置に発行する、
請求項12記載のデータベース管理システム。 - 前記DBペア状態が前記ペア解除状態となっている場合、
前記ログレス開始ログを前記第一のログ記憶装置に発行した後に、前記未反映データを前記メモリから前記第一のDB記憶装置に書き出し、
前記DBペア状態のペア解除状態を解除するための前記ペア命令を前記第一のストレージサブシステムに発行し、
前記ペア解除状態の解除による前記差分の前記第二のDB記憶装置への更新が終了した後、前記DB更新処理を開始し、
前記DB更新処理の終了後、前記DBペア状態を再び前記ペア解除状態とするために前記スプリット命令を前記第一のストレージサブシステムに発行し、前記DBペア状態がペア解除状態とされた後、前記ログレス終了ログを前記第一のログ記憶装置に発行する、
請求項12記載のデータベース管理システム。 - ストレージシステムに備えられるデータベースを管理するデータベース管理方法であって、
前記ストレージシステムには、第一のストレージサブシステムと第二のストレージサブシステムとが備えられ、
前記第一のストレージサブシステムが、データベースを記憶することができる第一のDB記憶装置と、前記データベースのログを記憶することができる第一のログ記憶装置と、各記憶装置のペア状態に従うコピーを制御する第一の記憶制御部とを備え、
前記第二のストレージサブシステムが、前記第一のDB記憶装置とペアを構成することができる第二のDB記憶装置と、前記第一のログ記憶装置とペアを構成することができる第二のログ記憶装置と、前記第一の記憶制御部と通信することができる第二の記憶制御部とを備え、
前記第一のストレージサブシステムが、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア状態であるDBペア状態がペア解除状態になっている場合に、前記第一のDB記憶装置と前記第二のDB記憶装置とに差分が生じたならば該差分を管理し、該ペア解除状態が解除された場合に、前記第一の記憶制御部が、管理されている前記差分を前記第二の記憶制御部に送信することで、前記第二の記憶制御部に前記差分を前記第二のDB記憶装置に更新させ、それにより、前記第一のDB記憶装置と前記第二のDB記憶装置との差分を無くすことができるように構成されており、
トランザクションの開始前に、前記第一のログ記憶装置と前記第二のログ記憶装置とのペア状態であるログペア状態が、前記第一のログ記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のログ記憶装置へと転送される同期/非同期ペア状態となっており、それにより、前記第一のログ記憶装置にデータが書かれる場合、前記第一の記憶制御部が、該データを前記第二の記憶制御部に送信し、前記第二の記憶制御部が該データを前記第二のログ記憶装置に書くようになっており、
前記データベース管理方法が、
データベースのログの制御に関するモードであるログ制御モードとして、トランザクション中に前記データベースを更新しても少なくとも該データベースの更新履歴を含んだログを作成しないモードであるログレスモードと、前記ログレスモードとは別のモードとがあり、前記ログレスモードで一つのトランザクションを実行する場合、該トランザクションの開始の際に、前記ログレスモードの開始を表すログであるログレス開始ログを作成し前記第一のログ記憶装置に対して発行し、それにより、該ログレス開始ログが前記第一のログ記憶装置に書かかれ、
前記第一のDB記憶装置のデータベースに複数のデータをそれぞれ発行するDB更新処理を実行し、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除するためのペア命令を前記第一のストレージサブシステムに発行し、それにより、該ペア解除状態が解除され、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に発行し、それにより、該ログレス終了ログが前記第一のログ記憶装置に書かれる、
データベース管理方法。 - ストレージシステムに備えられるデータベースを管理する計算機であって、
前記ストレージシステムには、第一のストレージサブシステムと第二のストレージサブシステムとが備えられ、
前記第一のストレージサブシステムが、データベースを記憶することができる第一のDB記憶装置と、前記データベースのログを記憶することができる第一のログ記憶装置と、各記憶装置のペア状態に従うコピーを制御する第一の記憶制御部とを備え、
前記第二のストレージサブシステムが、前記第一のDB記憶装置とペアを構成することができる第二のDB記憶装置と、前記第一のログ記憶装置とペアを構成することができる第二のログ記憶装置と、前記第一の記憶制御部と通信することができる第二の記憶制御部とを備え、
前記第一のストレージサブシステムが、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア状態であるDBペア状態がペア解除状態になっている場合に、前記第一のDB記憶装置と前記第二のDB記憶装置とに差分が生じたならば該差分を管理し、該ペア解除状態が解除された場合に、前記第一の記憶制御部が、管理されている前記差分を前記第二の記憶制御部に送信することで、前記第二の記憶制御部に前記差分を前記第二のDB記憶装置に更新させ、それにより、前記第一のDB記憶装置と前記第二のDB記憶装置との差分を無くすことができるように構成されており、
トランザクションの開始前に、前記第一のログ記憶装置と前記第二のログ記憶装置とのペア状態であるログペア状態が、前記第一のログ記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のログ記憶装置へと転送される同期/非同期ペア状態となっており、それにより、前記第一のログ記憶装置にデータが書かれる場合、前記第一の記憶制御部が、該データを前記第二の記憶制御部に送信し、前記第二の記憶制御部が該データを前記第二のログ記憶装置に書くようになっており、
前記計算機が、
データベースのログの制御に関するモードであるログ制御モードとして、トランザクション中に前記データベースを更新しても少なくとも該データベースの更新履歴を含んだログを作成しないモードであるログレスモードと、前記ログレスモードとは別のモードとがあり、前記ログレスモードで一つのトランザクションを実行する場合、該トランザクションの開始の際に、前記ログレスモードの開始を表すログであるログレス開始ログを作成し前記第一のログ記憶装置に対して発行するログレス開始ログ発行部と、
前記第一のDB記憶装置のデータベースに複数のデータをそれぞれ発行するDB更新処理を実行するDB操作部と、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除するためのペア命令を前記第一のストレージサブシステムに発行するペア命令部と、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に発行するログレス終了ログ発行部と
を備えた計算機。 - 外部のストレージサブシステムと通信可能なストレージサブシステムであって、
データベースを記憶することができる第一のDB記憶装置と、
前記データベースのログを記憶することができる第一のログ記憶装置と、
制御装置と
を備え、
前記外部のストレージサブシステムが、前記第一のDB記憶装置とペアを構成することができる第二のDB記憶装置と、前記第一のログ記憶装置とペアを構成することができる第二のログ記憶装置とを備え、
前記制御装置が、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア状態であるDBペア状態がペア解除状態になっている場合に、前記第一のDB記憶装置と前記第二のDB記憶装置とに差分が生じたならば該差分を管理し、該ペア解除状態が解除された場合に、前記第一の記憶制御部が、管理されている前記差分を前記第二の記憶制御部に送信することで、前記第二の記憶制御部に前記差分を前記第二のDB記憶装置に更新させ、それにより、前記第一のDB記憶装置と前記第二のDB記憶装置との差分を無くすことができるように構成されており、
トランザクションの開始前に、前記第一のログ記憶装置と前記第二のログ記憶装置とのペア状態であるログペア状態が、前記第一のログ記憶装置に書かれるデータが、前記第一のストレージサブシステムの所定の領域への書込みと同期又は非同期で前記第二のログ記憶装置へと転送される同期/非同期ペア状態となっており、それにより、前記第一のログ記憶装置にデータが書かれる場合、前記制御装置が、該データを前記第二のログ記憶装置に書くよう前記外部のストレージサブシステムに送信し、
前記制御装置が、
データベースのログの制御に関するモードであるログ制御モードとして、トランザクション中に前記データベースを更新しても少なくとも該データベースの更新履歴を含んだログを作成しないモードであるログレスモードと、前記ログレスモードとは別のモードとがあり、前記ログレスモードで一つのトランザクションを実行する場合、該トランザクションの開始の際に、前記ログレスモードの開始を表すログであるログレス開始ログを作成し前記第一のログ記憶装置に書き、
前記第一のDB記憶装置のデータベースに複数のデータをそれぞれ発行するDB更新処理を実行し、
開始されたトランザクションの実行中において、前記DB更新処理の開始前又は終了後に、前記第一のDB記憶装置と前記第二のDB記憶装置とのペア解除状態を解除し、
前記DB更新処理の終了後、前記第一のDB記憶装置と前記第二のDB記憶装置との差分が無くなっている場合に、前記ログレスモードの終了を表すログであるログレス終了ログを作成し、該ログレス終了ログを前記第一のログ記憶装置に書く、
ストレージサブシステム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006026676A JP4727437B2 (ja) | 2006-02-03 | 2006-02-03 | データベースを有するストレージシステムの記憶制御方法 |
US11/396,644 US7353335B2 (en) | 2006-02-03 | 2006-04-04 | Storage control method for database recovery in logless mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006026676A JP4727437B2 (ja) | 2006-02-03 | 2006-02-03 | データベースを有するストレージシステムの記憶制御方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007207063A true JP2007207063A (ja) | 2007-08-16 |
JP4727437B2 JP4727437B2 (ja) | 2011-07-20 |
Family
ID=38335269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006026676A Active JP4727437B2 (ja) | 2006-02-03 | 2006-02-03 | データベースを有するストレージシステムの記憶制御方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7353335B2 (ja) |
JP (1) | JP4727437B2 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009151637A (ja) * | 2007-12-21 | 2009-07-09 | Nomura Research Institute Ltd | 業務継続システム |
JP2009217700A (ja) * | 2008-03-12 | 2009-09-24 | Toshiba Corp | ディスクアレイ装置及び物理配置最適化方法 |
Families Citing this family (71)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7340741B2 (en) * | 2003-02-28 | 2008-03-04 | International Business Machines Corporation | Auto-restart processing in an IMS batch application |
US8014321B2 (en) * | 2004-10-22 | 2011-09-06 | Microsoft Corporation | Rendezvousing resource requests with corresponding resources |
US20110082928A1 (en) | 2004-10-22 | 2011-04-07 | Microsoft Corporation | Maintaining consistency within a federation infrastructure |
US20080288659A1 (en) * | 2006-11-09 | 2008-11-20 | Microsoft Corporation | Maintaining consistency within a federation infrastructure |
US8392515B2 (en) | 2004-10-22 | 2013-03-05 | Microsoft Corporation | Subfederation creation and maintenance in a federation infrastructure |
US8549180B2 (en) * | 2004-10-22 | 2013-10-01 | Microsoft Corporation | Optimizing access to federation infrastructure-based resources |
US7849361B2 (en) * | 2005-12-22 | 2010-12-07 | Emc Corporation | Methods and apparatus for multiple point in time data access |
US8990613B2 (en) | 2006-06-29 | 2015-03-24 | Dssdr, Llc | Data transfer and recovery |
US9015520B2 (en) | 2006-06-29 | 2015-04-21 | Dssdr, Llc | Data transfer and recovery |
US7487383B2 (en) * | 2006-06-29 | 2009-02-03 | Dssdr, Llc | Data transfer and recovery process |
JP5103807B2 (ja) * | 2006-06-30 | 2012-12-19 | 富士通株式会社 | 制御プログラム、制御方法、情報処理装置及び情報処理システム |
JP2008171032A (ja) * | 2007-01-05 | 2008-07-24 | Hitachi Ltd | ストレージ装置、及びこれを用いた記憶制御方法 |
US8706687B2 (en) * | 2007-01-24 | 2014-04-22 | Hewlett-Packard Development Company, L.P. | Log driven storage controller with network persistent memory |
US7958263B2 (en) * | 2007-02-20 | 2011-06-07 | International Business Machines Corporation | Address reduction for data storage enclosures |
US8818936B1 (en) * | 2007-06-29 | 2014-08-26 | Emc Corporation | Methods, systems, and computer program products for processing read requests received during a protected restore operation |
US7805632B1 (en) * | 2007-09-24 | 2010-09-28 | Net App, Inc. | Storage system and method for rapidly recovering from a system failure |
US9501542B1 (en) | 2008-03-11 | 2016-11-22 | Emc Corporation | Methods and apparatus for volume synchronization |
US20100146188A1 (en) * | 2008-12-09 | 2010-06-10 | Bramante William J | Replicated file system for electronic devices |
US9256598B1 (en) | 2009-08-19 | 2016-02-09 | Emc Corporation | Systems, methods, and computer readable media for copy-on-demand optimization for large writes |
US8504526B2 (en) * | 2010-06-04 | 2013-08-06 | Commvault Systems, Inc. | Failover systems and methods for performing backup operations |
US8694700B1 (en) | 2010-09-29 | 2014-04-08 | Emc Corporation | Using I/O track information for continuous push with splitter for storage device |
US8335771B1 (en) | 2010-09-29 | 2012-12-18 | Emc Corporation | Storage array snapshots for logged access replication in a continuous data protection system |
US9864772B2 (en) * | 2010-09-30 | 2018-01-09 | International Business Machines Corporation | Log-shipping data replication with early log record fetching |
US8793343B1 (en) | 2011-08-18 | 2014-07-29 | Amazon Technologies, Inc. | Redundant storage gateways |
US9367501B2 (en) * | 2011-11-10 | 2016-06-14 | International Business Machines Corporation | Dynamic streaming data dispatcher |
US9223659B1 (en) | 2012-06-28 | 2015-12-29 | Emc International Company | Generating and accessing a virtual volume snapshot in a continuous data protection system |
US9336094B1 (en) | 2012-09-13 | 2016-05-10 | Emc International Company | Scaleout replication of an application |
US10235145B1 (en) | 2012-09-13 | 2019-03-19 | Emc International Company | Distributed scale-out replication |
US9152339B1 (en) | 2013-03-15 | 2015-10-06 | Emc Corporation | Synchronization of asymmetric active-active, asynchronously-protected storage |
US9087112B1 (en) | 2013-06-24 | 2015-07-21 | Emc International Company | Consistency across snapshot shipping and continuous replication |
US9069709B1 (en) | 2013-06-24 | 2015-06-30 | Emc International Company | Dynamic granularity in data replication |
US9146878B1 (en) | 2013-06-25 | 2015-09-29 | Emc Corporation | Storage recovery from total cache loss using journal-based replication |
WO2015041685A1 (en) * | 2013-09-20 | 2015-03-26 | Georgia Tech Research Corporation | Hardware-assisted log protection devices and systems |
US9535612B2 (en) | 2013-10-23 | 2017-01-03 | International Business Machines Corporation | Selecting a primary storage device |
US9367260B1 (en) | 2013-12-13 | 2016-06-14 | Emc Corporation | Dynamic replication system |
US9405765B1 (en) | 2013-12-17 | 2016-08-02 | Emc Corporation | Replication of virtual machines |
US9158630B1 (en) | 2013-12-19 | 2015-10-13 | Emc Corporation | Testing integrity of replicated storage |
US9189339B1 (en) | 2014-03-28 | 2015-11-17 | Emc Corporation | Replication of a virtual distributed volume with virtual machine granualarity |
US10082980B1 (en) | 2014-06-20 | 2018-09-25 | EMC IP Holding Company LLC | Migration of snapshot in replication system using a log |
US9274718B1 (en) | 2014-06-20 | 2016-03-01 | Emc Corporation | Migration in replication system |
US9619543B1 (en) | 2014-06-23 | 2017-04-11 | EMC IP Holding Company LLC | Replicating in virtual desktop infrastructure |
US10101943B1 (en) | 2014-09-25 | 2018-10-16 | EMC IP Holding Company LLC | Realigning data in replication system |
US10437783B1 (en) | 2014-09-25 | 2019-10-08 | EMC IP Holding Company LLC | Recover storage array using remote deduplication device |
US10324798B1 (en) | 2014-09-25 | 2019-06-18 | EMC IP Holding Company LLC | Restoring active areas of a logical unit |
US9529885B1 (en) | 2014-09-29 | 2016-12-27 | EMC IP Holding Company LLC | Maintaining consistent point-in-time in asynchronous replication during virtual machine relocation |
US9910621B1 (en) | 2014-09-29 | 2018-03-06 | EMC IP Holding Company LLC | Backlogging I/O metadata utilizing counters to monitor write acknowledgements and no acknowledgements |
US9600377B1 (en) | 2014-12-03 | 2017-03-21 | EMC IP Holding Company LLC | Providing data protection using point-in-time images from multiple types of storage devices |
US10496487B1 (en) | 2014-12-03 | 2019-12-03 | EMC IP Holding Company LLC | Storing snapshot changes with snapshots |
US9405481B1 (en) | 2014-12-17 | 2016-08-02 | Emc Corporation | Replicating using volume multiplexing with consistency group file |
US9632881B1 (en) | 2015-03-24 | 2017-04-25 | EMC IP Holding Company LLC | Replication of a virtual distributed volume |
US10296419B1 (en) | 2015-03-27 | 2019-05-21 | EMC IP Holding Company LLC | Accessing a virtual device using a kernel |
US9411535B1 (en) | 2015-03-27 | 2016-08-09 | Emc Corporation | Accessing multiple virtual devices |
US9678680B1 (en) | 2015-03-30 | 2017-06-13 | EMC IP Holding Company LLC | Forming a protection domain in a storage architecture |
US10853181B1 (en) | 2015-06-29 | 2020-12-01 | EMC IP Holding Company LLC | Backing up volumes using fragment files |
US10083082B2 (en) * | 2015-09-07 | 2018-09-25 | International Business Machines Corporation | Efficient index checkpointing in log-structured object stores |
US10083089B2 (en) * | 2015-09-07 | 2018-09-25 | International Business Machines Corporation | Efficient index recovery in log-structured object stores |
JP2017091456A (ja) * | 2015-11-17 | 2017-05-25 | 富士通株式会社 | 制御装置、制御プログラムおよび制御方法 |
US9684576B1 (en) | 2015-12-21 | 2017-06-20 | EMC IP Holding Company LLC | Replication using a virtual distributed volume |
US10133874B1 (en) | 2015-12-28 | 2018-11-20 | EMC IP Holding Company LLC | Performing snapshot replication on a storage system not configured to support snapshot replication |
US10235196B1 (en) | 2015-12-28 | 2019-03-19 | EMC IP Holding Company LLC | Virtual machine joining or separating |
US10067837B1 (en) | 2015-12-28 | 2018-09-04 | EMC IP Holding Company LLC | Continuous data protection with cloud resources |
US10152267B1 (en) | 2016-03-30 | 2018-12-11 | Emc Corporation | Replication data pull |
US10235087B1 (en) | 2016-03-30 | 2019-03-19 | EMC IP Holding Company LLC | Distributing journal data over multiple journals |
US10579282B1 (en) | 2016-03-30 | 2020-03-03 | EMC IP Holding Company LLC | Distributed copy in multi-copy replication where offset and size of I/O requests to replication site is half offset and size of I/O request to production volume |
US10235060B1 (en) | 2016-04-14 | 2019-03-19 | EMC IP Holding Company, LLC | Multilevel snapshot replication for hot and cold regions of a storage system |
US10146961B1 (en) | 2016-09-23 | 2018-12-04 | EMC IP Holding Company LLC | Encrypting replication journals in a storage system |
US10235091B1 (en) | 2016-09-23 | 2019-03-19 | EMC IP Holding Company LLC | Full sweep disk synchronization in a storage system |
US10019194B1 (en) | 2016-09-23 | 2018-07-10 | EMC IP Holding Company LLC | Eventually consistent synchronous data replication in a storage system |
US10210073B1 (en) | 2016-09-23 | 2019-02-19 | EMC IP Holding Company, LLC | Real time debugging of production replicated data with data obfuscation in a storage system |
US10235090B1 (en) | 2016-09-23 | 2019-03-19 | EMC IP Holding Company LLC | Validating replication copy consistency using a hash function in a storage system |
JP2023012217A (ja) * | 2021-07-13 | 2023-01-25 | 富士通株式会社 | 管理プログラム、管理方法、管理装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62297948A (ja) * | 1986-06-18 | 1987-12-25 | Hitachi Ltd | デ−タベ−スの障害回復方式 |
JPH04242842A (ja) * | 1990-12-29 | 1992-08-31 | Nec Corp | データベースバッファ制御装置 |
JP2005267301A (ja) * | 2004-03-19 | 2005-09-29 | Hitachi Ltd | ログ同期dbデータ非同期転送によるリカバリ方式および装置 |
JP2006004147A (ja) * | 2004-06-17 | 2006-01-05 | Hitachi Ltd | ディザスタリカバリシステム、プログラム及びデータベースのリカバリ方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5530855A (en) | 1992-10-13 | 1996-06-25 | International Business Machines Corporation | Replicating a database by the sequential application of hierarchically sorted log records |
JP4318902B2 (ja) * | 2002-10-15 | 2009-08-26 | 株式会社日立製作所 | 記憶装置システムの制御方法、記憶装置システム、およびプログラム |
JP4575119B2 (ja) * | 2004-11-25 | 2010-11-04 | 株式会社日立製作所 | ストレージシステム |
-
2006
- 2006-02-03 JP JP2006026676A patent/JP4727437B2/ja active Active
- 2006-04-04 US US11/396,644 patent/US7353335B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62297948A (ja) * | 1986-06-18 | 1987-12-25 | Hitachi Ltd | デ−タベ−スの障害回復方式 |
JPH04242842A (ja) * | 1990-12-29 | 1992-08-31 | Nec Corp | データベースバッファ制御装置 |
JP2005267301A (ja) * | 2004-03-19 | 2005-09-29 | Hitachi Ltd | ログ同期dbデータ非同期転送によるリカバリ方式および装置 |
JP2006004147A (ja) * | 2004-06-17 | 2006-01-05 | Hitachi Ltd | ディザスタリカバリシステム、プログラム及びデータベースのリカバリ方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009151637A (ja) * | 2007-12-21 | 2009-07-09 | Nomura Research Institute Ltd | 業務継続システム |
JP2009217700A (ja) * | 2008-03-12 | 2009-09-24 | Toshiba Corp | ディスクアレイ装置及び物理配置最適化方法 |
Also Published As
Publication number | Publication date |
---|---|
US7353335B2 (en) | 2008-04-01 |
JP4727437B2 (ja) | 2011-07-20 |
US20070185924A1 (en) | 2007-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4727437B2 (ja) | データベースを有するストレージシステムの記憶制御方法 | |
JP4741371B2 (ja) | システム、サーバ装置及びスナップショットの形式変換方法 | |
US8977826B1 (en) | Extent commands in replication | |
JP4756992B2 (ja) | ストレージシステム及び記憶制御方法 | |
US8285824B2 (en) | Storage system and data replication method that refuses one or more requests for changing the first logical configuration information until the first storage apparatus and second storage apparatus are synchronized | |
US20140208012A1 (en) | Virtual disk replication using log files | |
US7571292B2 (en) | Producing tertiary instant virtual copies without volume suspension | |
US8024537B2 (en) | Storage system, remote copy and management method therefor | |
JP2006023889A (ja) | リモートコピーシステム及び記憶装置システム | |
JP2007179342A (ja) | ストレージシステム及びスナップショット管理方法 | |
JP2007200114A (ja) | データベース回復方法及び計算機システム | |
JP5286212B2 (ja) | ストレージクラスタ環境でのリモートコピー制御方法及びシステム | |
JP4508798B2 (ja) | ストレージリモートコピー方式 | |
JP6136629B2 (ja) | ストレージ制御装置,ストレージシステム,および制御プログラム | |
US20090254722A1 (en) | Data storage apparatus | |
US8108637B2 (en) | Information processing system, controlling method in information processing system, and managing apparatus to manage remote copy in consideration of saving power | |
JP5561334B2 (ja) | データ転送装置 | |
US20090177916A1 (en) | Storage system, controller of storage system, control method of storage system | |
JP5170169B2 (ja) | ディスクアレイ装置間のリモートコピー処理システム、処理方法、及び処理用プログラム | |
JP4489500B2 (ja) | バックアップ方法、バックアップシステム、ディスク制御装置、及びバックアッププログラム | |
JP2005234860A (ja) | バージョン管理システム、バージョン管理サーバ装置、及び記憶デバイス制御装置 | |
JP2007034551A (ja) | データの二重化管理方法 | |
US10656867B2 (en) | Computer system, data management method, and data management program | |
JP4294692B2 (ja) | 情報処理システム | |
JP7050707B2 (ja) | ストレージ制御装置、ストレージシステム、ストレージ制御方法、及び、ストレージ制御プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081128 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110328 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110412 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110413 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140422 Year of fee payment: 3 |