JP7310110B2 - storage and information processing systems; - Google Patents
storage and information processing systems; Download PDFInfo
- Publication number
- JP7310110B2 JP7310110B2 JP2018183046A JP2018183046A JP7310110B2 JP 7310110 B2 JP7310110 B2 JP 7310110B2 JP 2018183046 A JP2018183046 A JP 2018183046A JP 2018183046 A JP2018183046 A JP 2018183046A JP 7310110 B2 JP7310110 B2 JP 7310110B2
- Authority
- JP
- Japan
- Prior art keywords
- metadata
- data
- storage medium
- storage
- position information
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本願発明は、メタデータを用いてデータを管理するストレージ及びシステムに関する。 The present invention relates to storage and systems that manage data using metadata.
近年、SSD(solid state drive)や、HDD(hard disk drive)等のような記憶媒体を用いてデータを管理する手法が、主流になりつつある。このような記憶媒体を含むストレージ装置は、外部装置からの要求に対して、内蔵するアクセス手段及びメタデータを用いて、記憶媒体上のデータにアクセスを行う。 In recent years, methods of managing data using storage media such as SSDs (solid state drives) and HDDs (hard disk drives) have become mainstream. A storage device including such a storage medium accesses data on the storage medium using internal access means and metadata in response to a request from an external device.
メタデータは、記憶媒体におけるデータの格納位置を示す位置情報を含む。具体的に、ストレージ装置におけるアクセス手段は、外部装置からデータの読み出し要求を受けると、メタデータに含まれる位置情報を参照し、記憶媒体上において当該データの格納位置を特定することで、記憶媒体からデータの読み出しを行っている。また、ストレージ装置におけるアクセス手段は、外部装置からデータの書き込み要求を受けると、記憶媒体上にデータを書き込み、当該データを書き込んだ位置を示す位置情報を、メタデータに書き込む。 Metadata includes position information indicating the storage position of data on the storage medium. Specifically, when the access means in the storage device receives a data read request from an external device, it refers to the location information included in the metadata and specifies the storage location of the data on the storage medium. I am reading data from. Further, when receiving a data write request from an external device, the access means in the storage device writes the data onto the storage medium, and writes the position information indicating the position where the data is written in the metadata.
なお、このようなストレージ装置は、ストレージ装置1つにつき、メタデータを1つ含むことが多い。 Note that such a storage device often includes one piece of metadata per storage device.
メタデータを用いてデータの管理を行う技術の1例として、特許文献1が挙げられる。特許文献1に記載のファイルシステムでは、ストレージ装置上の所定領域にメタデータを記憶させる。メタデータには、ファイルデータとファイルデータが格納された位置とを互いに関連付けたマップ情報及びその他諸々の情報が含められている。ストレージ装置にファイルデータを書き込む際は、まず、所定領域に格納されているメタデータ群を読み出し、メタデータ群を解析し、解析結果とファイルデータのサイズから、ファイルデータを書き込む位置を特定する。書き込む位置を特定すると、ファイルデータに関するメタデータを生成し、ストレージ装置の所定領域に、生成したメタデータを書き込む。この時、メタデータには、ファイルデータが実際にどの位置(ブロック)に記憶されるのかを表すマップ情報を含める。また、そのマップ情報に従って、ファイルデータをストレージ装置に書き込む。
また、メタデータの読み出しを高速化する技術の一例として、特許文献2が挙げられる。特許文献2に記載の技術は、各物理ボリュームに格納されている、ボリューム・グループ管理用のメタデータのうち、1つの物理ボリュームに一括化することが可能なメタデータを一括化し、当該一括化メタデータからメタデータの読み出しを行うことで、各物理ボリュームのメタデータ読み出しを高速化する。また、特許文献2に記載の技術では、一括化メタデータとして、元の物理ボリュームの先頭に配置されているメタデータ1~nの複製を使用する。
In addition, as an example of technology for speeding up the reading of metadata, Japanese Patent Application Laid-Open No. 2002-300001 is cited. The technology described in
ところで、メタデータを用いてデータの管理を行うストレージ装置では、リアルタイムで取得されたデータを記憶媒体に書き込みつつ、分析のために、記憶媒体から過去に書き込まれたデータを読み出す処理が行われる場合がある。このような処理では、複数のアクセス手段を平行して用いて、データの読み出しや書き込みが行われることが多い。複数のアクセス手段が1つのメタデータに対してデータを書き込む際は、書き込み競合によるデータ破壊を防ぐため、当該メタデータに対して排他制御等が行われる。 By the way, in a storage device that manages data using metadata, there is a case where data acquired in real time is written to a storage medium while data written in the past is read from the storage medium for analysis. There is In such processing, data is often read and written using a plurality of access means in parallel. When multiple access means write data to one piece of metadata, exclusive control or the like is performed on the metadata in order to prevent data destruction due to write competition.
従って、特定のアクセス手段が、メタデータに位置情報を書き込んでいる間、他のアクセス手段は、当該メタデータに対してアクセスすることができない。 Therefore, while a specific access means is writing position information to metadata, other access means cannot access the metadata.
特許文献1及び特許文献2に記載の技術は、特定のアクセス手段が、マップ情報を含むメタデータにデータの書き込みを行っている場合、他のアクセス手段は当該メタデータに対してアクセスすることができなくなる。従って、特許文献1及び2に記載の技術では、メタデータに対して、効率良くアクセスすることができない。
In the techniques described in
本願発明は、上記課題を解決し、メタデータに対して効率良くアクセスすることができるストレージ及び情報処理システムを提供することができる。 The present invention can solve the above problems and provide a storage and information processing system that can efficiently access metadata.
本願発明のストレージは、データを格納する記憶媒体と、前記記憶媒体にデータを書き込む処理及び前記記憶媒体からデータを読み出す処理を行う複数のアクセス手段と、前記複数のアクセス手段が、前記記憶媒体にデータを書きこんだ位置を示す位置情報を含む第1のメタデータを格納する第1の格納手段と、前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する第2の格納手段と、を含み、前記複数のアクセス手段は、前記第2のメタデータを用いて前記記憶媒体からデータを読み出す。
A storage according to the present invention comprises a storage medium for storing data, a plurality of access means for performing processing of writing data to the storage medium and processing of reading data from the storage medium, and first storage means for storing first metadata including position information indicating a position where data is written; and second storage means for storing second metadata including position information indicating a data storage position in the
本願発明の情報処理システムは、データを格納する記憶媒体と、前記記憶媒体にデータを書き込む第1のサーバと、前記記憶媒体からデータを読み出す第2のサーバと、前記第1のサーバは、前記第1のサーバが前記記憶媒体にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納し、前記第2のサーバは、前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納し、当該第2のメタデータを用いて前記記憶媒体からデータを読み出す。 An information processing system according to the present invention comprises a storage medium for storing data, a first server for writing data to the storage medium, a second server for reading data from the storage medium, and the first server comprising: A first server stores first metadata including location information indicating a location where data is written in the storage medium, and the second server includes location information indicating a storage location of data in the storage medium. Second metadata is stored and data is read from the storage medium using the second metadata.
本願発明は、メタデータに対して効率良くアクセスすることができるストレージ及び情報処理システムを提供する The present invention provides a storage and information processing system that can efficiently access metadata
<第1の実施形態>
[構成]
本願発明の第1の実施形態を、図面を参照して説明する。図1は、第1の実施形態における、ストレージ1の構成を示す図である。
<First embodiment>
[composition]
A first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing the configuration of a
ストレージ1は、記憶媒体2、第1のアクセス手段3、第2のアクセス手段4、第1の格納手段5、及び第2の格納手段6を含む。ストレージ1は、気象予報、株価の動向分析、又は商品の売れ筋分析等のような、データを蓄積しつつ、過去に蓄積されたデータを分析する技術に適用することが可能である。
The
記憶媒体2は、データを格納する媒体である。具体的に、記憶媒体2は、データの書き込み及び読み出しが可能な媒体である。記憶媒体30の具体例として、SSD、HDD、フラッシュメモリ、SDカード、eMMc(embedded Multi Media Card)等が挙げられるが、本願発明はこれらに限定されない。
The
第1のアクセス手段3は、記憶媒体2及び第1の格納手段5にアクセスを行う手段である。第1のアクセス手段3は、外部装置からデータの書き込み要求を受けると、記憶媒体2に当該データを書き込む処理を行う。第1のアクセス手段3は、記憶媒体2にデータを書き込む際、記憶媒体2において既にデータが記憶されている位置とは異なる位置にデータを書き込む。第1のアクセス手段3が、記憶媒体2にデータを書き込む処理の詳細な説明については後述する。
The first access means 3 is means for accessing the
第2のアクセス手段4は、記憶媒体2及び第2の格納手段6にアクセスを行う手段である。第2のアクセス手段4は、外部装置からデータの読み出し要求を受けると、記憶媒体2からデータを読み出す処理を行う。例えば、第1のアクセス手段3及び第2のアクセス手段4は、ストレージ1におけるプロセッサ等により構成される。しかし、第1のアクセス手段3及び第2のアクセス手段4は、外部装置及び記憶媒体と通信可能なものであれば、どのような構成でも構わない。
A second access means 4 is means for accessing the
第1の格納手段5は、第1のアクセス手段3が記憶媒体2にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納する。第1のアクセス手段3は、記憶媒体2にデータを書き込んだ場合、当該データを書き込んだ位置を示す位置情報を第1のメタデータに書き込む。メタデータとは、外部装置から要求されたデータの論理アドレスを、記憶媒体2における物理アドレスに変換する変換テーブルである。なお、位置情報の具体例については後述する。
The first storage means 5 stores first metadata including position information indicating the position where the first access means 3 has written data to the
第2の格納手段6は、記憶媒体2におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する。なお、第1の格納手段5及び第2の格納手段6は、メモリ等のように、メタデータを格納可能なものであれば、どのような構成でも構わない。第2のアクセス手段4は、記憶媒体2からデータを読み出す際、第2の格納手段6に格納された第2のメタデータを用いて、当該データが格納された位置を特定し、記憶媒体2から当該データを読み出す。なお、第1のメタデータが有する位置情報は、特定のタイミングで、第2のメタデータが有する位置情報に更新される。特定のタイミングの具体例については後述する。
[動作]
次に、本願発明の第1の実施形態における主な動作を説明する。
The second storage means 6 stores second metadata including position information indicating the storage position of data in the
[motion]
Next, main operations in the first embodiment of the present invention will be described.
図2は、データを書き込む処理を示すフローチャートである。 FIG. 2 is a flow chart showing the process of writing data.
第1のアクセス手段3は、外部装置からデータの書き込み要求を受けると(S1)、記憶媒体2に当該データを書き込む処理を行う(S2)。 When the first access means 3 receives a data write request from an external device (S1), the first access means 3 writes the data in the storage medium 2 (S2).
第1のアクセス手段3は、記憶媒体2にデータを書き込んだ場合、当該データを書き込んだ位置を示す位置情報を第1のメタデータに書き込む(S3)。
When data is written to the
図3は、データを読み出す処理を示すフローチャートである。 FIG. 3 is a flow chart showing the process of reading data.
第2のアクセス手段4は、外部装置からデータの読み出し要求を受けると(S11)、第2の格納手段6に格納された第2のメタデータを用いて、当該データが格納された位置を特定する(S12)。 When the second access means 4 receives a data read request from an external device (S11), it uses the second metadata stored in the second storage means 6 to identify the location where the data is stored. (S12).
第2のアクセス手段4は、当該特定した位置を用いて、記憶媒体2から読み出し要求を受けたデータを読み出す(S13)。 The second access means 4 uses the specified position to read the data requested to be read from the storage medium 2 (S13).
これにより、第1の実施形態に係る本願発明は、メタデータに対して効率良くアクセスすることができる。 As a result, the present invention according to the first embodiment can efficiently access metadata.
その理由は、ストレージ1が、データを格納する記憶媒体2と、記憶媒体2にデータを書き込む第1のアクセス手段3と、記憶媒体2からデータを読み出す第2のアクセス手段4と、第1のアクセス手段3が記憶媒体2にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納する第1の格納手段5と、記憶媒体2におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する第2の格納手段6と、を含み、第2のアクセス手段4は、第2のメタデータを用いて記憶媒体2からデータを読み出すからである。
<第2の実施形態>
[構成]
本願発明の第2の実施形態を、図面を参照して説明する。図4は、第1の実施形態における、ストレージ装置10の構成を示す図である。
The reason is that the
<Second embodiment>
[composition]
A second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a diagram showing the configuration of the
ストレージ装置10は、記憶媒体30、アクセス手段40、書き込み用メタデータ50、読み出し用メタデータ60、及び更新手段70を含む。
The
外部装置20は、アクセス手段40に対して、データの書き込み要求やデータの読み出し要求等を行う。データの書き込み要求及び読み出し要求は、当該データの容量及び当該データの位置を示す情報を含む。外部装置20は、ホストコンピュータ等の装置を含む。なお、外部装置20は、ストレージ装置10と通信可能な外部装置であるならば、どのような装置を用いても構わない。図4に記載のように、ストレージ装置10は、複数の外部装置20と接続可能である。
The
記憶媒体30は、データの書き込み及び読み出しが可能な媒体である。記憶媒体30の具体例として、SSD、HDD、フラッシュメモリ、SDカード、eMMc等が挙げられるが、本願発明はこれらに限定されない。また、記憶媒体30は、複数の媒体を組み合わせ、RAID(Redundant Allay of Inexpensive Disks)を構成しても良いし、1つの媒体を用いても良い。
The
アクセス手段40は、記憶媒体30と、書き込み用メタデータ50と、読み出し用メタデータ60とにアクセスし、データの書き込み又はデータの読み出しを行なう。
The access means 40 accesses the
具体的に、アクセス手段40は、外部装置20からデータの書き込み要求を受けると、記憶媒体30にデータを書き込み、当該データを書き込んだ位置を示す位置情報を、書き込み用メタデータ50に書き込む。
Specifically, when receiving a data write request from the
なお、アクセス手段40が記憶媒体30にデータを書き込む際は、記憶媒体30において、既にデータが記憶されている位置とは異なる位置にデータを書き込む。具体的には、アクセス手段40が、特定の位置へデータを書き込む要求を受けた際、当該特定の位置にデータが既に書き込まれていた場合は上書きせず、当該特定の位置とは別の位置にデータを書き込む。もし、既に記憶媒体30に書き込まれたデータを上書きしてしまった際、読み出し用メタデータ60には、当該上書きされたデータではなく、当該上書きされる前のデータに関する位置情報が含まれる場合がある。つまり、記憶媒体30に上書きを行ってしまうと、読み出し用メタデータ60に含まれる位置情報と実際にデータが書き込まれた位置とで、位置情報の不整合が生じてしまい、データを読み出す際に不具合を生じるおそれがある。従って、アクセス手段40が、上記のようにデータを書き込む処理は、当該不整合を防ぐ点で有効である。なお、アクセス手段40は、最後に記憶媒体30に書き込みを行なった位置の続きから、データを書き込んでも良い。アクセス手段40は、当該位置を把握するために、メタデータを用いても良いし、最後に書き込みを行なった位置を別途記憶するメモリを用意し、当該メモリを用いても良い。しかし、アクセス手段40は、当該手法に限られず、既にデータが記憶されている位置とは異なる位置にデータを書き込めるのであれば、どのような方法を用いても良い。
When the
なお、アクセス手段40が上書きをせずにデータを書き込むことで、記憶媒体30の容量が不足した場合は、媒体を新たに追加する。
If the capacity of the
上記のように、記憶媒体30に対して上書きを行わないストレージ装置10は、気象予報、株価の動向分析、又は商品の売れ筋分析等のような、データを蓄積しつつ、過去に蓄積されたデータを分析する技術に適用した場合に、特に効果を奏する。なぜなら、当該ストレージ装置10は、過去に蓄積したデータに対して上書きを行わないため、全てのデータを、記憶媒体30への格納時の状態のままで蓄積しているためである。
As described above, the
また、アクセス手段40は、外部装置20からデータの読み出し要求があった場合は、読み出し用メタデータ60にアクセスし、当該読み出し用メタデータ60に含まれる位置情報を参照し、読み出し要求に対応するデータの位置を特定する。アクセス手段40は、当該特定した位置を用いて、記憶媒体30から、読み出し要求に対応するデータを読み出す。
When the
なお、図4では、ストレージ装置10が3つのアクセス手段40を含む構成を説明したが、本願発明はこれに限られない。例えば、ストレージ装置10は、2以上のアクセス手段40を含むことが可能である。
Although FIG. 4 illustrates a configuration in which the
書き込み用メタデータ50は、アクセス手段40が記憶媒体30にデータを書き込んだ位置を示す位置情報を含む。なお、書き込み用メタデータ50は、バッファや、メモリ等のような、格納手段に格納されても良い。
The
読み出し用メタデータ60は、記憶媒体30におけるデータの格納位置を示す位置情報を含む。図4に記載のように、ストレージ装置10は、複数の読み出し用メタデータ60を含むことが可能である。図4では、一例として、2つの読み出し用メタデータ60が例示されているが、当該2つの読み出し用メタデータ60にそれぞれ含まれる位置情報は、同一のものである。なお、図4では、ストレージ装置10が2つの読み出し用メタデータ60を含む構成を説明したが、本願発明はこれに限られない。例えば、ストレージ装置10は、1以上の読み出し用メタデータ60を含むことが可能である。
The
読み出し用メタデータ60には、更新手段70及び外部装置20からデータの読み出し要求を受けたアクセス手段40のみが、アクセスすることが可能である。なお、読み出し用メタデータ60は、メモリ等の格納手段に格納されても良い。
Only the access means 40 that has received a data read request from the update means 70 and the
更新手段70は、書き込み用メタデータ50及び読み出し用メタデータ60にアクセスし、読み出し用メタデータ60に含まれる位置情報を更新する処理を行う。具体的に、更新手段70は、特定のタイミングで、書き込み用メタデータ50にアクセスし、当該書き込み用メタデータ50に含まれる位置情報を用いて、読み出し用メタデータ60に含まれる位置情報を更新する(以後、更新処理と呼称する)。
The updating means 70 accesses the
なお、更新処理は、前回の更新時から、新たに書き込み用メタデータ50に書き込まれた位置情報を、差分として、読み出し用メタデータ60に追加する処理でも良いし、書き込み用メタデータ50に含まれる全ての位置情報を、読み出し用メタデータ60にコピーする処理でも良い。特定のタイミングとは、一定の時間間隔毎、特定の時間毎、又は外部装置20から読み出し要求を受けたタイミングを示す。更新手段70が行う更新処理の、詳細な説明については後述する。
[動作]
次に、本願発明の第2の実施形態における主な動作を説明する。
Note that the update process may be a process of adding the position information newly written to the
[motion]
Next, main operations in the second embodiment of the present invention will be described.
図5は、更新処理の動作を示すフローチャートである。 FIG. 5 is a flowchart showing the operation of update processing.
更新手段70は、特定のタイミングの場合(S21でYes)、書き込み用メタデータ50にアクセスする(S22)。 At a specific timing (Yes in S21), the updating means 70 accesses the write metadata 50 (S22).
更新手段70は、書き込み用メタデータ50に含まれる位置情報を用いて、読み出し用メタデータ60を更新する(S23)。
[具体例]
第2の実施形態の主な具体例を、図4に記載の構成図を用いながら説明する。
The
[Concrete example]
A main specific example of the second embodiment will be described with reference to the block diagram shown in FIG.
本具体例では、主に、アクセス手段40が外部装置20からデータ書き込み要求を受けた場合の処理と、アクセス手段40が外部装置20からデータ読み出し要求を受けた場合の処理と、更新手段70が行う更新処理について説明する。
In this specific example, mainly, processing when the access means 40 receives a data write request from the
はじめに、アクセス手段40が外部装置20からデータの書き込み要求を受けた場合の処理について、具体例を用いて説明する。
First, the processing when the access means 40 receives a data write request from the
アクセス手段40は、外部装置20からデータの書き込み要求を受けると、記憶媒体30にデータを書き込み、当該データを書き込んだ位置を示す位置情報を、書き込み用メタデータ50に書き込む。
Upon receiving a data write request from the
図6に、アクセス手段40が、位置情報を書き込んだ書き込み用メタデータ50の具体例を示す。
FIG. 6 shows a specific example of the
書き込み用メタデータ50は、論理アドレス51と物理アドレス52とを含む。
Write
論理アドレス51とは、外部装置20が書き込み要求を行った位置を示す情報である。
The
物理アドレス52とは、記憶媒体30に格納されたデータの格納位置を示す情報である。なお、論理アドレス51及び物理アドレス52は、アドレス及びデータ量を用いて位置の情報を表現しても良い。例えば、論理アドレス51は、アドレス「AA」からYYバイトという情報で、位置を表現しても良いし、当該情報に対応する物理アドレス52は、「Disc1、アドレス2からYYバイト」という情報で、位置の情報を表現しても良い。なお、論理アドレス51及び物理アドレス52は、位置の情報を表現するものであれば、どのような手法を用いても構わない。また、位置情報は、物理アドレス52の情報でも良いし、物理アドレス52及びデータ量の情報でも良い。
The
具体的に、アクセス手段40は、外部装置20から、アドレス「ZZ」からXXバイト書き込むというデータの書き込み要求を受け、記憶媒体30の「Disc3、アドレス1」XXバイト書き込んだ場合、論理アドレス51には「ZZ」を、物理アドレス52には「Disc3、アドレス1」を書き込む。
Specifically, when the access means 40 receives a data write request to write XX bytes from the address “ZZ” from the
次に、アクセス手段40が外部装置20からデータ読み出し要求を受けた場合の処理について、具体例を用いて説明する。
Next, the processing when the access means 40 receives a data read request from the
アクセス手段40は、外部装置20からデータ読み出し要求を受けると、読み出し用メタデータ60にアクセスし、当該読み出し用メタデータ60に含まれる位置情報を参照し、読み出し要求に対応するデータの、記憶媒体30における位置を特定する。
When receiving a data read request from the
図7に、読み出し用メタデータ60の具体例を示す。
FIG. 7 shows a specific example of
読み出し用メタデータ60は、論理アドレス61と物理アドレス62とを含む。
Read
論理アドレス61とは、外部装置20が読み出し要求を行うアドレスを示す情報である。
The
物理アドレス62とは、記憶媒体30に格納されたデータの格納位置を示すアドレスの情報である。なお、論理アドレス61及び物理アドレス62も、論理アドレス51及び物理アドレス52と同様に、アドレス及びデータ量を用いて位置の情報を表現しても良い。
The
具体的に、アクセス手段40は、外部装置20から、アドレス「AA」からYYバイト読み出す、というデータの読み出し要求を受けると、読み出し用メタデータ60の論理アドレス61及び物理アドレス62を参照する。アクセス手段40は、論理アドレス61及び物理アドレス62を参照した結果、アドレス「AA」に対応するデータは、記憶媒体30における「Disc1、アドレス2」という位置に格納されていることを特定する。アクセス手段40は、「Disc1、アドレス2」からYYバイト読み出し、当該データを外部装置20へ送信する。
Specifically, when the access means 40 receives a data read request to read YY bytes from the address “AA” from the
次に、更新手段70が行う更新処理について、具体例を用いて説明する。 Next, the updating process performed by the updating means 70 will be described using a specific example.
更新手段70は、書き込み用メタデータ50及び読み出し用メタデータ60にアクセスし、読み出し用メタデータ60に含まれる位置情報を更新する処理を行う。本具体例では、更新処理の一例として、前回の更新時から、新たに書き込み用メタデータ50に書き込まれた位置情報を、差分として、読み出し用メタデータ60に追加する処理について説明する。
The updating means 70 accesses the
図8に、更新処理の概念図を示す。図8に示す更新処理の概念図は、上半分に、書き込み用メタデータ50の概念図を示し、下半分に、読み出し用メタデータ60の概念図を示す。また、図8に示す概念図では、更新処理について、3つのステップを用いて説明する。図8に示す概念図において、上半分に記載のステップ1と下半分に記載のステップ1とは、同様の時刻を示す。
FIG. 8 shows a conceptual diagram of update processing. The conceptual diagram of the update process shown in FIG. 8 shows a conceptual diagram of
ステップ1では、書き込み用メタデータ50の概念図及び読み出し用メタデータ60の概念図が、同一の位置情報を含むことを示す。
ここで、ステップ2において、アクセス手段40が、書き込み用メタデータ50に対して、新たな位置情報を書き込んだとする。当該新たな位置情報を、新たな位置情報80と呼称する。ステップ2を参照すると、書き込み用メタデータ50の概念図に、新たな位置情報80が追加されたことがわかる。なお、ステップ2の時点では、読み出し用メタデータ60に対して、新たな位置情報80は追加されていない。従って、ステップ2の時点では、外部装置20から、新たな位置情報80に対応するデータの読み出し要求があったとしても、新たな位置情報80に対応するデータを読み出すことはできない。なお、ステップ2の時点であっても、新たな位置情報80以前のデータについては、読み出すことが可能である。
Here, it is assumed that the access means 40 writes new position information to the
ステップ3では、更新手段70が更新処理を行い、新たな位置情報80が読み出し用メタデータ60に追加された具体例を示す。ステップ3に示す書き込み用メタデータ50の概念図及び読み出し用メタデータ60の概念図は、同一の位置情報を含むことを示す。
In
なお、アクセス手段40は、所望の位置情報を検索する際、新たな位置情報80から参照し、所望の位置情報が見つからない場合に、新たな位置情報80以外の位置情報を参照しても良い。
The access means 40 may refer to the
これにより、第2の実施形態に係る本願発明は、メタデータに対して効率良くアクセスすることができる。その理由は、書き込み用メタデータ50と読み出し用メタデータ60とを分けて管理することで、読み出し用メタデータ60において書き込み競合が発生するおそれが低下するからである。
As a result, the present invention according to the second embodiment can efficiently access metadata. The reason for this is that managing the
また、第2の実施形態に係る本願発明は、更新手段70が更新処理を行い、読み出し用メタデータ60に含まれる位置情報をアップデートすることで、外部装置20は新しく記憶媒体30に記憶されたデータを読み出すことができる。なお、読み出し用メタデータ60に含まれる位置情報は、その性質上、すでに記憶媒体30へのデータの書き込みが終了しているデータの位置を示す。従って、読み出し用メタデータ60に含まれる位置情報を用いてデータの読み出しを行なった場合、記憶媒体30に書き込み中のデータを読み出すことはない。つまり、本願発明は、リアルタイムのデータを蓄積するような技術分野に適用したとしても、書き込等によりリアルタイムで値が変化してしまうようなデータを読み出すことを防ぐことができる。当該構成は、気象予報、過去の株価の動向分析、又は商品の売れ筋分析等のような、データを蓄積しつつも、過去に蓄積されたデータを分析する技術において、特に効果がある。
In addition, according to the present invention according to the second embodiment, the update means 70 performs update processing to update the position information included in the
更に、第2の実施形態に係る本願発明は、アクセス手段40と、読み出し用メタデータ60とを複数含むため、効率的に、外部装置20からの読み出し要求に応えることができる。
Furthermore, since the present invention according to the second embodiment includes a plurality of access means 40 and read
なお、1つの読み出し用メタデータ60に対して、複数のアクセス手段40が、同時に位置情報の読み出しを行なった場合、メタデータを格納するメモリ等が有するバス(メタデータにアクセスする為の手段)の帯域が圧迫され、当該メタデータの読み出し性能が低下する可能性がある。しかし、第2の実施形態に係る本願発明は、読み出し用メタデータ60を複数含むため、当該メタデータの読み出し性能の低下を防ぐことができる。
Note that when a plurality of access means 40 simultaneously read out position information from one
なお、本具体例における書き込み用メタデータ50の説明として、読み出し用メタデータ60と同一の位置情報を含むと説明したが、本願発明はこれに限定されるわけではない。例えば、更新手段70は、書き込み用メタデータ50に含まれる位置情報を読み出し用メタデータ60に追加した後、当該追加した位置情報を書き込み用メタデータ50から削除しても良い。こうすることで、書き込み用メタデータ50の容量を削減することができる。
Although the
なお、本実施形態では、メタデータがストレージ装置10に含まれる実施形態を説明したが、本願発明はこれに限られない。例えば、書き込み用のメタデータ50を含むサーバと、読み出し用のメタデータ60を含む複数のサーバとが、単一の記憶媒体に接続された情報処理システムでも良い。この場合、各サーバ間は、ネットワークで接続され、記憶媒体に対しては、PCIe(Peripheral Component Interconnect-Express)等のような、高速なインターフェースで接続することで、実現可能である。
In this embodiment, an embodiment in which metadata is included in the
なお、ストレージ装置10は、更に、キャッシュを含んでも良い。例えば、外部装置20から読み出し要求を受けると、記憶媒体30からキャッシュへ対象のデータが送信され、当該キャッシュから、アクセス手段40へ対象のデータが送信されるという構成でも良い。
[プログラム]
本願発明におけるプログラムは、コンピュータに、本願発明の処理を実行させるプログラムである。このプログラムをコンピュータにインストールし、実行することによって、本願発明を実現することができる。
Note that the
[program]
A program in the present invention is a program that causes a computer to execute the processing of the present invention. The present invention can be implemented by installing and executing this program on a computer.
ここで、本願発明におけるプログラムを実行することによって、本願発明を実現するコンピュータについて図11を用いて説明する。 A computer that implements the present invention by executing the program of the present invention will now be described with reference to FIG.
図11は、本願発明実現するコンピュータの一例を示すブロック図である。 FIG. 11 is a block diagram showing an example of a computer that implements the present invention.
図11に示すように、コンピュータ110は、CPU111と、メインメモリ112と、記憶装置113と、入力インターフェイス114と、表示コントローラ115と、データリーダ/ライタ116と、通信インターフェイス117とを備える。これらの各部は、バス121を介して、互いにデータ通信可能に接続される。
As shown in FIG. 11 ,
CPU111は、記憶装置113に格納された、本願発明におけるプログラム(コード)をメインメモリ112に展開し、これらを所定順序で実行することにより、各種の演算を実施する。メインメモリ112は、典型的には、DRAM(Dynamic Random Access Memory)等の揮発性の記憶装置である。また、本願発明におけるプログラムは、コンピュータ読み取り可能な記録媒体120に格納された状態で提供される。なお、本願発明におけるプログラムは、通信インターフェイス117を介して接続されたインターネット上で流通するものであっても良い。
The
また、記憶装置113は、ハードディスクドライブの他、フラッシュメモリ等の半導体記憶装置が挙げられる。入力インターフェイス114は、CPU111と、入力機器118との間のデータ伝送を仲介する。入力機器118とは、例えば、キーボード及びマウス並びにタッチパネル等が挙げられる。表示コントローラ115は、ディスプレイ装置119と接続され、ディスプレイ装置119での表示を制御する。
The
データリーダ/ライタ116は、CPU111と記録媒体120との間のデータ伝送を仲介し、記録媒体120からのプログラムの読み出し、及びコンピュータ110における処理結果の記録媒体120への書き込みを実行する。通信インターフェイス117は、CPU111と他のコンピュータとの間のデータ伝送を仲介する。
Data reader/
また、記録媒体120の具体例としては、CF(Compact Flash(登録商標))及びSD(Secure Digital)等の汎用的な半導体記憶デバイス、又はフレキシブルディスク(Flexible Disk)等の磁気記憶媒体が挙げられる。更に、記録媒体120の具体例としては、CD-ROM(Compact Disk Read Only Memory)などの光学記憶媒体も挙げられる。
<第1の変形例>
本願発明の第2の実施形態における第1の変形例について、図面を用いて説明する。なお、第2の実施形態と同様の説明については省略する。
Specific examples of the
<First modification>
A first modification of the second embodiment of the present invention will be described with reference to the drawings. Note that the same description as in the second embodiment will be omitted.
図9は、第1の変形例におけるストレージ装置11の構成を示す図である。
FIG. 9 is a diagram showing the configuration of the
図9に示すとおり、第1の変形例におけるストレージ装置11は、第2の実施形態と異なり、読み出し用メタデータ60を1つ含む。
As shown in FIG. 9, the
アクセス手段40は、外部装置20から読み出し要求を受けると、読み出し用メタデータ60に含まれる位置情報を参照し、記憶媒体30から、読み出し要求に対応するデータを読み出す。
Upon receiving a read request from the
メタデータに対してデータを書き込む際は、書き込み競合が発生するため、排他制御等が行われ、当該メタデータに対して効率良くアクセスをすることができないが、メタデータに対してデータを読み出す際は、競合は発生しないため、排他制御等は行われない。従って、第1の変形例におけるストレージ装置11は、読み出し用メタデータ60を1つ含む構成であっても、メタデータに対して効率良くアクセスすることができる。
When data is written to metadata, a write conflict occurs, so exclusive control, etc. is performed, and the metadata cannot be accessed efficiently. , no conflict occurs, so no exclusive control is performed. Therefore, the
なお、複数のアクセス手段40が、1つの読み出し用メタデータ60に対して同時に位置情報の読み出しを行なった場合、メタデータが有するバス(メタデータにアクセスする為の手段)の帯域が圧迫され、当該メタデータの読み出し性能が低下するおそれがある。従って、本願発明は、メタデータの読み出し性能が低下しない範囲で、読み出し用メタデータ60の個数を設定することが望ましい。
<第2の変形例>
本願発明の第2の実施形態における第2の変形例について、図面を用いて説明する。なお、第2の実施形態と同様の説明については省略する。
Note that when a plurality of access means 40 simultaneously read out position information from one read-
<Second modification>
A second modification of the second embodiment of the present invention will be described with reference to the drawings. Note that the same description as in the second embodiment will be omitted.
図10は、第2の変形例におけるストレージ装置12の構成を示す図である。
FIG. 10 is a diagram showing the configuration of the
図10に示すとおり、第2の変形例におけるストレージ装置12は、アクセス手段40の代わりに、書き込み用アクセス手段200と、読み出し用アクセス手段220と、読み出し用アクセス手段240とを含む。また、第2の変形例におけるストレージ装置12は、書き込み用メタデータ50の代わりに、書き込み用メタデータ210を含む。更に、第2の変形例におけるストレージ装置12は、読み出し用メタデータ60の代わりに、読み出し用メタデータ230と、読み出し用メタデータ250とを含む。
As shown in FIG. 10 , the
書き込み用アクセス手段200は、外部装置20から書き込み要求を受けると、記憶媒体30にデータを書き込み、当該データを書き込んだ位置を示す位置情報を、書き込み用メタデータ210に書き込む。
Upon receiving a write request from the
読み出し用アクセス手段220は、外部装置20から読み出し要求を受けると、読み出し用メタデータ230に含まれる位置情報を参照し、記憶媒体30から、読み出し要求に対応するデータを読み出す。
Upon receiving a read request from the
読み出し用アクセス手段240は、外部装置20から読み出し要求を受けると、読み出し用メタデータ250に含まれる位置情報を参照し、記憶媒体30から、読み出し要求に対応するデータを読み出す。
Upon receiving a read request from the
このように、第2の変形例では、書き込み用メタデータにアクセスする手段と、読み出し用メタデータにアクセスする手段とが、それぞれ分けられて構成されている。また、アクセス手段とメタデータとが、用途に応じて、それぞれ組として構成されている。具体的に、第2の変形例では、書き込み用アクセス手段200及び書き込み用メタデータ210の組と、読み出し用アクセス手段220及び読み出し用メタデータ230の組と、読み出し用アクセス手段240及び読み出し用メタデータ250の組との3つの組で構成されている。なお、第2の変形例では、ストレージ装置12が3つの組を含む構成で説明したが、本願はこれに限られない。
Thus, in the second modification, means for accessing write metadata and means for accessing read metadata are configured separately. Also, the access means and the metadata are each configured as a set according to the application. Specifically, in the second modification, a set of write access means 200 and write
このように、アクセス手段とメタデータとが、用途に応じて組として構成されているため、第2の変形例におけるストレージ装置12は、メタデータにアクセスするアクセス手段を1つに限定することができる。つまり、第2の変形例におけるストレージ装置12は、メタデータにアクセスするアクセス手段を1つに限定することにより、1つのメタデータに対して複数のアクセス手段がアクセスすることを防ぐことができる。
In this way, the access means and the metadata are configured as a set according to the application, so the
ここまで、本願発明を実施するための形態を説明してきたが、本願発明は上述した実施形態に限定されるものではない。例えば、本明細書で記載したフローチャートにおける処理の順序はあくまでも一例に過ぎず、本願発明を実施する際に矛盾のない範囲で変更する事が可能である。また、本明細書で記載した構成はあくまでも一例に過ぎず、本願発明を実施する際に矛盾のない範囲で構成を変更する事が可能である。即ち、本願発明は、本願発明を実施する際に矛盾のない範囲で当業者が理解し得る様々な態様を適用することができ、上記各実施形態の変形例や、その組合せ等も、本願発明の技術的範囲に含まれる。
[付記]
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明における構成の概略を説明する。但し、本発明は、以下の構成に限定されない。
(付記1)
データを格納する記憶媒体と、
前記記憶媒体にデータを書き込む処理及び前記記憶媒体からデータを読み出す処理を行う複数のアクセス手段と、
前記複数のアクセス手段が、前記記憶媒体にデータを書きこんだ位置を示す位置情報を含む第1のメタデータを格納する第1の格納手段と、
前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する第2の格納手段と、を含み、
前記複数のアクセス手段は、前記第2のメタデータを用いて前記記憶媒体からデータを読み出す、
ストレージ。
(付記2)
前記複数のアクセス手段のうち、前記記憶媒体にデータを書き込むアクセス手段は、前記記憶媒体にデータを書きこんだ場合、当該記憶媒体にデータを書き込んだ位置を示す位置情報を、第1のメタデータに書き込む、
付記1に記載のストレージ。
(付記3)
前記複数のアクセス手段のうち、前記記憶媒体にデータを書き込むアクセス手段は、前記記憶媒体において、既にデータが記憶されている位置とは異なる位置にデータを書き込む、
付記1又は2に記載のストレージ。
(付記4)
前記第1のメタデータにおける位置情報を用いて、前記第2のメタデータに含まれる位置情報を更新する更新手段を更に含む、
付記1乃至3のいずれか1項に記載のストレージ。
(付記5)
前記更新手段は、前記第1のメタデータにおける位置情報を、前記第2のメタデータに含まれる位置情報にコピーする、
付記4に記載のストレージ。
(付記6)
前記更新手段は、前回の更新時から、前記第1のメタデータに新たに書き込まれた位置情報を、差分として、前記第2のメタデータに追加する、
付記4に記載のストレージ。
(付記7)
前記更新手段は、前記新たに書き込まれた位置情報を前記第2のメタデータ及び前記第3のメタデータに追加した場合、前記新たに書き込まれた位置情報を前記第1のメタデータから削除する、
付記6に記載のストレージ。
(付記8)
前記記憶媒体におけるデータの格納位置を示す位置情報を含む第3のメタデータを格納する第3の格納手段を更に含み、
前記複数のアクセス手段は、前記第2のメタデータ又は第3のメタデータを用いて前記記憶媒体からデータを読み出す、
付記1乃至7のいずれか1項に記載のストレージ。
(付記9)
付記1乃至8のいずれか1項に記載のストレージと、
1以上のコンピュータとを含み、
前記複数のアクセス手段のうち、第1のアクセス手段は、前記コンピュータからデータの書き込み要求を受けると、前記記憶媒体にデータを書き込み、
前記複数のアクセス手段のうち、第2のアクセス手段は、前記コンピュータからデータの読み出し要求を受けると、前記記憶媒体にデータを書き込む、
情報処理システム。
(付記10)
データを格納する記憶媒体と、
前記記憶媒体にデータを書き込む第1のサーバと、
前記記憶媒体からデータを読み出す第2のサーバと、
前記第1のサーバは、前記第1のサーバが前記記憶媒体にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納し、
前記第2のサーバは、前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納し、当該第2のメタデータを用いて前記記憶媒体からデータを読み出す、
情報処理システム。
(付記11)
前記更新手段は、前記新たに書き込まれた位置情報を前記第2のメタデータ及び前記第3のメタデータに追加した場合、前記新たに書き込まれた位置情報を前記第1のメタデータから削除する、
付記7に記載のストレージ。
(付記12)
データを格納する記憶媒体と、
前記記憶媒体にデータを書き込む第1のアクセス手段と、
前記記憶媒体からデータを読み出す第2のアクセス手段と、
前記第1のアクセス手段が前記記憶媒体にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納する第1の格納手段と、
前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する第2の格納手段と、を含み、
前記第2のアクセス手段は、前記第2のメタデータを用いて前記記憶媒体からデータを読み出す、
ストレージ。
Although the embodiments for carrying out the present invention have been described so far, the present invention is not limited to the above-described embodiments. For example, the order of processing in the flowcharts described in this specification is merely an example, and can be changed within a range that does not contradict when implementing the present invention. Moreover, the configuration described in this specification is merely an example, and it is possible to change the configuration within a range that is not inconsistent when implementing the present invention. That is, the present invention can apply various aspects that can be understood by those skilled in the art within a range that is not inconsistent when implementing the present invention, and modifications of the above embodiments, combinations thereof, etc. included in the technical scope of
[Appendix]
Some or all of the above embodiments may also be described as the following appendices. The outline of the configuration of the present invention will be described below. However, the present invention is not limited to the following configurations.
(Appendix 1)
a storage medium for storing data;
a plurality of access means for performing a process of writing data to the storage medium and a process of reading data from the storage medium;
a first storage means for storing first metadata including position information indicating positions where the plurality of access means have written data to the storage medium;
a second storage means for storing second metadata including position information indicating the storage position of the data in the storage medium;
the plurality of access means reads data from the storage medium using the second metadata;
storage.
(Appendix 2)
Of the plurality of access means, an access means for writing data to the storage medium stores position information indicating a position where the data is written to the storage medium as first metadata when the data is written to the storage medium. write to
Storage as described in
(Appendix 3)
Of the plurality of access means, the access means for writing data to the storage medium writes the data to a position different from a position where the data is already stored in the storage medium.
The storage according to
(Appendix 4)
further comprising updating means for updating location information contained in said second metadata using location information in said first metadata;
The storage according to any one of
(Appendix 5)
The updating means copies location information in the first metadata to location information included in the second metadata.
Storage as described in
(Appendix 6)
The updating means adds position information newly written in the first metadata since the previous update to the second metadata as a difference.
Storage as described in
(Appendix 7)
The updating means deletes the newly written position information from the first metadata when the newly written position information is added to the second metadata and the third metadata. ,
Storage as described in
(Appendix 8)
further comprising third storage means for storing third metadata including position information indicating the storage position of the data in the storage medium;
The plurality of access means reads data from the storage medium using the second metadata or the third metadata.
8. The storage according to any one of Appendices 1-7.
(Appendix 9)
The storage according to any one of
one or more computers;
a first access means among the plurality of access means writes data to the storage medium upon receiving a data write request from the computer;
a second access means among the plurality of access means writes data to the storage medium upon receiving a data read request from the computer;
Information processing system.
(Appendix 10)
a storage medium for storing data;
a first server that writes data to the storage medium;
a second server that reads data from the storage medium;
The first server stores first metadata including location information indicating a location where the first server has written data to the storage medium;
The second server stores second metadata including position information indicating a storage position of data in the storage medium, and reads data from the storage medium using the second metadata.
Information processing system.
(Appendix 11)
The updating means deletes the newly written position information from the first metadata when the newly written position information is added to the second metadata and the third metadata. ,
Storage as described in Appendix 7.
(Appendix 12)
a storage medium for storing data;
a first access means for writing data to the storage medium;
a second access means for reading data from the storage medium;
a first storage means for storing first metadata including position information indicating a position where the first access means has written data to the storage medium;
a second storage means for storing second metadata including position information indicating the storage position of the data in the storage medium;
the second access means reads data from the storage medium using the second metadata;
storage.
1 ストレージ
2 記憶媒体
3 第1のアクセス手段
4 第2のアクセス手段
5 第1の格納手段
6 第2の格納手段
10 ストレージ装置
20 外部装置
30 記憶媒体
40 アクセス手段
50 書き込み用メタデータ
51 論理アドレス
52 物理アドレス
60 読み出し用メタデータ
61 論理アドレス
62 物理アドレス
70 更新手段
80 新たな位置情報
110 コンピュータ
111 CPU
112 メインメモリ
113 記憶装置
114 入力インターフェイス
115 表示コントローラ
116 データリーダ/ライタ
117 通信インターフェイス
118 入力機器
119 ディスプレイ装置
120 記録媒体
200 書き込み用アクセス手段
210 書き込み用メタデータ
220 読み出し用アクセス手段
230 読み出し用メタデータ
240 読み出し用アクセス手段
250 読み出し用メタデータ
1
112
Claims (10)
前記記憶媒体にデータを書き込む処理及び前記記憶媒体からデータを読み出す処理を行う複数のアクセス手段と、
前記複数のアクセス手段が、前記記憶媒体にデータを書きこんだ位置を示す位置情報を含む第1のメタデータを格納する第1の格納手段と、
前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納する第2の格納手段と、
前記第1のメタデータにおける位置情報を用いて、前記第2のメタデータに含まれる位置情報を更新する更新手段と、を含み、
前記複数のアクセス手段のうち、前記記憶媒体にデータを書き込むアクセス手段は、前記記憶媒体にデータを書きこんだ場合、当該記憶媒体にデータを書き込んだ位置を示す位置情報を、前記第1のメタデータに新たに書き込み、
前記更新手段は、前記第1のメタデータに新たに書き込まれた位置情報が含まれるよう、前記第2のメタデータに含まれる位置情報を更新し、
前記複数のアクセス手段は、前記記憶媒体から所定のデータを読み出す際に、前記第2のメタデータに対して、前記所定のデータの位置情報を検索し、前記所定のデータの位置情報を特定すると、当該特定された位置情報を用いて、前記記憶媒体から前記所定のデータを読み出し、
前記複数のアクセス手段は、前記第2のメタデータに対して前記所定のデータの位置情報を検索する際に、前記第2のメタデータのうち、前記新たに書き込まれた位置情報から参照する、
ストレージ。 a storage medium for storing data;
a plurality of access means for performing a process of writing data to the storage medium and a process of reading data from the storage medium;
a first storage means for storing first metadata including position information indicating positions where the plurality of access means have written data to the storage medium;
a second storage means for storing second metadata including position information indicating a data storage position in the storage medium;
updating means for updating the location information included in the second metadata using the location information in the first metadata;
Of the plurality of access means, when data is written to the storage medium, the access means for writing data to the storage medium transmits position information indicating the position where the data was written to the storage medium to the first meta. write new data
The updating means updates the location information included in the second metadata so that the newly written location information is included in the first metadata,
When reading predetermined data from the storage medium, the plurality of access means searches the second metadata for position information of the predetermined data, and identifies the position information of the predetermined data. , using the identified position information to read the predetermined data from the storage medium;
The plurality of access means refer to the newly written position information in the second metadata when retrieving the position information of the predetermined data in the second metadata. do,
storage.
請求項1に記載のストレージ。 Of the plurality of access means, the access means for writing data to the storage medium writes the data to a position different from a position where the data is already stored in the storage medium.
The storage of Claim 1.
請求項1または2に記載のストレージ。 The updating means copies location information in the first metadata to location information included in the second metadata.
3. Storage according to claim 1 or 2.
請求項1または2に記載のストレージ。 The update means adds the newly written position information from the previous update to the second metadata as a difference.
3. Storage according to claim 1 or 2.
請求項4に記載のストレージ。 The updating means deletes the newly written location information from the first metadata when the newly written location information is added to the second metadata.
5. Storage according to claim 4.
前記複数のアクセス手段は、前記第2のメタデータ又は前記第3のメタデータを用いて前記記憶媒体からデータを読み出す、
請求項1乃至5のいずれか1項に記載のストレージ。 further comprising third storage means for storing third metadata including position information indicating the storage position of the data in the storage medium;
the plurality of access means read data from the storage medium using the second metadata or the third metadata;
Storage according to any one of claims 1 to 5.
請求項6に記載のストレージ。 The update means adds the newly written position information from the previous update to the second metadata and the third metadata as a difference.
7. Storage according to claim 6.
請求項7に記載のストレージ。 The updating means deletes the newly written position information from the first metadata when the newly written position information is added to the second metadata and the third metadata. ,
8. Storage according to claim 7.
1以上のコンピュータとを含み、
前記複数のアクセス手段のうち、第1のアクセス手段は、前記コンピュータからデータの書き込み要求を受けると、前記記憶媒体にデータを書き込み、
前記複数のアクセス手段のうち、第2のアクセス手段は、前記コンピュータからデータの読み出し要求を受けると、前記記憶媒体にデータを書き込む、
情報処理システム。 A storage according to any one of claims 1 to 8;
one or more computers;
a first access means among the plurality of access means, upon receiving a data write request from the computer, writes data to the storage medium;
a second access means among the plurality of access means writes data to the storage medium upon receiving a data read request from the computer;
Information processing system.
前記記憶媒体にデータを書き込む第1のサーバと、
前記記憶媒体からデータを読み出す第2のサーバと、
更新手段と、を含み、
前記第1のサーバは、前記第1のサーバが前記記憶媒体にデータを書き込んだ位置を示す位置情報を含む第1のメタデータを格納し、
前記第2のサーバは、前記記憶媒体におけるデータの格納位置を示す位置情報を含む第2のメタデータを格納し、
前記更新手段は、前記第1のメタデータに新たに書き込まれた位置情報が含まれるよう、前記第2のメタデータに含まれる位置情報を更新し、
前記第2のサーバは、前記記憶媒体から所定のデータを読み出す際に、前記第2のメタデータに対して、前記所定のデータの位置情報を検索し、前記所定のデータの位置情報を特定すると、当該特定された位置情報を用いて、前記記憶媒体から前記所定のデータを読み出し、
前記第2のサーバは、前記第2のメタデータに対して前記所定のデータの位置情報を検索する際に、前記第2のメタデータのうち、前記新たに書き込まれた位置情報から参照する、
情報処理システム。 a storage medium for storing data;
a first server that writes data to the storage medium;
a second server that reads data from the storage medium;
updating means;
The first server stores first metadata including location information indicating a location where the first server has written data to the storage medium;
The second server stores second metadata including position information indicating a data storage position in the storage medium,
The updating means updates the location information included in the second metadata so that the newly written location information is included in the first metadata,
When the second server reads the predetermined data from the storage medium, the second server searches the second metadata for the position information of the predetermined data, and specifies the position information of the predetermined data. , using the identified position information to read the predetermined data from the storage medium;
The second server refers to the newly written position information in the second metadata when retrieving the position information of the predetermined data in the second metadata. do,
Information processing system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018183046A JP7310110B2 (en) | 2018-09-28 | 2018-09-28 | storage and information processing systems; |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018183046A JP7310110B2 (en) | 2018-09-28 | 2018-09-28 | storage and information processing systems; |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020052852A JP2020052852A (en) | 2020-04-02 |
JP7310110B2 true JP7310110B2 (en) | 2023-07-19 |
Family
ID=69997345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018183046A Active JP7310110B2 (en) | 2018-09-28 | 2018-09-28 | storage and information processing systems; |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7310110B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002149466A (en) | 2000-11-14 | 2002-05-24 | Hitachi Ltd | System for sharing file |
JP2004152136A (en) | 2002-10-31 | 2004-05-27 | Matsushita Electric Ind Co Ltd | Data update system, difference data generation device and program for data update system, and post-update file restoration device and program |
JP2006338461A (en) | 2005-06-03 | 2006-12-14 | Hitachi Ltd | System and method for controlling electronic file storage |
US20090271418A1 (en) | 2008-04-28 | 2009-10-29 | Vmware, Inc. | Computer file system with path lookup tables |
JP2010009390A (en) | 2008-06-27 | 2010-01-14 | Aisin Aw Co Ltd | Navigator and database updating program |
JP2018018133A (en) | 2016-07-25 | 2018-02-01 | 富士通株式会社 | Information processing apparatus, stream storage control program, and index data reference method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01243143A (en) * | 1988-03-24 | 1989-09-27 | Fujitsu Ltd | System for adding record in sequential organization file system |
JPH03217972A (en) * | 1990-01-24 | 1991-09-25 | Hitachi Ltd | File retrieving device |
-
2018
- 2018-09-28 JP JP2018183046A patent/JP7310110B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002149466A (en) | 2000-11-14 | 2002-05-24 | Hitachi Ltd | System for sharing file |
JP2004152136A (en) | 2002-10-31 | 2004-05-27 | Matsushita Electric Ind Co Ltd | Data update system, difference data generation device and program for data update system, and post-update file restoration device and program |
JP2006338461A (en) | 2005-06-03 | 2006-12-14 | Hitachi Ltd | System and method for controlling electronic file storage |
US20090271418A1 (en) | 2008-04-28 | 2009-10-29 | Vmware, Inc. | Computer file system with path lookup tables |
JP2010009390A (en) | 2008-06-27 | 2010-01-14 | Aisin Aw Co Ltd | Navigator and database updating program |
JP2018018133A (en) | 2016-07-25 | 2018-02-01 | 富士通株式会社 | Information processing apparatus, stream storage control program, and index data reference method |
Also Published As
Publication number | Publication date |
---|---|
JP2020052852A (en) | 2020-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10649910B2 (en) | Persistent memory for key-value storage | |
US9996542B2 (en) | Cache management in a computerized system | |
CN106662981B (en) | Storage device, program, and information processing method | |
US9697219B1 (en) | Managing log transactions in storage systems | |
US8595451B2 (en) | Managing a storage cache utilizing externally assigned cache priority tags | |
CN103999058B (en) | Tape drive system server | |
US8762674B2 (en) | Storage in tiered environment for colder data segments | |
JP5944587B2 (en) | Computer system and control method | |
US9311252B2 (en) | Hierarchical storage for LSM-based NoSQL stores | |
US9026730B2 (en) | Management of data using inheritable attributes | |
US9612758B1 (en) | Performing a pre-warm-up procedure via intelligently forecasting as to when a host computer will access certain host data | |
US20090132621A1 (en) | Selecting storage location for file storage based on storage longevity and speed | |
US20120297142A1 (en) | Dynamic hierarchical memory cache awareness within a storage system | |
US10496290B1 (en) | Method and system for window-based churn handling in data cache | |
US20160062651A1 (en) | Cache management for sequential write storage | |
US7899989B2 (en) | Method and system for using a block allocation policy | |
US9183127B2 (en) | Sequential block allocation in a memory | |
US20170315924A1 (en) | Dynamically Sizing a Hierarchical Tree Based on Activity | |
US20070106868A1 (en) | Method and system for latency-directed block allocation | |
JP6867578B2 (en) | Storage controller, storage system, storage control method and storage control program | |
JP2019028954A (en) | Storage control apparatus, program, and deduplication method | |
US10489301B1 (en) | Method and system for metadata churn absorption | |
US10996857B1 (en) | Extent map performance | |
US20190056878A1 (en) | Storage control apparatus and computer-readable recording medium storing program therefor | |
US10585802B1 (en) | Method and system for caching directories in a storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210816 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20211015 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220517 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220518 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220713 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20221122 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230220 |
|
C60 | Trial request (containing other claim documents, opposition documents) |
Free format text: JAPANESE INTERMEDIATE CODE: C60 Effective date: 20230220 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20230301 |
|
C21 | Notice of transfer of a case for reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C21 Effective date: 20230307 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230606 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230619 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7310110 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |