JP2007242061A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
JP2007242061A
JP2007242061A JP2007158157A JP2007158157A JP2007242061A JP 2007242061 A JP2007242061 A JP 2007242061A JP 2007158157 A JP2007158157 A JP 2007158157A JP 2007158157 A JP2007158157 A JP 2007158157A JP 2007242061 A JP2007242061 A JP 2007242061A
Authority
JP
Japan
Prior art keywords
data
storage area
time
update
uap
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.)
Pending
Application number
JP2007158157A
Other languages
Japanese (ja)
Inventor
Masahiro Funekawa
政博 舟川
Mamio Yamagishi
真実雄 山岸
Sumio Watanabe
澄夫 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2007158157A priority Critical patent/JP2007242061A/en
Publication of JP2007242061A publication Critical patent/JP2007242061A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform reference and update processing based on the content of a database (DB) at a past certain point of time while ensuring continuous access by general work to the DB. <P>SOLUTION: A database management system divides and manages the database (DB) 8 separately in a first storage area 9, a second storage area 10 and a third storage area 11. The first storage area 9 stores the latest data at a current point of time by a general application (UAP) operated in an online system. The second storage area 10 stores data (t0 data) to be frozen at a past certain point of time (t0), and the third storage area 11 stores data (tn data) after update as a result of execution of new UAP based on the t0 data. A DB access control part 5 controls reference and update of each storage area 9, 10, 11 of the DB 8 in response to designation of the latest or past certain point of time from the UAP 4. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、任意の時点のデータベースを別の領域に記憶し、そのデータベースの処理を行うデータベース管理技術に関する。   The present invention relates to a database management technique for storing a database at an arbitrary point in another area and processing the database.

一般にオンラインシステムのデータベース(以下、DBと称す)の日次や月次の処理は、オンライン終了後に、あるいは、DBを閉塞したうえでオンラインシステムから一時的に切り離した後に、バッチ処理で一括してDBを参照することで行っていた。   In general, daily and monthly processing of an online system database (hereinafter referred to as DB) is performed batch-wise after online termination or after the DB is blocked and temporarily disconnected from the online system. This was done by referring to the DB.

従来、連続無停止システムにおけるDBの更新・検索方法としては、特許文献1や特許文献2に記載のように、DBの更新要求には直ちに対象情報が更新される一方、更新前の情報を保持して、それには更新の時系列情報を付与しておき、検索要求には要求時点の時系列情報に基づいて該当時点の情報を検索できるようにする方法がある。また、DBの回復を容易にしたり、レコードの世代管理を容易にする方法としては、特許文献3に記載のように、レコードの更新時刻や更新前情報を履歴としてDB内に内蔵させることで実現する方法がある。さらに、データセットのバックアップを取得する方法としては、特許文献4に記載のように、UAP実行の保留時間を大幅に短縮しながらある時点で一貫性を持つデータセットのバックアップを取得する方法がある。しかし、これらはいずれも、ある時点でのDBの首尾一貫する内容を読み出すことが目的であり、直接更新することはできない。   Conventionally, as a DB update / search method in a continuous non-stop system, as described in Patent Document 1 and Patent Document 2, target information is immediately updated in a DB update request, while pre-update information is retained. For this, there is a method in which time series information of update is given, and the search request can search for the information at the corresponding time based on the time series information at the request time. As a method for facilitating DB recovery or record generation management, it is realized by incorporating record update time and pre-update information in the DB as described in Patent Document 3. There is a way to do it. Further, as a method of acquiring a backup of a data set, there is a method of acquiring a consistent data set backup at a certain point in time while significantly reducing the holding time of UAP execution as described in Patent Document 4. . However, all of these are intended to read out the consistent contents of the DB at a certain point in time, and cannot be directly updated.

特開昭58−62744号公報JP 58-62744 A 特開平6−35774号公報JP-A-6-35774 特開平1−166232号公報JP-A-1-166232 特開平5−210555号公報JP-A-5-210555

従来技術では、DBへの本来業務による連続アクセスを保証しながら、過去のある時点のDBの内容(以下、凍結データと称す)に基づいて別途更新処理等を行うためには、ある時点のDBのコピーを作成してからそれを更新することになる。また、オンラインシステム環境下でのUAP開発時は、DBをそのバックアップから回復する作業がUAP実行に先駆けてその都度必要になっていた。   In the prior art, in order to perform separate update processing or the like based on the contents of the DB at a past time (hereinafter referred to as frozen data) while guaranteeing continuous access to the DB by the original business, the DB at a certain time Make a copy of it and then update it. In addition, when UAP is developed in an online system environment, work for recovering the DB from its backup is required every time prior to UAP execution.

本発明の目的は、データベース管理システムにおける日次業務や月次業務などの更新処理を容易に可能とすることにある。   An object of the present invention is to make it possible to easily perform update processing of daily work and monthly work in a database management system.

上記目的を達成するために、本発明では、DBを複数の記憶エリアに分割して管理する。具体的には、オンラインシステムの通常業務のUAPの処理ルート(通常処理ルート)による最新のデータのすべてを保持する第1記憶エリアを中軸にして、該通常処理ルートの過去のある時点(t0時点)に遡るための更新前のデータ(t0データ)を記憶する第2記憶エリアと、該t0データを元に、過去のある時点から新たに別のUAPの処理ルート(別処理ルート)を実行して得られる更新後のデータ(tnデータ)を記憶する第3記憶エリアに分割して管理する。 In order to achieve the above object, in the present invention, a DB is divided into a plurality of storage areas and managed. Specifically, with the first storage area that holds all the latest data by the UAP processing route (normal processing route) of the normal operation of the online system as the central axis, a past point in time (t 0) of the normal processing route A second storage area for storing data (t 0 data) before update to be traced back to the time), and a processing route (another processing route) of another UAP newly from a certain point in the past based on the t 0 data divided into a third storage area for storing the updated data obtained by executing (t n data) manages.

過去のある時点に遡る必要がなくなれば、第2記憶エリアや第3記憶エリアを切り離すだけでよい。また、新たな時点を設定する場合には、初期化した第2記憶エリアや第3記憶エリアを時系列あるいは並列に接続すればよい。これらの操作は、DBの第1記憶エリアへの通常業務によるアクセスを妨げるものではない。したがって、DBへの連続的なアクセスは保証される。
DBを複数の記憶エリアに分割するのに対応して、DBアクセス制御部では、UAPから最新あるいは過去のある時点の指定を受けて、参照要求に対しては所定の記憶エリアを検索する手段と、更新に際しては第1記憶エリアあるいは第3記憶エリアに更新後データを記憶する手段と、また、第1記憶エリアに記憶する際には必要に応じて第2記憶エリアに更新前のデータを退避する手段が組み合わせて用いられる。
If it is no longer necessary to go back to a certain point in the past, the second storage area and the third storage area need only be separated. When setting a new time point, the initialized second storage area and third storage area may be connected in time series or in parallel. These operations do not impede access to the first storage area of the DB by normal operations. Therefore, continuous access to the DB is guaranteed.
Corresponding to dividing the DB into a plurality of storage areas, the DB access control unit receives a designation of the latest or past time from the UAP and searches for a predetermined storage area for a reference request. When updating, means for storing the updated data in the first storage area or the third storage area, and when storing in the first storage area, the data before update is saved in the second storage area as necessary. Are used in combination.

このように処理することにより、所定条件を満たしたときのデータベースを格納した第2の記憶領域を入力とした処理の更新データを第3の記憶領域に格納できるため、連続運転を行うデータベース管理システムにおける日次業務や月次業務などの更新処理が容易に実現できる。また、DBを複数の記憶エリアで構成して各目的のデータを一元管理するので、従来のように別ファイルにコピーして、重複したデータを持つ必要がない。このため、データの管理が容易になる。さらに、データの重複がないことから、DBの格納スペース効率がよい、DBのコピーに要する時間が節約になる等の効果がある。一方、システムの業務・運用面では、過去の複数の時点のDBの内容を後にまとめて参照できることから、統計処理やバックアップ処理が容易となる。また、DBへの連続的なアクセスを保証しながら、過去のある時点を基点とする更新処理が複数の記憶エリアで多重化できることから、オンライン環境でのUAP開発(テスト作業等)でもDBのスペース量やリロード(再作成)回数を削除でき、効率良くDBを利用できる。   By performing processing in this way, update data of processing that is input to the second storage area that stores the database when a predetermined condition is satisfied can be stored in the third storage area, so that a database management system that performs continuous operation Update processing for daily and monthly operations can be easily realized. In addition, since the DB is composed of a plurality of storage areas and each target data is centrally managed, it is not necessary to copy the data to another file and have duplicate data as in the prior art. This facilitates data management. Furthermore, since there is no duplication of data, the storage space efficiency of the DB is good, and the time required for DB copy is saved. On the other hand, on the business / operation side of the system, the contents of the DB at a plurality of past points in time can be collectively referred to later, which facilitates statistical processing and backup processing. In addition, since update processing based on a certain point in the past can be multiplexed in a plurality of storage areas while guaranteeing continuous access to the DB, the DB space can also be used for UAP development (test work, etc.) in an online environment. The amount and the number of reloads (re-creation) can be deleted, and the DB can be used efficiently.

データベース管理システムにおける日次業務や月次業務などの処理が容易に実現できる。   Processing of daily work and monthly work in the database management system can be easily realized.

本発明の実施形態の一例を説明する
まず、DBを複数の記憶エリアに分割して管理する。具体的には、オンラインシステムの通常業務のUAPの処理ルート(通常処理ルート)による最新のデータのすべてを保持する第1記憶エリアを中軸にして、該通常処理ルートの過去のある時点(t0時点)に遡るための更新前のデータ(t0データ)を記憶する第2記憶エリアと、該t0データを元に、過去のある時点から新たに別のUAPの処理ルート(別処理ルート)を実行して得られる更新後のデータ(tnデータ)を記憶する第3記憶エリアに分割して管理する。
An example of an embodiment of the present invention will be described. First, a DB is divided into a plurality of storage areas and managed. Specifically, with the first storage area that holds all the latest data by the UAP processing route (normal processing route) of the normal operation of the online system as the central axis, a past point in time (t 0) of the normal processing route A second storage area for storing data (t 0 data) before update to be traced back to the time), and a processing route (another processing route) of another UAP newly from a certain point in the past based on the t 0 data divided into a third storage area for storing the updated data obtained by executing (t n data) manages.

次に、過去のある時点に遡る必要がなくなれば、第2記憶エリアや第3記憶エリアを切り離すだけでよい。また、新たな時点を設定する場合には、初期化した第2記憶エリアや第3記憶エリアを時系列あるいは並列に接続すればよい。これらの操作は、DBの第1記憶エリアへの通常業務によるアクセスを妨げるものではない。したがって、DBへの連続的なアクセスは保証される。   Next, when it is no longer necessary to go back to a certain point in the past, the second storage area and the third storage area need only be separated. When setting a new time point, the initialized second storage area and third storage area may be connected in time series or in parallel. These operations do not impede access to the first storage area of the DB by normal operations. Therefore, continuous access to the DB is guaranteed.

DBを複数の記憶エリアに分割するのに対応して、DBアクセス制御部では、UAPから最新あるいは過去のある時点の指定を受けて、参照要求に対しては所定の記憶エリアを検索する手段と、更新に際しては第1記憶エリアあるいは第3記憶エリアに更新後データを記憶する手段と、また、第1記憶エリアに記憶する際には必要に応じて第2記憶エリアに更新前のデータを退避する手段が組み合わせて用いられる。   Corresponding to dividing the DB into a plurality of storage areas, the DB access control unit receives a designation of the latest or past time from the UAP and searches for a predetermined storage area for a reference request. When updating, means for storing the updated data in the first storage area or the third storage area, and when storing in the first storage area, the data before update is saved in the second storage area as necessary. Are used in combination.

以下に本発明の一実施例を図面により説明する。〈システム環境〉
図1に本実施例のデータベース管理システム(DBMS)が稼働するシステム環境を示す。図1において、中央処理装置(CPU)1、端末群6、システムコンソール7およびデータベース(DB)8でオンラインシステムを構成している。ここで、CPU1にはオペレーティングシステム(OS)2、トランザクション処理モニタ(TPモニタ)3、ユーザアプリケーションプログラム(UAP)4およびDBアクセス制御部5が含まれる。OS2はシステム全体を効率よく運用するソフトウェアである。TPモニタ3は、端末群6から入力されたトランザクションをOS2を介して受信し、目的の業務処理を実行するUAP4に引き渡す。UAP4はDBアクセス制御部5を呼び出してデータの入出力処理を行う。DBアクセス制御部5はUAP4からの参照や更新要求に応じてDB8をアクセスする制御部であり、DB8の構成とともに中心的な部分である。DB8は、本オンラインシステムで動作する本来のUAPの処理(通常の処理ルート)の現時点での最新データを記憶する第1記憶エリア9と、通常の処理ルートの過去のある時点(t0)のデータ(t0データ)を記憶する第2記憶エリア10と、前記t0データをベースに、新たに別のUAPの処理(別の処理ルート)を実行して得られる更新後のデータ(tnデータ)を記憶する第3記憶エリア11で構成される。第2および第3記憶エリア10,11は、実施例における特徴的な構成であり、それぞれの記憶エリア10,11には一つまたは複数のデータセットを割り当てることができるが、図1では説明を簡単にするため一つずつとしている。
An embodiment of the present invention will be described below with reference to the drawings. <System environment>
FIG. 1 shows a system environment in which the database management system (DBMS) of this embodiment operates. In FIG. 1, the central processing unit (CPU) 1, terminal group 6, system console 7 and database (DB) 8 constitute an online system. Here, the CPU 1 includes an operating system (OS) 2, a transaction processing monitor (TP monitor) 3, a user application program (UAP) 4, and a DB access control unit 5. The OS 2 is software that efficiently operates the entire system. The TP monitor 3 receives the transaction input from the terminal group 6 via the OS 2 and delivers it to the UAP 4 that executes the target business process. The UAP 4 calls the DB access control unit 5 to perform data input / output processing. The DB access control unit 5 is a control unit that accesses the DB 8 in response to a reference or update request from the UAP 4, and is a central part together with the configuration of the DB 8. The DB 8 includes a first storage area 9 for storing the latest data at the present time of the original UAP processing (normal processing route) operating in the online system, and a past time (t 0 ) of the normal processing route. Second updated storage area 10 for storing data (t 0 data), and updated data (t n ) obtained by newly executing another UAP process (different processing route) based on the t 0 data Data) and a third storage area 11 for storing data. The second and third storage areas 10 and 11 have a characteristic configuration in the embodiment, and one or a plurality of data sets can be assigned to each of the storage areas 10 and 11. For simplicity, we're taking them one by one.

システムコンソール7からはシステムオペレータによりDBアクセス制御部5への指令、いわゆる各記憶エリア9,10,11に対応するデータセットの動的な接続・切り離し等の指令が投入されるが、図1は接続された状態を示す。〈UAPおよびDBアクセス制御部の構成〉
UAP4からDBアクセス制御部5に対してのDB8をアクセスする要求は、参照系と更新系に大別される。具体的には、アクセスする単位をレコードとすると、参照系とはレコードの参照、更新系とはレコードの置換、レコードの追加、およびレコードの削除である。ここでは、置換・追加・削除の要求を総称して更新要求と呼ぶことにする。図2にUAP4およびDBアクセス制御部5の構成例を示す。
From the system console 7, a command to the DB access control unit 5, a command for dynamically connecting / disconnecting data sets corresponding to the storage areas 9, 10, 11 is input by the system operator. Indicates connected status. <Configuration of UAP and DB access control unit>
Requests for accessing the DB 8 from the UAP 4 to the DB access control unit 5 are roughly classified into a reference system and an update system. Specifically, if the unit to be accessed is a record, the reference system is a record reference, and the update system is a record replacement, a record addition, and a record deletion. Here, replacement / addition / deletion requests are collectively referred to as update requests. FIG. 2 shows a configuration example of the UAP 4 and the DB access control unit 5.

UAP4には参照要求手段21と更新要求手段22が含まれる。さらに、参照要求手段21には最新データ211、t0データ212、およびtnデータ213のいずれかを選択する項目が含まれる。更新要求手段22には、最新データ221およびtnデータ222のいずれかを選択する項目が含まれる。なお、更新要求手段22にt0データを選択する項目がないのは、t0データを更新した結果得られるのがtnデータであり、t0データ更新要求は即ちtnデータ更新要求を意味することによる。 The UAP 4 includes a reference request unit 21 and an update request unit 22. Furthermore, the reference request means 21 includes items for selecting one of the latest data 211, t 0 data 212 and t n data 213,. The update request unit 22, which includes items for selecting one of the latest data 221 and t n data 222. Incidentally, there is no item for selecting t 0 data in the update request means 22 is a t n data that is obtained as a result of updating the t 0 data, t 0 data update request That means t n data update request By doing.

DBアクセス制御部5は最新データ検索手段231、t0データ検索手段232、tnデータ検索手段233の各検索手段と、最新データ記憶手段241、t0データ記憶手段242、tnデータ記憶手段243の各記憶手段と、第1記憶エリア読み出し制御手段251、第2記憶エリア読み出し制御手段252、第3記憶エリア読み出し制御手段253の各読み出し手段と、第1記憶エリア書き込み制御手段261、第2記憶エリア書き込み制御手段262、第3記憶エリア書き込み制御手段263の各書き込み手段とからなる。実線は参照要求時の制御経路、破線は更新要求時の制御経路を示している。各データの参照要求や更新要求に対する動作については後述する。〈時点設定〉
UAPからのt0やtnの時点設定の仕方には、イベントによる方法とスケジュールによる方法の二通りがある。
The DB access control unit 5 includes the latest data search means 231, the t 0 data search means 232, the t n data search means 233, the latest data storage means 241, the t 0 data storage means 242, and the t n data storage means 243. Storage means, the first storage area read control means 251, the second storage area read control means 252, the third storage area read control means 253, the first storage area write control means 261, the second storage. Each of the writing means of the area writing control means 262 and the third storage area writing control means 263 is comprised. A solid line indicates a control path when a reference is requested, and a broken line indicates a control path when an update is requested. The operation for each data reference request and update request will be described later. <Time setting>
There are two ways of setting the time points of t 0 and t n from the UAP: an event method and a schedule method.

イベントによる方法とは、UAPから設定要求を発した時刻そのものが設定の時点となるもので、t0データまたはtnデータの記憶を開始する時点と解釈される。 In the event method, the time when the setting request is issued from the UAP is the time of setting, and is interpreted as the time of starting to store t 0 data or t n data.

スケジュールによる方法とは、UAPから設定要求を発した時刻よりも先のシステム時刻を指定する方法である。つまり、UAPからの予約受け付けを意味し、受付後にシステムが指定の時刻になった時、DBMSは自動的にt0データまたはtnデータの記憶を開始する。〈処理ルートとレコードの更新〉
図3(1)に、通常の処理ルートと別の処理ルートの基本ツリーを示す。DB作成時点31においてDBの初期作成が行われた後に、通常処理ルート(実線で示す)は、該DB作成時点31をベースとして32の時点t0が設定され、現時点33に至っている。このルートが最新データをあらわす。一方、別処理ルート(破線で示す)は、32の時点t0が設定された後に、該時点t0をベースとして34時点tnが設定され、現時点35に至る。この処理ルートがtnデータをあらわす。
The method based on the schedule is a method of designating a system time that is earlier than the time when the setting request is issued from the UAP. That is, it means accepting a reservation from the UAP, and when the system reaches a designated time after acceptance, the DBMS automatically starts storing t 0 data or t n data. <Processing route and record update>
FIG. 3A shows a basic tree of a normal processing route and another processing route. After the initial creation of the DB at the DB creation time 31, the normal processing route (shown by a solid line) has a time t 0 of 32 based on the DB creation time 31 and reaches the current 33. This route represents the latest data. On the other hand, another processing route (indicated by a dashed line) after the time t 0 of 32 is set, 34 time t n as a base to said time point t 0 is set, leading to the present time 35. This processing route represents a t n data.

図3(2)に、それぞれの処理ルートによって一つのレコード(レコードA)が更新されてゆく様子を示す。DB作成時点31の作成36のレコードの内容はAであり、その後、通常処理ルートの更新37によってBとなり、32の時点t0の設定の後の更新38によってCとなる。したがって、最新データはCであり、t0データはBである。一方、t0データのBは、34の時点tnからの別の処理ルートでの更新39によってDとなる。したがって、tnデータはDである。 FIG. 3B shows how one record (record A) is updated by each processing route. The content of the record 36 of the creation 36 at the DB creation time 31 is A, and then becomes B by the update 37 of the normal processing route, and C by the update 38 after the setting of the time t 0 of 32. Therefore, the latest data is C and t 0 data is B. On the other hand, B of t 0 data becomes D by the update 39 in another processing route from the time t n of 34. Therefore, t n data is D.

