JP5377672B2 - データベース管理システム - Google Patents
データベース管理システム Download PDFInfo
- Publication number
- JP5377672B2 JP5377672B2 JP2011553654A JP2011553654A JP5377672B2 JP 5377672 B2 JP5377672 B2 JP 5377672B2 JP 2011553654 A JP2011553654 A JP 2011553654A JP 2011553654 A JP2011553654 A JP 2011553654A JP 5377672 B2 JP5377672 B2 JP 5377672B2
- Authority
- JP
- Japan
- Prior art keywords
- transaction
- update
- data
- unit
- search
- 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
- 238000000034 method Methods 0.000 claims description 40
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000007726 management method Methods 0.000 description 55
- 238000010586 diagram Methods 0.000 description 6
- 244000205754 Colocasia esculenta Species 0.000 description 3
- 235000006481 Colocasia esculenta Nutrition 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 206010000210 abortion Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2308—Concurrency control
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
トランザクションとは、ユーザから要求されたデータベースに対する更新処理及び検索処理からなる一又は複数の処理を一の処理単位としてまとめたものである。トランザクションは、更新処理の場合もある。トランザクションは、検索処理のみの場合もある。
クションにより更新されている可能性のあるデータが存在するか否かを、第2の記憶部107にある更新情報を用いて判定する。存在すると判定した場合には、そのデータについて更新を行ったトランザクションの更新処理内容を第1の記憶部109から読みだし、更新前のデータへの復元処理を行う。
102 トランザクション管理部
103 更新部
104 検索部
105 ログ管理部
106 バッファ管理部
107 第2の記憶部
108 復元部
109 第1の記憶部
110 データベース
Claims (2)
- 構造化文書データの構造情報を表す文書構造情報と、前記構造化文書データのテキストに対し同一階層の同一名のタグには同一の項目IDが付されるテキスト情報と索引情報とからなる部分データとを含む文書データ、並びに前記項目IDとその最終更新時刻とを対応付けた時刻データテーブルを記憶するデータベースと、
前記データベースに記憶される前記部分データに対し更新要求及び検索要求を含むトランザクション要求及びトランザクションの開始要求を入力する入力部と、
前記更新要求に従って更新対象となる前記部分データを前記データベースから読み出し、その読み出した前記部分データ中の対象データの更新処理を実行すると共に、前記時刻データテーブルの前記対象データに対応する前記項目IDの前記最終更新時刻を更新する更新部と、
前記検索要求に従って検索対象となる検索対象データを前記部分データから検索すると共に、その検索対象データの最終更新時刻を前記時刻データテーブルから取得する検索部と、
前記トランザクションの実行を複数管理し、前記要求に従って実行される一のトランザクションに対応して一のトランザクションIDを割り当てるトランザクション管理部と、
前記更新要求のトランザクションに従い前記データベースの更新処理のログを記憶する第1の記憶部と、
前記更新部により前記データベースが更新された場合に、前記対象データの更新がなされたことを示す更新情報を前記トランザクションIDに対応付けて記憶する第2の記憶部と、
前記検索要求のトランザクションに従い前記検索部により前記データベースが検索され、前記最終更新時刻が前記更新処理の前記トランザクションIDの開始時刻前の場合はその検索結果を出力し、前記最終更新時刻が前記開始時刻後の場合で、かつ、前記検索対象データの前記更新情報が前記第2の記憶部に存在する場合に、前記対象データに対応するトランザクションIDを持つ前記更新処理のトランザクションの前記ログを前記第1の記憶部から読み出し、当該対象データの復元処理を行う復元部と、
を備えることを特徴とするデータベース管理システム。 - 前記部分データは、識別子である部分データIDを有し、
前記第2の記憶部は、
前記更新部により更新された前記対象データを特定する前記部分データの前記部分データIDを記憶し、
前記復元部は、
前記検索の際に、検索対象となる前記検索対象データを特定する前記部分データの部分データIDが前記第2の記憶部に存在するか否かを判定する
ことを特徴とする、請求項1記載のデータベース管理システム。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2010/000895 WO2011099082A1 (ja) | 2010-02-15 | 2010-02-15 | データベース管理システム |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2011099082A1 JPWO2011099082A1 (ja) | 2013-06-13 |
JP5377672B2 true JP5377672B2 (ja) | 2013-12-25 |
Family
ID=44367396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011553654A Active JP5377672B2 (ja) | 2010-02-15 | 2010-02-15 | データベース管理システム |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP5377672B2 (ja) |
CN (1) | CN102754083B (ja) |
WO (1) | WO2011099082A1 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375995A (zh) * | 2013-08-13 | 2015-02-25 | 苏州广海信息科技有限公司 | 一种数据库管理系统 |
JP5967628B2 (ja) | 2014-11-04 | 2016-08-10 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | クエリを処理する装置及び方法 |
CN106775468B (zh) * | 2016-12-06 | 2020-01-10 | 曙光信息产业(北京)有限公司 | 分布式事务的实现方法和系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002351727A (ja) * | 2001-05-29 | 2002-12-06 | Fujitsu Ltd | データベース管理システム,データベース管理処理方法,データベース管理システム用のプログラムおよびその記録媒体 |
JP2004046357A (ja) * | 2002-07-09 | 2004-02-12 | Toshiba Corp | 文書編集方法、文書編集システム、サーバ装置および文書編集プログラム |
JP2005025432A (ja) * | 2003-07-01 | 2005-01-27 | Fujitsu Ltd | トランザクション処理方法,トランザクション制御装置およびトランザクション制御プログラム |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4314126B2 (ja) * | 2004-02-20 | 2009-08-12 | 株式会社東芝 | 同時実行制御方法及び装置 |
JP5109676B2 (ja) * | 2008-01-22 | 2012-12-26 | 富士通株式会社 | データ整合性を確保するためのプログラム、方法及びコンピュータ・システム |
-
2010
- 2010-02-15 WO PCT/JP2010/000895 patent/WO2011099082A1/ja active Application Filing
- 2010-02-15 JP JP2011553654A patent/JP5377672B2/ja active Active
- 2010-02-15 CN CN201080039794.2A patent/CN102754083B/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002351727A (ja) * | 2001-05-29 | 2002-12-06 | Fujitsu Ltd | データベース管理システム,データベース管理処理方法,データベース管理システム用のプログラムおよびその記録媒体 |
JP2004046357A (ja) * | 2002-07-09 | 2004-02-12 | Toshiba Corp | 文書編集方法、文書編集システム、サーバ装置および文書編集プログラム |
JP2005025432A (ja) * | 2003-07-01 | 2005-01-27 | Fujitsu Ltd | トランザクション処理方法,トランザクション制御装置およびトランザクション制御プログラム |
Non-Patent Citations (3)
Title |
---|
CSND200600552002; 藤塚 勤也: 'エンタープライズ利用が加速する2大オープンソースRDBMS PostgreSQLとMySQLの「メカニズム」と「違い」を' COMPUTERWORLD Get Technology Right 第2巻,第8号, 20050801, p.78-83, (株)IDGジャパン * |
JPN6013027503; 藤塚 勤也: 'オープンソースDBの基本構造を知る' 日経システム構築 第138号, 20040926, p.198-203, 日経BP社 * |
JPN6013027505; 藤塚 勤也: 'エンタープライズ利用が加速する2大オープンソースRDBMS PostgreSQLとMySQLの「メカニズム」と「違い」を' COMPUTERWORLD Get Technology Right 第2巻,第8号, 20050801, p.78-83, (株)IDGジャパン * |
Also Published As
Publication number | Publication date |
---|---|
CN102754083A (zh) | 2012-10-24 |
JPWO2011099082A1 (ja) | 2013-06-13 |
CN102754083B (zh) | 2015-08-05 |
WO2011099082A1 (ja) | 2011-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105630863B (zh) | 用于多版本并发提交状态的事务控制块 | |
EP2784665B1 (en) | Program and version control method | |
US8290991B2 (en) | Atomic deletion of database data categories | |
US8140495B2 (en) | Asynchronous database index maintenance | |
JP5922716B2 (ja) | 個別にアクセス可能なデータユニットの記憶の取り扱い方法 | |
US9639542B2 (en) | Dynamic mapping of extensible datasets to relational database schemas | |
US20070118547A1 (en) | Efficient index versioning in multi-version databases | |
US8214411B2 (en) | Atomic deletion of database data categories | |
US8479203B2 (en) | Reducing processing overhead and storage cost by batching task records and converting to audit records | |
US8832022B2 (en) | Transaction processing device, transaction processing method and transaction processing program | |
JP5199317B2 (ja) | データベース処理方法、データベース処理システム及びデータベースサーバ | |
CN109902130A (zh) | 一种数据存储方法、数据查询方法和装置、存储介质 | |
US8055646B2 (en) | Prevention of redundant indexes in a database management system | |
JP5377672B2 (ja) | データベース管理システム | |
CN106503186A (zh) | 一种数据管理方法、客户端及系统 | |
JP2000222215A (ja) | 手順ベース事例検索システム | |
CN108959548B (zh) | 业务请求的处理方法及装置 | |
JP2015176407A (ja) | 検索装置、検索方法、検索用プログラムおよび検索用データ構造 | |
JP6402600B2 (ja) | データベース装置、データ管理方法、及びプログラム | |
CN107729518A (zh) | 一种关系型数据库的全文检索方法及装置 | |
JP2009037359A (ja) | データ登録検索方法、データ登録検索プログラムおよびデータベースシステム | |
US8037113B2 (en) | Techniques for file system searching | |
JP4825504B2 (ja) | データ登録・検索システムおよびデータ登録・検索方法 | |
JP2020113210A (ja) | 情報処理装置、情報処理方法及びプログラム | |
JP2006072705A (ja) | 文書検索装置および方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130611 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130806 |
|
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: 20130828 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130924 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5377672 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |