JP7427775B2 - ストアドプロシージャの実行方法、装置、データベースシステム及び記憶媒体 - Google Patents
ストアドプロシージャの実行方法、装置、データベースシステム及び記憶媒体 Download PDFInfo
- Publication number
- JP7427775B2 JP7427775B2 JP2022521107A JP2022521107A JP7427775B2 JP 7427775 B2 JP7427775 B2 JP 7427775B2 JP 2022521107 A JP2022521107 A JP 2022521107A JP 2022521107 A JP2022521107 A JP 2022521107A JP 7427775 B2 JP7427775 B2 JP 7427775B2
- Authority
- JP
- Japan
- Prior art keywords
- sql
- stored procedure
- engine
- request message
- processing engine
- 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 title claims description 309
- 238000012545 processing Methods 0.000 claims description 144
- 230000004044 response Effects 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 32
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000013500 data storage Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000000644 propagated effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000009429 electrical wiring Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
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/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- 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/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
-
- 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/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
-
- 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/21—Design, administration or maintenance of databases
- G06F16/211—Schema design and management
-
- 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/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
- G06F16/2443—Stored procedures
-
- 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/25—Integrating or interfacing systems involving database management systems
- G06F16/256—Integrating or interfacing systems involving database management systems in federated or virtual databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
送信モジュール10は、ストアドプロシージャ実行要求メッセージをストアドプロシージャ・エンジンに送信するように設けられている。
Claims (14)
- 構造化照会言語(SQL)処理エンジンが、ストアドプロシージャ実行要求メッセージをストアドプロシージャ・エンジンに送信することと、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを実行することと、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを実行してエラーが発生した場合に、エラープロンプトメッセージを前記ストアドプロシージャ・エンジンに送信することと、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたストアドプロシージャ実行応答メッセージを受信することと、を含む
ストアドプロシージャの実行方法。 - 前記SQL処理エンジンが前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを実行することは、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを受信することと、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを処理することと、
前記SQL処理エンジンが、SQL実行応答メッセージを前記ストアドプロシージャ・エンジンに送信することと、を含む
請求項1に記載のストアドプロシージャの実行方法。 - 前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信された前記SQL実行要求メッセージを受信することは、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL結果セット要求メッセージを受信することと、
前記SQL処理エンジンが、前記SQL結果セット要求メッセージに基づいて、SQLの実行結果を保持するSQL結果セット応答メッセージを前記ストアドプロシージャ・エンジンに送信することと、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信された次のSQL実行要求メッセージを受信することと、をさらに含む
請求項2に記載のストアドプロシージャの実行方法。 - 前記SQL処理エンジンが、前記SQL結果セット要求メッセージに基づいて、SQL結果セット応答メッセージを前記ストアドプロシージャ・エンジンに送信した後に、
前記SQL処理エンジンが、前記ストアドプロシージャ・エンジンから送信されたSQL結果解放指示メッセージを受信することと、
前記SQL処理エンジンが、前記SQL結果解放指示メッセージに基づいてSQL結果セットを解放することと、をさらに含む
請求項3に記載のストアドプロシージャの実行方法。 - 前記SQL処理エンジンがストアドプロシージャ・エンジンにストアドプロシージャ実行要求メッセージを送信する前に、前記SQL処理エンジンが、前記ストアドプロシージャ実行要求メッセージを取得することをさらに含む
請求項1に記載のストアドプロシージャの実行方法。 - ストアドプロシージャ・エンジンが、構造化照会言語(SQL)処理エンジンから送信されたストアドプロシージャ実行要求メッセージを受信することと、
前記ストアドプロシージャ・エンジンが、SQL実行要求メッセージを構築して前記SQL処理エンジンに送信することと、
前記SQL処理エンジンが前記ストアドプロシージャ・エンジンから送信されたSQL実行要求メッセージを実行してエラーが発生した場合に、前記ストアドプロシージャ・エンジンが、前記SQL処理エンジンから送信されたエラープロンプトメッセージを受信することと、
前記ストアドプロシージャ・エンジンが、前記SQL処理エンジンにストアドプロシージャ実行応答メッセージを送信することと、を含む
ストアドプロシージャの実行方法。 - 前記ストアドプロシージャ・エンジンが、SQL実行要求メッセージを構築して前記SQL処理エンジンに送信することは、
前記ストアドプロシージャ・エンジンが、前記ストアドプロシージャ実行要求メッセージに基づいてSQL実行要求メッセージを構築することと、
前記ストアドプロシージャ・エンジンが、前記ストアドプロシージャ・エンジンによって構築されたSQL実行要求メッセージを前記SQL処理エンジンに送信することと、
前記ストアドプロシージャ・エンジンが、前記SQL処理エンジンから送信されたSQL実行応答メッセージを受信することと、を含む
請求項6に記載のストアドプロシージャの実行方法。 - 前記ストアドプロシージャ・エンジンが、前記ストアドプロシージャ実行要求メッセージに基づいて前記SQL実行要求メッセージを構築することは、
前記ストアドプロシージャ・エンジンが、SQL結果セット要求メッセージを前記SQL処理エンジンに送信することと、
前記ストアドプロシージャ・エンジンが、前記SQL処理エンジンから送信されたSQL結果セット応答メッセージを受信し、前記SQL結果セット応答メッセージがSQLの実行結果を保持することと、
前記ストアドプロシージャ・エンジンが、前記ストアドプロシージャ実行要求メッセージに基づいて次のSQL実行要求メッセージを構築することと、をさらに含む
請求項7に記載のストアドプロシージャの実行方法。 - 前記ストアドプロシージャ・エンジンが前記SQL処理エンジンから送信されたSQL結果セット応答メッセージを受信した後に、
前記ストアドプロシージャ・エンジンが、SQL結果解放指示メッセージを前記SQL処理エンジンに送信することをさらに含む
請求項8に記載のストアドプロシージャの実行方法。 - 前記ストアドプロシージャ・エンジンは、ストアドプロシージャを実行してエラーが発生した場合に、エラー情報を前記ストアドプロシージャ実行応答メッセージに書き込むことをさらに含む
請求項6に記載のストアドプロシージャの実行方法。 - コンピュータプログラムを実行することによって、請求項1~5のいずれか一項に記載のストアドプロシージャの実行方法を実現するプロセッサを備える
構造化照会言語(SQL)処理エンジン。 - コンピュータプログラムを実行することによって、請求項6~10のいずれか一項に記載のストアドプロシージャの実行方法を実現するプロセッサを備える
ストアドプロシージャ・エンジン。 - 請求項12に記載のストアドプロシージャ・エンジンと、請求項11に記載の構造化照会言語(SQL)処理エンジンと、を備える
データベースシステム。 - 請求項1~10のいずれか一項に記載のストアドプロシージャの実行方法をプロセッサに実行させるコンピュータプログラムが記憶されている
コンピュータ可読記憶媒体。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911025993.7A CN112711602B (zh) | 2019-10-25 | 2019-10-25 | 一种存储过程的运行方法、装置,数据库系统及存储介质 |
CN201911025993.7 | 2019-10-25 | ||
PCT/CN2020/122640 WO2021078176A1 (zh) | 2019-10-25 | 2020-10-22 | 存储过程的运行方法、装置、数据库系统及存储介质 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022551454A JP2022551454A (ja) | 2022-12-09 |
JP7427775B2 true JP7427775B2 (ja) | 2024-02-05 |
Family
ID=75540980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022521107A Active JP7427775B2 (ja) | 2019-10-25 | 2020-10-22 | ストアドプロシージャの実行方法、装置、データベースシステム及び記憶媒体 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20220374423A1 (ja) |
EP (1) | EP4044043A4 (ja) |
JP (1) | JP7427775B2 (ja) |
CN (1) | CN112711602B (ja) |
WO (1) | WO2021078176A1 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7392040B1 (ja) | 2022-05-30 | 2023-12-05 | 三菱電機Itソリューションズ株式会社 | 中継装置、中継方法、中継プログラム及びデータベースシステム |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004062566A (ja) | 2002-07-30 | 2004-02-26 | Jmnet Inc | データベースシステム及びそれを構成するマスターノード装置及びプログラム |
JP2004287926A (ja) | 2003-03-24 | 2004-10-14 | Ricoh Co Ltd | データベース検索方法、データベース管理サーバ装置、及び汎用ストアドプロシージャ |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07244601A (ja) * | 1994-03-04 | 1995-09-19 | Nippon Telegr & Teleph Corp <Ntt> | 関係データベースのアクセス方法および装置 |
JP3808941B2 (ja) * | 1996-07-22 | 2006-08-16 | 株式会社日立製作所 | 並列データベースシステム通信回数削減方法 |
JP3742177B2 (ja) * | 1997-02-26 | 2006-02-01 | 株式会社日立製作所 | 並列データベースシステムルーチン実行方法 |
JP2002032247A (ja) * | 2000-05-11 | 2002-01-31 | Keiichi Kogure | 処理設定テーブルにより入出力装置とデータベースのデータ処理を一元的に制御する方法ならび装置 |
EP1546822A4 (en) * | 2002-09-18 | 2008-07-02 | Netezza Corp | ASYMMETRIC DATA STREAMING ARCHITECTURE WITH AN AUTONOMOUS AND ASYNCHRONOUS JOB PROCESSING UNIT |
US7225202B2 (en) * | 2004-03-18 | 2007-05-29 | International Business Machines Corporation | Method and apparatus for generating query and response statements at runtime from generic requests |
US7266561B2 (en) * | 2004-03-18 | 2007-09-04 | International Business Machines Corporation | Method and apparatus for splitting and merging request and response data at runtime |
US7310637B2 (en) * | 2004-05-05 | 2007-12-18 | International Business Machines Corporation | Dynamic database access via standard query language and abstraction technology |
US7908286B2 (en) * | 2004-12-08 | 2011-03-15 | Oracle International Corporation | Techniques for providing XQuery access using web services |
US8056141B2 (en) * | 2006-09-13 | 2011-11-08 | Imperva, Inc. | Method for monitoring stored procedures |
US8260761B2 (en) * | 2006-10-20 | 2012-09-04 | Ianywhere Solutions, Inc. | Detecting performance degrading design and algorithm issues in database applications |
JP2010097285A (ja) * | 2008-10-14 | 2010-04-30 | Fujitsu Ltd | システム分析支援プログラム、システム分析支援装置、およびシステム分析支援方法 |
CN103348329A (zh) * | 2011-02-18 | 2013-10-09 | 惠普发展公司,有限责任合伙企业 | 生成测试数据 |
US20140095508A1 (en) * | 2012-10-01 | 2014-04-03 | International Business Machines | Efficient selection of queries matching a record using a cache |
CN103064875B (zh) * | 2012-10-30 | 2017-06-16 | 中国标准化研究院 | 一种服务化空间数据分布式查询方法 |
CN103092970A (zh) * | 2013-01-24 | 2013-05-08 | 华为技术有限公司 | 一种数据库操作方法及设备 |
US9128990B2 (en) * | 2013-03-15 | 2015-09-08 | Microsoft Technology Licensing, Llc | Executing stored procedures at parallel databases |
US10019297B2 (en) * | 2013-04-03 | 2018-07-10 | Salesforce.Com, Inc. | Systems and methods for implementing bulk handling in asynchronous processing |
US9823995B2 (en) * | 2014-08-28 | 2017-11-21 | Sap Se | Structured query language debugger |
GB201517416D0 (en) * | 2015-10-02 | 2015-11-18 | Ibm | Task-execution in a DBMS using stored procedures |
CN107798025B (zh) * | 2016-09-05 | 2020-06-02 | 华为技术有限公司 | 存储过程的运行、编译方法、装置和数据库系统 |
WO2018120171A1 (zh) * | 2016-12-30 | 2018-07-05 | 华为技术有限公司 | 一种用于存储过程的执行方法、设备以及系统 |
US10685019B2 (en) * | 2017-04-14 | 2020-06-16 | Salesforce.Com, Inc. | Secure query interface |
CN108874837B (zh) * | 2017-05-16 | 2021-09-03 | 北京京东尚科信息技术有限公司 | 数据库分库方法、装置、中间件及存储介质和电子设备 |
KR102511927B1 (ko) * | 2018-01-18 | 2023-03-21 | 한국전자통신연구원 | Jit 컴파일 기반 데이터베이스 시스템, 이의 질의 처리 방법 및 이의 저장 프로시저 최적화 방법 |
-
2019
- 2019-10-25 CN CN201911025993.7A patent/CN112711602B/zh active Active
-
2020
- 2020-10-22 US US17/765,947 patent/US20220374423A1/en active Pending
- 2020-10-22 WO PCT/CN2020/122640 patent/WO2021078176A1/zh unknown
- 2020-10-22 EP EP20878988.3A patent/EP4044043A4/en active Pending
- 2020-10-22 JP JP2022521107A patent/JP7427775B2/ja active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004062566A (ja) | 2002-07-30 | 2004-02-26 | Jmnet Inc | データベースシステム及びそれを構成するマスターノード装置及びプログラム |
JP2004287926A (ja) | 2003-03-24 | 2004-10-14 | Ricoh Co Ltd | データベース検索方法、データベース管理サーバ装置、及び汎用ストアドプロシージャ |
Also Published As
Publication number | Publication date |
---|---|
CN112711602A (zh) | 2021-04-27 |
US20220374423A1 (en) | 2022-11-24 |
EP4044043A1 (en) | 2022-08-17 |
CN112711602B (zh) | 2023-04-28 |
EP4044043A4 (en) | 2023-11-15 |
JP2022551454A (ja) | 2022-12-09 |
WO2021078176A1 (zh) | 2021-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032706B (zh) | 智能合约执行方法、装置、设备和存储介质 | |
US10846124B2 (en) | Communication method, apparatus and system for virtual machine and host machine | |
CN113641413B (zh) | 目标模型加载更新方法及装置、可读介质和电子设备 | |
US20210109848A1 (en) | System and method for implementing an automated regression testing module | |
CN111414643A (zh) | 数据权限控制方法、装置、服务器及存储介质 | |
CN111737564B (zh) | 一种信息查询方法、装置、设备及介质 | |
CN104104705B (zh) | 分布式存储系统的接入方法和设备 | |
CN113867993B (zh) | 虚拟化的rdma方法、系统、存储介质及电子设备 | |
CN114595186A (zh) | 一种多核处理器的核间通信方法、通信装置 | |
CN110188114A (zh) | 一种数据操作的优化方法、装置、系统、设备和存储介质 | |
CN109729121B (zh) | 一种云存储系统及用于云存储系统中实现自定义数据处理的方法 | |
JP7427775B2 (ja) | ストアドプロシージャの実行方法、装置、データベースシステム及び記憶媒体 | |
CN112787999A (zh) | 跨链调用方法、装置、系统与计算机可读存储介质 | |
US10313450B2 (en) | Method for transparently connecting augmented network socket operations | |
CN112506676B (zh) | 进程间的数据传输方法、计算机设备和存储介质 | |
CN114584618A (zh) | 信息交互方法、装置、设备、存储介质和系统 | |
CN112181681A (zh) | 一种远程调用方法、装置、计算机设备及存储介质 | |
CN111596864A (zh) | 一种数据延时删除的方法、装置、服务器及存储介质 | |
US20220261489A1 (en) | Capability management method and computer device | |
CN110609680A (zh) | 基于Spring拦截器的参数传递方法、装置、存储介质及设备 | |
CN113326033B (zh) | 一种带有多种语言API的key-value存储系统 | |
JP7294577B2 (ja) | 管理デバイスによってリモートデバイスを管理する方法、デバイスおよびコンピュータプログラム | |
CN113961194A (zh) | 基于Flutter跨应用的工程构建方法、系统、终端及介质 | |
CN113760986A (zh) | 一种数据查询方法、装置、设备及存储介质 | |
CN113760465A (zh) | 一种事务执行方法、装置、服务器、设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220407 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230524 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230704 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231003 |
|
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: 20240109 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240124 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7427775 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |