JP5259388B2

Maintenance of link level consistency between database and file system

Abstract

This record has no abstract on file.

Term

Term ended

Expired 9 March 2026, 0.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

10 claims: 4 independent, 6 dependent

  1. 1
    A method of maintaining link-level integrity of transactions between a database and a file system, which is performed by the computer associated with the database and file system and receives a file system change request for a binary large object. A step and a database log of the database, wherein the reference to the binary large object is stored in a cell of the database, and the binary large object is stored as a file of the file system outside the database. ofMaximum log sequence numberAnd the file system log of the file systemMaximum log sequence numberAnd the aboveWhen the maximum log sequence number of the database log is equal to or greater than the maximum log sequence number of the file system log.The computer associated with the database logs the file system changes associated with the file system change request to the database log, and the computer associated with the file system logs the file system changes to the file of the file system log file. A step of logging to a name, wherein the file system log file is stored as a file of the file system, and information representing the file system change is encoded in the file name of the file system log file. , A method characterized in that the computer associated with the file system comprises performing the file system modification on the binary large object. データベースとファイルシステムとの間でのトランザクションのリンクレベル整合性を維持する方法であって、前記方法は、データベースおよびファイルシステムに関連付けられるコンピュータによって実行され、 バイナリラージオブジェクトについてのファイルシステム変更要求を受信するステップであって、前記バイナリラージオブジェクトへの参照は、データベースのセルに格納され、前記バイナリラージオブジェクトは、前記データベースの外部にファイルシステムのファイルとして格納される、ステップと、 前記データベースのデータベースログの最大ログシーケンス番号と前記ファイルシステムのファイルシステムログの最大ログシーケンス番号を比較するステップと、 前記データベースログの最大ログシーケンス番号が前記ファイルシステムログの最大ログシーケンス番号以上である場合、前記データベースに関連付けられるコンピュータが、前記ファイルシステム変更要求に関連付けられるファイルシステム変更を前記データベースログにロギングするステップと、 前記ファイルシステムに関連付けられるコンピュータが、前記ファイルシステム変更をファイルシステムログファイルのファイル名にロギングするステップであって、前記ファイルシステムログファイルは、前記ファイルシステムのファイルとして格納され、前記ファイルシステム変更を表す情報は、前記ファイルシステムログファイルのファイル名に符号化される、ステップと、 前記ファイルシステムに関連付けられるコンピュータが、前記バイナリラージオブジェクトについての前記ファイルシステム変更を実行するステップと を含むことを特徴とする方法。
  2. 4
    The claim is characterized in that the step of logging the file system change to the file system log file further includes a step of encoding the information identifying the log sequence number of the database log into the file name of the file system log file. The method described in 1. 前記ファイルシステム変更をファイルシステムログファイルにロギングするステップは、前記データベースログのログシーケンス番号を識別する情報を前記ファイルシステムログファイルのファイル名に符号化するステップをさらに含むことを特徴とする請求項1に記載の方法。
  3. 7
    A computer system configured to maintain link-level consistency of transactions between a database and a file system, said computer system comprising a processor coupled to a computer-readable storage medium. A readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, the computer system stores a reference to a binary large object in a cell of the database. And, the step of storing the binary large object as a file of the file system outside the database and the failure of the change to the binary large object are stored in the database log.maximumLog sequence number and stored in file system logmaximumIt is a step of determining by comparing with the log sequence number, and is described above.Maximum stored in the file system logThe log sequence number is encoded by the file name of the file system log file stored in the file system, the database log is stored in the database, and the file system log is stored as a file in the file system. , And a computer system characterized in that the file system logs changes in the file system and the file system executes changes to the binary large object to perform the steps of redoing the changes. .. データベースとファイルシステムとの間でのトランザクションのリンクレベル整合性を維持するように構成されたコンピュータシステムであって、 前記コンピュータシステムは、コンピュータ読み取り可能な記憶媒体に結合されたプロセッサを備え、 前記コンピュータ読み取り可能な記憶媒体は、コンピュータ実行可能命令を格納し、該コンピュータ実行可能命令は、前記プロセッサによって実行されるときに、前記コンピュータシステムに、 バイナリラージオブジェクトへの参照をデータベースのセルに格納するステップと、 前記バイナリラージオブジェクトを前記データベースの外部にファイルシステムのファイルとして格納するステップと、 前記バイナリラージオブジェクトに対する変更が失敗したことを、データベースログに格納される最大ログシーケンス番号とファイルシステムログに格納される最大ログシーケンス番号とを比較することによって判定するステップであって、前記ファイルシステムログに格納される最大ログシーケンス番号は、前記ファイルシステムに格納されるファイルシステムログファイルのファイル名に符号化され、前記データベースログは、前記データベースに格納され、前記ファイルシステムログは、前記ファイルシステムにファイルとして格納される、ステップと、 前記ファイルシステムによって前記ファイルシステムにおける変更をロギングし、前記ファイルシステムによって前記バイナリラージオブジェクトについての変更を実行することによって、前記変更をやり直すステップと を実行させることを特徴とするコンピュータシステム。
  4. 10
    A computer-readable recording medium having computer-executable instructions that perform a method of maintaining link-level integrity of transactions between a database and a file system, said computer-executable instructions being executed by a computer. When, on the computer, the database log of the databaseMaximum log sequence numberAnd the file system log of the file systemMaximum log sequence numberAnd the aboveWhen the maximum log sequence number of the database log is equal to or greater than the maximum log sequence number of the file system log., A step of logging changes to a binary large object into a record in a database log, where a reference to the binary large object is stored in a cell of the database and the binary large object is stored outside the database in a file system. Stored as a file, the database log is stored in the database, in steps, by logging file system changes to the binary large object to the file system log file by the file system, and in the file system changes. A computer comprising performing a method comprising encoding a corresponding file system object name, log sequence number, transaction identifier, and information identifying an operation descriptor into the file name of the file system log file. A readable recording medium. データベースとファイルシステムとの間でのトランザクションのリンクレベル整合性を維持する方法を実行するコンピュータ実行可能命令を有するコンピュータ読み取り可能な記録媒体であって、 前記コンピュータ実行可能命令は、コンピュータによって実行されるとき、該コンピュータに、 前記データベースのデータベースログの最大ログシーケンス番号と前記ファイルシステムのファイルシステムログの最大ログシーケンス番号を比較するステップと、 前記データベースログの最大ログシーケンス番号が前記ファイルシステムログの最大ログシーケンス番号以上である場合、バイナリラージオブジェクトに対する変更をデータベースログのレコードにロギングするステップであって、前記バイナリラージオブジェクトへの参照は、前記データベースのセルに格納され、前記バイナリラージオブジェクトは、前記データベースの外部にファイルシステムのファイルとして格納され、前記データベースログは、前記データベースに格納される、ステップと、 前記ファイルシステムによって、前記バイナリラージオブジェクトへのファイルシステム変更をファイルシステムログファイルにロギングするステップと、 前記ファイルシステム変更に対応する、ファイルシステムオブジェクト名、ログシーケンス番号、トランザクション識別子、およびオペレーション記述子を識別する情報を前記ファイルシステムログファイルのファイル名に符号化するステップと を含む方法を実行させることを特徴とするコンピュータ読み取り可能な記録媒体。