図3(3)に、さらにその後の様子を示す。即ち、34の時点tnからの別の処理ルートで、更新391によってDがEとなる。一方、通常の処理ルートの最新データのCは更新381によってFとなる。この結果、現時点331および351での最新データはF、t0データはB、tnデータはEである。 FIG. 3 (3) shows a further subsequent state. That is, D becomes E by the update 391 in another processing route from the time t n of 34. On the other hand, C of the latest data of the normal processing route becomes F by update 381. As a result, the latest data at the current times 331 and 351 is F, t 0 data is B, and t n data is E.

上記時点t0やtnは各処理ルート上に時系列に複数設定してもよい。図4(1)は、時点t0について2回設定した通常処理ルートツリーの例を示したものである。即ち、通常処理ルートは、DB作成時点41の後、一回目の時点t0[1]の設定42、二回目の時点t0[2]の設定43、そして現時点44に至っている。また、図4(2)は、時点tnについて2回設定した別処理ルートツリーの例を示したものである。即ち、これは、DB作成時点45および時点t0の設定46の後、別の処理ルートが、時点t0をベースとする一回目の時点tn[1]の設定47、時点tn[1]をベースとする二回目の時点tn[2]の設定48、そして現時点49に至っている。なお、時点t0、時点tnのいずれの場合も、3回以上の設定についても容易に類推できる。 A plurality of time points t 0 and t n may be set in time series on each processing route. 4 (1) is a diagram showing an example of normal processing route tree set twice for the time t 0. That is, after the DB creation time point 41, the normal processing route reaches the setting 42 for the first time point t 0 [1], the setting 43 for the second time point t 0 [2], and the current time point 44. FIG. 4 (2) shows an example of another processing route tree set twice for the time point t n . In other words, this is after the DB creation time 45 and the time t 0 of the set 46, another processing route, the time t 0 the set time t n of the first time based [1] 47, the time t n [1 ] Of the second time point t n [2] based on the setting 48 and the current time 49. It should be noted that in both cases of time t 0 and time t n , three or more settings can be easily inferred.

図4は時点t0やtnを同じ処理ルート上に時系列に複数設定する例であったが、時点t0をベースに別の処理ルートを複数設定することも可能である。 Although FIG. 4 shows an example in which a plurality of time points t 0 and t n are set in time series on the same processing route, a plurality of different processing routes can be set based on the time point t 0 .

図5は、同一の時点t0をベースに二つの時点tnを設定して二つの別処理ルートを走行させた例を示したものである。即ち、DB作成時点51および時点t0の設定52の後、通常ルートとは別に、時点t052をベースとする一つ目の時tn1を設定53し、現時点54に至る第1の別処理ルートがある。一方、同じ時点t052をベースとする二つ目の時点tn2を設定55し、現時点56に至る第2の別処理ルートがある。これら二つの処理ルートは、ベースとする時点t0は共通しているが、時点tn以降は独立した処理ルートを形成している。〈DBアクセス制御部の動作〉
図6から図11は、図2のDBアクセス制御部5の各手段の処理フローチャートを示したものである。
FIG. 5 shows an example in which two separate processing routes are run with two time points t n set based on the same time point t 0 . That is, after a set 52 of DB creation time 51 and time t 0, the normal route separately from the time point t 0 52 Set t n 1 53 when the first one based, first leading to the present time 54 There is another processing route. On the other hand, there is a second different processing route that sets 55 a second time point t n 2 based on the same time point t 0 52 and reaches the current time point 56. These two processing routes have the same base time point t 0, but form an independent processing route after time point t n . <Operation of DB access control unit>
6 to 11 show processing flowcharts of respective units of the DB access control unit 5 of FIG.

図6は、最新データの参照要求に対応して動作する最新データ検索手段231のフローチャートである。UAP4から最新データの参照要求211があると、最新データ検索手段231は第1記憶エリア読み出し制御手段251を呼び出し(ステップ2311)、DB8の第1記憶エリア9をアクセスせしめて、目的の最新データを得る。その後、最新データ検索手段231はUAP4に制御を戻す。   FIG. 6 is a flowchart of the latest data search means 231 that operates in response to a request to reference the latest data. When the latest data reference request 211 is received from the UAP 4, the latest data search means 231 calls the first storage area read control means 251 (step 2311), accesses the first storage area 9 of the DB 8, and obtains the desired latest data. obtain. Thereafter, the latest data search means 231 returns control to the UAP 4.

図7は、最新データの更新要求に対応して動作する最新データ記憶手段241のフローチャートである。UAP4から最新データの更新要求221があると、最新データ記憶手段241は、時点t0が設定されているか判定し(ステップ2411)、設定されていなければ、直ちに第1記憶エリア書き込み制御手段261を呼び出し(ステップ2413)、DB8の第1記憶エリア9に目的の最新データを記憶せしめる。一方、t0が設定されている場合は、まず、更新前のデータをt0データとして第2記憶エリア10に記憶せしめるためにt0データ記憶手段242を呼び出し(ステップ2412)、該t0データ記憶手段242の実行後、当該最新データ記憶手段241は第1記憶エリア書き込み制御手段261を呼び出す。そして、最新データの更新要求の処理が終了すると、最新データ記憶手段241は制御をUAP4に戻す。 FIG. 7 is a flowchart of the latest data storage unit 241 that operates in response to the update request for the latest data. If there is an update request 221 of the most recent data from UAP4, the latest data storage unit 241, it determines whether the time t 0 is set (step 2411), if not set, immediately first storage area write control means 261 Calling (step 2413), the target latest data is stored in the first storage area 9 of DB8. On the other hand, if the t 0 is set, first, in order allowed to store pre-update data to the second storage area 10 as the t 0 data call to t 0 data storage unit 242 (step 2412), the t 0 data After execution of the storage means 242, the latest data storage means 241 calls the first storage area write control means 261. When the latest data update request processing is completed, the latest data storage unit 241 returns the control to the UAP 4.

