@article{oai:ipsj.ixsq.nii.ac.jp:00017618, author = {川田, 純 and 石川, 佳治 and 北川, 博之 and Jun, Kawada and Yoshiharu, Ishikawa and Hiroyuki, Kitagawa}, issue = {SIG12(TOD16)}, journal = {情報処理学会論文誌データベース(TOD)}, month = {Dec}, note = {XML の普及にともない,リレーショナルデータベース中のデータを仮想的なXML ビューとして提供し,XQuery などのXML 問合せ言語によるアクセスを可能とする手法に対する関心が高まっている.特に,RDBMS とミドルウェアの連携のもと,問合せ処理の多くをRDBMS に委譲することで効率的処理を行う方式が研究されている.一方,XML 問合せにおいてドメイン依存の処理機能を導入する手法として,利用者定義の外部関数を支援するアプローチが知られている.一般にこれらの外部関数は,XML フラグメントに対する固有の処理を汎用プログラミング言語などで記述したものである.外部関数を直接RDBMS で評価することは一般に困難なため,このような問合せを既存のアプローチでそのまま処理することはできない.そこで本論文では,RDBMS とミドルウェアの連携による,XML ビューに対する外部関数を含む問合せの処理方式を提案する.本方式では,与えられた問合せに含まれる処理をできるだけRDBMS へ委譲することを基本とするが,外部関数の評価については,評価に必要なデータをRDBMS から獲得した後ミドルウェア自身が行うことで,汎用的なRDBMS 上での処理を可能とする.具体的には3 種類の連携方式を提案し,評価実験によりそれらの処理効率について検討する., XML views over RDBs and to allow users to access data with XML query languages such as XQuery.The query processing is done effciently by making the best of the querying power of RDBMSs.Namely,XML queries are translated into SQL queries and tagging operations, which are processed by the RDBMSs and, middleware,respectively.In some XML query languages including XQuery,use of user-de ?ned foreign functions is enabled or planned as an extension feature to cope with domain dependent semantics.Foreign functions are de ?ned for XML fragments,and their implementations are often given by codes in a general programming language.The existing query processing schemes on XML views do not consider cases where foreign functions are included in XML queries.In this paper,we propose extended schemes to process XML queries in such cases.In the proposed schemes,the middleware takes care of processing foreign functions as well as tagging operations.Therefore,the proposed schemes are applicable to XML views on commonly available RDBMSs.Three types of query processing schemes are proposed,and their performance is studied with experiments.}, pages = {16--37}, title = {リレーショナルデータベース上のXMLビューに対する外部関数を考慮した問合せ処理}, volume = {43}, year = {2002} }