図8は、上記最新データの更新要求に対応して動作するt0データ記憶手段242の詳細フローチャートである。最新データ記憶手段241から呼び出されたt0データ記憶手段242は、まず、DB8の第2記憶エリア10に該当t0データが記憶されているかを確認するために第2記憶エリア読み出し制御手段252を呼び出し(ステップ2421)、第2記憶エリア10をアクセスせしめる。なお、第2記憶エリア10が時系列t0[1]〜t0[n]に分割されている時には、最後に時点設定t0[n]されたエリアが対象になる。そして、該当t0データがあるかを判定し(ステップ2422)、あれば、なにもせずに最新データ記憶手段241に制御を戻す。一方、該当t0データがない場合には、第1記憶エリア読み出し制御手段251を呼び出し(ステップ2423)、第1記憶エリア9をアクセスせしめる。即ち、第1記憶エリア9に該当データがあれば、それがt0データとなる。次に、第2記憶エリア書き込み制御手段262を呼び出し(ステップ2424)、第1記憶エリア9から読み出した更新前データをt0データとして第2記憶エリア10に記憶せしめる。この場合も、第2記憶エリア10が時系列t0[1]〜t0[n]に分割されている時には最後に時点設定されたエリアが対象になる。また、第1記憶エリアへのレコード追加の場合には、第1記憶エリアにt0データが存在しないので、第2記憶エリアには、その旨を表す空t0データ(後述の図12のデータ部72なし)を書き込む。その後、t0データ記憶手段242は最新データ記憶手段241に制御を戻す。 Figure 8 is a detailed flowchart of t 0 data storage means 242 which operates in response to the update request of the latest data. The t 0 data storage unit 242 called from the latest data storage unit 241 first sets the second storage area read control unit 252 to confirm whether the corresponding t 0 data is stored in the second storage area 10 of the DB 8. Call (step 2421), the second storage area 10 is accessed. Incidentally, when the second storage area 10 which is divided into a time series t 0 [1] ~t 0 [ n] , the last time setting t 0 [n] is the area becomes the target. Then, it is determined whether or not the corresponding t 0 data exists (step 2422). If there is, the control is returned to the latest data storage means 241 without doing anything. On the other hand, if there is no corresponding t 0 data, the first storage area read control means 251 is called (step 2423), and the first storage area 9 is accessed. That is, if there is corresponding data in the first storage area 9, it is t 0 data. Next, a second storage area write control means 262 calls (step 2424), allowed to store pre-update data read from the first memory area 9 in the second storage area 10 as the t 0 data. Again, the second storage area 10 is last time set area becomes the target when that is divided into a time series t 0 [1] ~t 0 [ n]. In addition, in the case of adding a record to the first storage area, since there is no t 0 data in the first storage area, empty t 0 data indicating that fact is stored in the second storage area (data in FIG. 12 described later). Part 72) is written. Thereafter, the t 0 data storage unit 242 returns control to the latest data storage unit 241.

図9は、t0データの参照要求に対応して動作するt0データ検索手段232のフローチャートである。UAP4からt0データの参照要求212があると、t0データ検索手段232は、まず、第2記憶エリア読み出し制御手段252を呼び出し(ステップ2321)、DB8の第2記憶エリア10をアクセスせしめて、該当データがあるかを判定する(ステップ2322)。第2記憶エリア10に該当データがあれば、それが求めるt0データである。t0データ検索手段232は、該第2記憶エリア10から読み出されたt0データをUAP4に渡し、制御をUAP4に戻す。なお、第2記憶エリア10が時系列t0[1]〜t0[n]に分割されていて、t0[1]より順に時点設定がされている場合には、時点t0[i]を指定する参照要求に対応して、該当データをt0[i]→t0[i+1]→・・・t0[n]の順で検索し、最初に見つかったところで検索を終了する。 FIG. 9 is a flowchart of the t 0 data search means 232 that operates in response to a t 0 data reference request. If there is t 0 data reference request 212 from UAP4, t 0 data retrieval means 232, first, the second storage area read control unit 252 calls (step 2321), and caused to access the second storage area 10 of the DB8, It is determined whether there is corresponding data (step 2322). If there is corresponding data in the second storage area 10, a t 0 data it obtains. The t 0 data search means 232 passes the t 0 data read from the second storage area 10 to the UAP 4 and returns control to the UAP 4. When the second storage area 10 is being divided in a time series t 0 [1] ~t 0 [ n], is the time set in order from t 0 [1], the time t 0 [i] Corresponding to the reference request for designating, the corresponding data is searched in the order of t 0 [i] → t 0 [i + 1] →... T 0 [n], and the search is terminated when it is first found.

第2記憶エリア10に目的のt0データがない場合、t0データ検索手段232は、第1記憶エリア読み出し制御手段251を呼び出し(ステップ2323)、DB8の第1記憶エリア10をアクセスせしめる。即ち、第1記憶エリア10に該当データがあれば、それが求めるt0データである。そこで、t0データ検索手段232は、該第1記憶エリア9から読み出されたデータをt0データとして得て、制御をUAP4に戻す。 If there is no target t 0 data in the second storage area 10, the t 0 data search means 232 calls the first storage area read control means 251 (step 2323) to access the first storage area 10 of the DB 8. That is, if there is corresponding data in the first storage area 10, a t 0 data it obtains. Therefore, the t 0 data search means 232 obtains the data read from the first storage area 9 as t 0 data, and returns the control to the UAP 4.

図10は、tnデータの参照要求に対応して動作するtnデータ記憶手段233のフローチャートである。UAP4からtnデータの参照要求213があると、tnデータ検索手段233は、まず、第3記憶エリア読み出し制御手段253を呼び出し(ステップ2331)、DB8の第3記憶エリア11をアクセスせしめて、該当tnデータがあるかを判定する(ステップ2332)。第3記憶エリア11に該当データがあれば、それが求めるtnデータである。tnデータ検索手段233は、該第3記憶エリア11から読み出されたtnデータをUAP4に渡し、UAP4に制御を戻す。なお、第3記憶エリア11が時系列tn[1]〜tn[n]に分割されていて、1より順にnまで設定されている場合、tn[1],tn[2]・・・tn[n−1]は参照だけが行われるが、tn[n]は参照と更新が行われるエリアとなる。今、tn[i+1]を指定した参照要求を受け付けたとすると、tn[i]→tn[i−1]→・・・tn[2]→tn[1]の順で該当データを検索し、最初に見つかったところで検索を終了する。最新のtnデータの要求であれば、tn[n]のエリアから検索をはじめる。 FIG. 10 is a flowchart of the t n data storage means 233 that operates in response to a t n data reference request. When a reference request 213 of t n data from UAP4, t n data retrieval means 233, first, a third storage area read control means 253 calls (step 2331), and caused to access the third storage area 11 of the DB8, determining whether there is a corresponding t n data (step 2332). If there is corresponding data in the third storage area 11, a t n data it obtains. The t n data search means 233 passes the t n data read from the third storage area 11 to the UAP 4 and returns control to the UAP 4. The third storage area 11 be divided into a time series t n [1] ~t n [ n], if it is set to n from 1 in order, t n [1], t n [2] · Although ·· t n [n-1] only reference is made, t n [n] is the area that updating the reference is made. If a reference request designating t n [i + 1] is received, the corresponding data in the order of t n [i] → t n [i−1] →... T n [2] → t n [1] The search is terminated when it is first found. If it is a request for the latest t n data, the search is started from the area of t n [n].

第3記憶エリア11に目的のtnデータがない場合、tnデータ検索手段233はt0データ検索手段232を呼び出し(ステップ2333)、図9で説明した如く、第2記憶エリア10または更に第1記憶エリア9をアクセスせしめる。即ち、第2または第1記憶エリアに該当するt0データがあれば、それが求めるtnデータである。tnデータ検索手段233は該tnデータをUAP4に渡し、UAP4に制御を戻す。 When there is no target t n data in the third storage area 11, the t n data search means 233 calls the t 0 data search means 232 (step 2333), and as described in FIG. 1 The storage area 9 is accessed. That is, if there is t 0 data corresponding to the second or first storage area, it is the t n data to be obtained. The t n data search means 233 passes the t n data to the UAP 4 and returns control to the UAP 4.

図11は、tnデータの更新要求に対応して動作するtnデータ記憶手段243のフローチャートである。UAP4からtnデータの更新要求222があると、tnデータ記憶手段243は、第3記憶エリア書き込み制御手段263を呼び出し(ステップ2431)、DB8の第3記憶エリア11に目的のtnデータを記憶せしめる。なお、第3記憶エリア11が時系列tn[1]〜tn[n]に分割されていて、1より順にnまで設定されている場合、tn[1],tn[2]・・・tn[n−1]は参照だけが行われるが、tn[n]は参照と更新が行われるエリアとなる。したがって、tnデータはtn[n]のエリアに書き込まれる。 FIG. 11 is a flowchart of the t n data storage unit 243 that operates in response to a t n data update request. If there is an update request 222 of t n data from UAP4, t n data storage means 243, a third storage area write control means 263 calls (step 2431), the purpose of the t n data in the third storage area 11 of the DB8 Remember me. The third storage area 11 be divided into a time series t n [1] ~t n [ n], if it is set to n from 1 in order, t n [1], t n [2] · Although ·· t n [n-1] only reference is made, t n [n] is the area that updating the reference is made. Therefore, the t n data is written in the area of t n [n].

以下に、図3の(2)、(3)の例について、図6乃至図11のフローチャートを用いてDBアクセス制御部5の動作を説明する。   The operation of the DB access control unit 5 will be described below with reference to the flowcharts of FIGS. 6 to 11 for the examples of (2) and (3) of FIG.

DB作成時点31の作成36によって、レコードAは既に第1記憶エリア9に記憶されているとする。更新37のレコードBは、時点t0の設定前であるため、最新データ記憶手段241によって直ちに第1記憶エリア書き込み制御手段261に渡され、第1記憶エリア9に記憶される。即ち、第1記憶エリア9のデータはAからBに更新される。 It is assumed that the record A is already stored in the first storage area 9 by the creation 36 at the DB creation time point 31. Since the record B of the update 37 is before the setting of the time point t 0 , it is immediately transferred to the first storage area write control unit 261 by the latest data storage unit 241 and stored in the first storage area 9. That is, the data in the first storage area 9 is updated from A to B.

時点t0の設定32以降は、参照要求および更新要求に対してDBアクセス制御部の動作は次のようになる。最新データの参照要求に対しては、最新データ検索手段231によって第1記憶エリア読み出し制御手段251が動作し、第1記憶エリア9からレコードBを得る(図6:ステップ2311)。更新38では、レコードCの更新要求に対して、最新データ記憶手段241によってt0データ記憶手段242が呼び出される(図7:ステップ2412)。t0データ記憶手段242は、第2記憶エリア読み出し制御手段252を呼び出すが、第2記憶エリア10に更新前データが記憶されていない通知を該第2記憶エリア読み出し制御手段252より受けて(図8:ステップ2421,2422)、引き続いて第1記憶エリア読み出し制御手段251を呼び出し、更新前データであるレコードBを該第1記憶エリア読み出し制御手段251から受け取って(図8:ステップ2423)、第2記憶エリア書き込み制御手段262に渡す(図8:ステップ2424)。これにより、第2記憶エリア10にレコードBがt0データとして記憶される。一方、更新後のデータであるレコードCは、最新データ記憶手段241によって第1記憶エリア書き込み制御手段261に渡され(図7:ステップ2413)、第1記憶エリア9には、レコードCが更新データとして記憶される。 After the setting 32 at time t 0 , the operation of the DB access control unit is as follows for the reference request and the update request. In response to the latest data reference request, the first storage area read control means 251 operates by the latest data search means 231 to obtain the record B from the first storage area 9 (FIG. 6: step 2311). Updating 38 for update request record C, t 0 data storage means 242 with the latest data storage means 241 is invoked (FIG. 7: Step 2412). The t 0 data storage unit 242 calls the second storage area read control unit 252, but receives a notification from the second storage area read control unit 252 that the pre-update data is not stored in the second storage area 10 (see FIG. 8: Steps 2421 and 2422), the first storage area read control means 251 is subsequently called, and the record B as the pre-update data is received from the first storage area read control means 251 (FIG. 8: Step 2423). 2 The data is transferred to the storage area writing control means 262 (FIG. 8: Step 2424). Thereby, the record B is stored in the second storage area 10 as t 0 data. On the other hand, the record C, which is the updated data, is transferred to the first storage area write control means 261 by the latest data storage means 241 (FIG. 7: step 2413), and the record C is updated in the first storage area 9. Is remembered as

次に、時点tnの設定34があり、tnデータの参照要求が発生したとする。該tnデータの参照要求に対して、tnデータ検索手段233は、最初に第3記憶エリア読み出し制御手段253を呼び出すが、第3記憶エリア11に該当データが記憶されていない通知を該第3記憶エリア読み出し制御手段253から受取り(図10:ステップ2331,2332)、次にt0データ検索手段232を呼び出す(図10:ステップ2333)。t0データ検索手段232は、第2記憶エリア読み出し制御手段252を呼び出し、その結果、第2記憶エリア10にt0データとして記憶されているレコードBを該第2記憶エリア読み出し制御手段252から受け取り(図9:ステップ2321,2322(Yes))、これをtnデータ検索手段233に渡す。こうして、レコードBを得る。その後、tnデータの更新39が発生すると、当該更新要求のレコードDは、tnデータ記憶手段243が呼び出した第3記憶エリア書き込み制御手段263に渡され(図11:ステップ2431)、第3記憶エリア11に記憶される。 Next, it is assumed that there is a setting 34 of the time point t n and a reference request for t n data is generated. To a reference request of the t n data, t n data retrieval means 233, first is calling the third storage area read control unit 253, said notifications corresponding data in the third storage area 11 is not stored 3 receives from the storage area read control means 253 (FIG. 10: step 2331,2332), then calls the t 0 data retrieval means 232 (FIG. 10: step 2333). The t 0 data retrieval unit 232 calls the second storage area read control unit 252 and, as a result, receives the record B stored as t 0 data in the second storage area 10 from the second storage area read control unit 252. (FIG. 9: Steps 2321 and 2322 (Yes)), this is transferred to the t n data search means 233. Thus, record B is obtained. Thereafter, the update 39 t n data occurs, record D of the update request is passed to the third storage area write control means 263 that called the t n data storage unit 243 (FIG. 11: step 2431), third It is stored in the storage area 11.

続いて、tnデータの参照および更新391が発生したとする。まず、tnデータの参照要求に対して、tnデータ検索手段233は、第3記憶エリア読み出し制御手段253を呼び出し、第3記憶エリア11に該当データのレコードDが記憶されていることを該第3記憶エリア読み出し制御手段253から受け取る(図10:ステップ2331,2332(Yes))。この場合、第3記憶エリア11の読み出しだけで、目的のレコードDを得る。その後、更新391の更新要求のレコードEは、tnデータ記憶手段243が呼び出した第3記憶エリア書き込み制御手段263に渡され(図11:ステップ2431)、第3記憶エリア11に記憶される。この結果、第3記憶エリア11にはEがDに置き換わって記憶され、また、第1および第2記憶エリア9,10には、それぞれC、Bが記憶されたままとなる。 Then, the reference and update 391 t n data occurs. First, the request for reference t n data, t n data retrieval means 233 calls the third storage area read control unit 253, the that the record D of the corresponding data is stored in the third memory area 11 Received from the third storage area read control means 253 (FIG. 10: Steps 2331, 2332 (Yes)). In this case, the target record D is obtained only by reading the third storage area 11. Thereafter, the update request record E of the update 391 is transferred to the third storage area write control means 263 called by the t n data storage means 243 (FIG. 11: step 2431) and stored in the third storage area 11. As a result, E is replaced with D in the third storage area 11, and C and B remain stored in the first and second storage areas 9 and 10, respectively.

最後に、最新データの更新381では、最新データ記憶手段241はt0データ記憶手段242を呼び出し(図7:ステップ2412)、t0データ記憶手段242は、第2記憶エリア読み出し制御手段252を呼び出し、第2記憶エリア10に更新前データが記憶されている旨の通知を受けるため(図8:ステップ2421,2422(Yes))、第2記憶エリア書き込み制御手段262の呼び出しをバイパスする。この点が先の更新38の動作と異なる。その後、最新データ記憶手段241は第1記憶エリア書き込み制御手段261を呼び出す(図7:ステップ2413)。結果として、第1記憶エリア9には今回の更新要求のレコードFが記憶され、第2記憶エリア10にはレコードBが記憶されたままとなる。〈第2および第3記憶エリアのデータ形式〉
第1記憶エリア9は、一般に知られている階層モデル、ネットワークモデル、あるいはリレーショナルモデルのDBに適用できる。そのデータの格納形式は、従来のDBのデータ形式そのもので実現できる。しかし、第2および第3記憶エリア10,11については、更新系のレコードアクセスに対して時系列のエリア管理をすべきことから、第1記憶エリア9とは異なるデータ形式が必要となる。すなわち、レコードの追加・削除に関する記録である。
Finally, in the latest data update 381, the latest data storage unit 241 calls the t 0 data storage unit 242 (FIG. 7: step 2412), and the t 0 data storage unit 242 calls the second storage area read control unit 252. In order to receive notification that the pre-update data is stored in the second storage area 10 (FIG. 8: Steps 2421 and 2422 (Yes)), the calling of the second storage area write control means 262 is bypassed. This is different from the operation of the previous update 38. Thereafter, the latest data storage unit 241 calls the first storage area write control unit 261 (FIG. 7: step 2413). As a result, the record F of the current update request is stored in the first storage area 9, and the record B remains stored in the second storage area 10. <Data format of the second and third storage areas>
The first storage area 9 can be applied to a generally known hierarchical model, network model, or relational model DB. The data storage format can be realized by the conventional DB data format itself. However, for the second and third storage areas 10 and 11, time-series area management should be performed for update-type record access, and therefore a data format different from that of the first storage area 9 is required. That is, it is a record relating to addition / deletion of records.

具体的な一例として、図12に第2および第3記憶エリア10,11のデータ形式を示す。これは、ヘッダ部71をフラグフィールド711、キー長フィールド712、レコード長フィールド713およびキーフィールド714で構成し、データ部72をレコードフィールド721だけで構成する。フラグフィールド711にはアクセスの種別として更新フラグ・追加フラグ・削除フラグを設定する。キー長フィールド712はキーフィールド714のサイズを表わし、レコード長フィールド713はレコードフィールド721のサイズを表わす。第1記憶エリアへのレコード追加に対しては、第2記憶エリアへはレコード長フィールドの値がゼロ、すなわちデータ部なしの情報をt0データとして記憶する。図8のt0データの記憶でも説明したように、ステップ2423において第1記憶エリアに該当データがないレコード追加の場合でもステップ2424のt0データ記憶が必要であり、データ部なしのt0データを書き出す。また、t0データのレコード削除に対しては、やはり、レコード長フィールドの値がゼロの情報をtnデータとして記憶する。図11のステップ2431でデータ部なしのtnデータを書き出すことになる。 As a specific example, FIG. 12 shows data formats of the second and third storage areas 10 and 11. In this case, the header portion 71 is composed of a flag field 711, a key length field 712, a record length field 713, and a key field 714, and the data portion 72 is composed of only the record field 721. In the flag field 711, an update flag, an addition flag, and a deletion flag are set as access types. The key length field 712 represents the size of the key field 714, and the record length field 713 represents the size of the record field 721. For adding a record to the first storage area, information having a record length field value of zero, that is, no data portion is stored as t 0 data in the second storage area. As described in the memory of t 0 data of FIG. 8, it is necessary t 0 data storage in step 2424, even if in step 2423 the record addition there is no corresponding data in the first storage area, without data portion t 0 data Write out. In addition, for record deletion of t 0 data, information having a record length field value of zero is stored as t n data. It will be written out t n data without the data part in step 2431 of FIG. 11.

このように、第2記憶エリアのt0データおよび第3記憶エリアのtnデータはキーフィールド714によって第1記憶エリアのデータと論理的に関連付けされている。 Thus, the t 0 data in the second storage area and the t n data in the third storage area are logically associated with the data in the first storage area by the key field 714.

なお、レコードのアクセス性能についても、各手段相互の連携によって向上させることができる。これには、バッファリング手法、あるいは連想による並列実行制御の手法が考えられる。また、第2あるい第3記憶エリアについては、必要に応じてヘッダ部71のキーでの索引を持つ手法がある。また、第2や第3記憶エリアの場合、時系列にn分割しているならば連続する分割エリアを併合することで検索効率(同様にスペース格納効率も)を高めることができる。   Note that the access performance of the record can also be improved by mutual cooperation of each means. This may be a buffering technique or a parallel execution control technique based on association. For the second or third storage area, there is a method of having an index with the key of the header section 71 as necessary. Further, in the case of the second and third storage areas, if n divisions are made in time series, search efficiency (similarly space storage efficiency) can be improved by merging consecutive division areas.

以上説明したように、データベース管理システムでは、DBを複数の記憶エリアで構成して各目的のデータを一元管理するので、従来のように別ファイルにコピーして、重複したデータを持つ必要がない。このため、データの管理が容易になる。さらに、データの重複がないことから、DBの格納スペース効率がよい、DBのコピーに要する時間が節約になる等の効果がある。一方、システムの業務・運用面では、過去の複数の時点のDBの内容を後にまとめて参照できることから、統計処理やバックアップ処理が容易となる。また、DBへの連続的なアクセスを保証しながら、過去のある時点を基点とする更新処理が複数の記憶エリアで多重化できることから、オンライン環境でのUAP開発(テスト作業等)でもDBのスペース量やリロード(再作成)回数を削除でき、効率良くDBを利用できる。   As described above, in the database management system, the DB is composed of a plurality of storage areas and centrally manages the data for each purpose. Therefore, it is not necessary to copy to another file and have duplicate data as in the conventional case. . This facilitates data management. Furthermore, since there is no duplication of data, the storage space efficiency of the DB is good, and the time required for DB copy is saved. On the other hand, on the business / operation side of the system, the contents of the DB at a plurality of past points in time can be collectively referred to later, which facilitates statistical processing and backup processing. In addition, since update processing based on a certain point in the past can be multiplexed in a plurality of storage areas while guaranteeing continuous access to the DB, the DB space can also be used for UAP development (test work, etc.) in an online environment. The amount and the number of reloads (re-creation) can be deleted, and the DB can be used efficiently.

本発明のオンラインデータベース管理システムが稼働するシステムの全体構成図である。1 is an overall configuration diagram of a system in which an online database management system of the present invention operates. 本発明によるDBアクセス制御部の一実施例の構成図及びUAPとの関連を示した図である。It is the figure which showed the structure of one Example of the DB access control part by this invention, and the relationship with UAP. 本発明による処理ルートツリーの例およびデータ更新の様子を示す図である。It is a figure which shows the example of the process root tree by this invention, and the mode of data update. 処理ルート上に複数の時点設定した例を示す図である。It is a figure which shows the example which set several time points on the process route. 独立した複数の処理ルートを設定した例を示す図である。It is a figure which shows the example which set the some independent process route. DBアクセス制御部の最新データ参照要求の処理フローチャートである。It is a process flowchart of the newest data reference request of DB access control part. DBアクセス制御部の最新データ更新要求の処理フローチャートである。It is a processing flowchart of the latest data update request of the DB access control unit. DBアクセス制御部のt0データ記憶の処理フローチャートである。Is a process flowchart of t 0 data storage DB access control unit. DBアクセス制御部のt0データ参照要求の処理フローチャートである。It is a process flowchart of t 0 data reference request the DB access control unit. DBアクセス制御部のtnデータ参照要求の処理フローチャートである。It is a process flowchart of tn data reference request of DB access control part. DBアクセス制御部のtnデータ更新要求の処理フローチャートである。It is a process flowchart of tn data update request of DB access control part. 第2および第3記憶エリアのデータ形式の例を示す図である。It is a figure which shows the example of the data format of a 2nd and 3rd storage area.

符号の説明Explanation of symbols

1 中央処理装置(CPU)
2 オペレーティングシステム(OS)
3 トランザクシヨン処理モニタ(TPモニタ)
4 ユーザアプリケーションプログラム(UAP)
5 データベースアクセス制御部
8 データベース(DB)
9 第1記憶エリア
10 第2記憶エリア
11 第3記憶エリア
1 Central processing unit (CPU)
2 Operating system (OS)
3 Transaction processing monitor (TP monitor)
4 User application program (UAP)
5 Database access control unit 8 Database (DB)
9 First memory area 10 Second memory area 11 Third memory area

Claims (1)

データを記憶するデータベースと、オンラインシステムの下で動作するアプリケーション(以下、UAPと称す)からの要求により前記データベースのデータを参照および更新するデータベースアクセス制御部(以下、DBアクセス制御部と称す)とを具備するオンラインデータベース管理システムにおいて、
前記データベースを、オンラインシステムの下で動作する通常のUAPの処理ルート(以下、通常処理ルートと称す)による現時点での最新データを記憶する第1記憶エリアと、前記通常処理ルートの過去のある時点(以下、t0時点と称す)でのデータ(以下、t0データと称す)を記憶する第2記憶エリアと、前記t0データを元に、新たなUAPを実行する処理ルート(以下、別処理ルートと称す)による更新後のデータ(以下、tnデータと称す)を記憶する第3記憶エリアとで構成することを特徴とするオンラインデータベース管理システム。
A database for storing data, and a database access control unit (hereinafter referred to as a DB access control unit) for referring to and updating data in the database in response to a request from an application (hereinafter referred to as a UAP) operating under an online system. In an online database management system comprising:
A first storage area for storing the latest data at the present time by a normal UAP processing route (hereinafter referred to as a normal processing route) operating under an online system, and a past point in time of the normal processing route. A second storage area for storing data (hereinafter referred to as t0 data) (hereinafter referred to as t0 time), and a processing route (hereinafter referred to as a separate processing route) for executing a new UAP based on the t0 data. An online database management system comprising a third storage area for storing updated data (hereinafter referred to as tn data).
JP2007158157A 2007-06-15 2007-06-15 Data processing method and device Pending JP2007242061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007158157A JP2007242061A (en) 2007-06-15 2007-06-15 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007158157A JP2007242061A (en) 2007-06-15 2007-06-15 Data processing method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002168035A Division JP2003076593A (en) 2002-06-10 2002-06-10 Database management method and system

Publications (1)

Publication Number Publication Date
JP2007242061A true JP2007242061A (en) 2007-09-20

Family

ID=38587465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007158157A Pending JP2007242061A (en) 2007-06-15 2007-06-15 Data processing method and device

Country Status (1)

Country Link
JP (1) JP2007242061A (en)

Similar Documents

Publication Publication Date Title
JP4620457B2 (en) Multiple simultaneously active file systems
US20060047926A1 (en) Managing multiple snapshot copies of data
CN106980665B (en) Data dictionary implementation method and device and data dictionary management system
CN109063192B (en) Working method of high-performance mass file storage system
JP2007241486A (en) Memory system
KR100405745B1 (en) Data management system and method using a plurality of data operation modules, and computer usable medium
JPWO2007099636A1 (en) File system migration method, file system migration program, and file system migration apparatus
US7194486B2 (en) Method and system for data processing with data replication for the same
CN108304144B (en) Data writing-in and reading method and system, and data reading-writing system
EP2402861A1 (en) Storage system
CN117473117A (en) Video cyclic storage method, system and computer
JP2006031608A (en) Computer, storage system, file management method which computer performs, and program
CN113419897A (en) File processing method and device, electronic equipment and storage medium thereof
US7451279B2 (en) Storage system comprising a shared memory to access exclusively managed data
JP2001344139A (en) Database management device
US9063656B2 (en) System and methods for digest-based storage
JP2007242061A (en) Data processing method and device
JP3497053B2 (en) Processing method in online database management system and online database management system
US6625614B1 (en) Implementation for efficient access of extended attribute data
JP5868766B2 (en) Plant data storage device, plant data storage method, and plant data storage program
CN113032408A (en) Data processing method, system and equipment
CN108614838B (en) User group index processing method, device and system
JP2003076593A (en) Database management method and system
CN111831231B (en) Partition merging and partition splitting method and device
JP3559571B2 (en) Data processing device and data processing method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070712

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070828

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071026

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080118

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080131

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080229