3. XML, DB, DB (AP). DB, DB, AP. RDB., XMLDB, XML,.,,.,, (XML / ), XML,,., AP. AP AP AP 検索キー //A=1 //A=2 //A=3 返却 XML 全体 XML 全体 XML 全体 XMLDB <root> <A

Similar documents
090220VTSystemDesign.ppt

090801OSC新潟.ppt

122.pdf

Oracle XML DB によるスケーラビリティおよびパフォーマンス検証 - MML v.3.0

untitled

PGECons技術ドキュメントテンプレート Ver.3

tkk0408nari

XISによる効率良いシステム開発のポイント

XML基礎

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,,

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,,

データ連携ソリューションスイート 「ASTERIA WARP」  ご紹介資料

PowerPoint プレゼンテーション

_02_3.ppt

untitled

SMILE-BS_人事給与

Ver. 3.9 Ver E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,, HT,

PowerEdge R730xd Contents RAID /RAID & P3-6 PCIe P P P P OS P P P P7 P8 P9 P10-11 P12-17 P P112

p _

<834E C F D E657073>

IBM Software Group DB2 Information Management Software DB2 V8 XML SQL/XML 2 XML XML UDF XMLExtender XML XML XMLCollection, XMLColumn XML UDF Informati

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,

_02-4.ppt

Fig. 3 3 Types considered when detecting pattern violations 9)12) 8)9) 2 5 methodx close C Java C Java 3 Java 1 JDT Core 7) ) S P S

Ver Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI

( ) ID - 2 -

1_26.dvi

1 / 1 idrac8 CPU 1 Intel Xeon E v5 Intel Pentium Intel Core i3 Intel Celeron Intel C236 Microsoft Windows Server 2008 R2 SP1 Microsoft Windows S

スライド 1


クララパンフレット2011冬1P-P40

intra-mart Web for SellSide ver /03/31 Oracle MS-SQL Server IBM DB2 MS-SQL Server IBM DB2 Client Side JavaScript Server Side JavaScript URL -

ActionScript Flash Player 8 ActionScript3.0 ActionScript Flash Video ActionScript.swf swf FlashPlayer AVM(Actionscript Virtual Machine) Windows

, IT.,.,..,.. i

2 3

n n n ( ) n Oracle 16 PostgreSQL 3 MySQL


DVIOUT

1

Wiki Wiki Wiki...

[2] OCR [3], [4] [5] [6] [4], [7] [8], [9] 1 [10] Fig. 1 Current arrangement and size of ruby. 2 Fig. 2 Typography combined with printing

Web Web Web Web Web, i

_02-5.ppt

ID 3) 9 4) 5) ID 2 ID 2 ID 2 Bluetooth ID 2 SRCid1 DSTid2 2 id1 id2 ID SRC DST SRC 2 2 ID 2 2 QR 6) 8) 6) QR QR QR QR


DEIM Forum 2019 H2-2 SuperSQL SuperSQL SQL SuperSQL Web SuperSQL DBMS Pi

CAC

IPSJ SIG Technical Report NetMAS NetMAS NetMAS One-dimensional Pedestrian Model for Fast Evacuation Simulator Shunsuke Soeda, 1 Tomohisa Yam

,,.,,., II,,,.,,.,.,,,.,,,.,, II i

intra-mart ver /10/31 1. / intra-mart 3.2 AND intra-mart (JavaMail ) ( )

sanboot-whitepaper.pdf

Web Web Web Web i

…l…b…g…‘†[…N…v…“…O…›…~…fi…OfiÁŸ_

untitled

PowerPoint プレゼンテーション

橡dbweb2002-sato.PDF

29 jjencode JavaScript

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,,

雲の中のWebアプリケーション監視術!~いまなら間に合うクラウド時代の性能監視入門~

17 Proposal of an Algorithm of Image Extraction and Research on Improvement of a Man-machine Interface of Food Intake Measuring System

IPSJ SIG Technical Report Vol.2013-CE-122 No.16 Vol.2013-CLE-11 No /12/14 Android 1,a) 1 1 GPS LAN 2 LAN Android,,, Android, HTML5 LAN 1. ICT(I

1,.,,,., RDBM, SQL. OSS,, SQL,,.

Input image Initialize variables Loop for period of oscillation Update height map Make shade image Change property of image Output image Change time L

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

main.dvi

Postgres Plus Advanced Server 9.3パーティションテーブルの特徴と性能検証レポート

11U Dell CPU RAID 1U 1 Intel Xeon E v5 Intel Pentium Intel Core i3 Intel Celeron Intel C236 Microsoft Windows Server 2008 R2/2008 R2 SP1 Standar

B 20 Web

untitled

はじめに

メール全文検索アプリケーション Sylph-Searcher のご紹介 SRA OSS, Inc. 日本支社技術部チーフエンジニア Sylpheed 開発者 山本博之 Copyright 2007 SRA OSS, Inc. Japan All right

GPS携帯端末を用いた近隣バス停位置と

FUJITSU Security Solution 手のひら静脈認証PCログオンソフトウェア

Ver. 3.7 Ver E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,, HT,

07-二村幸孝・出口大輔.indd

P P P P P P P OS... P P P P P P

,

Testing XML Performance

book

<4D F736F F D A939D8D8795F18D908F C678A A2E646F63>

PowerPoint プレゼンテーション

ProLiant ML110 システム構成図

PowerPoint プレゼンテーション

XML Consortium & XML Consortium 1 XML Consortium XML Consortium 2

T330_ indd

untitled

L422277A_Xserve_Guide_01

クラウド時代のインフラ構成/変更管理とコンプライアンス管理

1

csj-report.pdf

スライド 1

PostgreSQL の XML 機能解説と将来拡張への提言

IPSJ SIG Technical Report Vol.2010-NL-199 No /11/ treebank ( ) KWIC /MeCab / Morphological and Dependency Structure Annotated Corp

DEIM Forum 2009 B4-6, Str

スライド 1

PRIMERGY TX200 S2 システム構成図

リレーショナルデータベース入門 SRA OSS, Inc. 日本支社 Copyright 2008 SRA OSS, Inc. Japan All rights reserved. 1

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

ProLiant ML110 Generation 4 システム構成図

IPSJ SIG Technical Report Vol.2014-CG-155 No /6/28 1,a) 1,2,3 1 3,4 CG An Interpolation Method of Different Flow Fields using Polar Inter

Transcription:

PostgreSQL XML 1 1 1 1 XML,,, /. XML.,,, PostgreSQL.. Implementation of Yet Another XML-type for PostgreSQL Toshifumi Enomoto, 1 Gengo Suzuki, 1 Nobuyuki Kobayashi 1 and Masashi Yamamuro 1 There are various manipulations for XML data, but most frequent and essential manipulations on XML database are getting and setting values of text nodes or attributes. In case of creating an index, specified values are extracted from all XML data. Therefore, we propose the yet another XML-type implementation that enables to get and set values of text nodes or attributes quickly for PostrgreSQL. 1. XML(eXtensible Markup Language), Web.,, 1 NTT NTT Cyber Space Laboratories, XML,., XML, XML (XMLDB), (RDB)., XML, RDB XMLDB,., XMLDB,., PostgreSQL. 2. 2.1 XML RDB,.,,,,,., XMLDB. XMLDB, ( ) XML, XML, RDB., NeoCoreXMS 1), TX1 2), pgboscage 3)., Oracle 4), DB2 5) RDB, XML, PostgreSQL 1 XML. 6) 2.2 XML XMLDB, XML., XPath, XQuery, XSLT W3C, RDB SQL., XMLDB RDB,,., XMLDB,,. Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29 1 c 212 Information Processing Society of Japan

3. XML, DB, DB (AP). DB, DB, AP. RDB., XMLDB, XML,.,,.,, (XML / ), XML,,., AP. AP AP AP 検索キー //A=1 //A=2 //A=3 返却 XML 全体 XML 全体 XML 全体 XMLDB <root> <A>1</A> <root> <root> <B>b</B> <A>2</A> <B>b</B> <A>3</A>...... <B>b</B> </root> </root>... </root> A index 事前に作成 L1 C c1 N2 B D A d1 L2 N1 C L3 要素名等 c2 A B C D c1 d1 c2 L1 L2 L3 N1 N2 2 値 XML 値ポインタ リーフノード情報 親関係 中間ノード情報, 1 DB. XMLDB AP. AP XMLDB,, XML, AP., XMLDB,, AP, XML,. 3.1 XML,,, XML AP, XML. 2.,.,,.,,, ID( ) ID,., XML 3. Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29 1 2 c 212 Information Processing Society of Japan

<A ns= ns > <BY> <C X= x1 >c1</c> <D/> </BY> <C ns= ns1 >c2</c> </A> 1 Dell PowerEdge 19 (28 ) CPU: QuadCore Intel Xeon X5365 3.GHz 2 RAM: 16GB HDD: 1TB SATA II 72rpm 6 (RAID5) OS RedHat Linux 5 PostgreSQL 9.1.2 Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29 名前空間辞書 1 2 + + n s n s 1 6 テキストノード c 1 c 2 2 リーフノード情報 属性値 x 1 要素名辞書 1 2 3 4 4 + + ^ # + A B Y C D 中間ノード情報 3 ^3 ^1 + + + 4 + + 3 + + 2 1 2 + 3 属性名辞書 1,,,,,,,., ID, ( ), ID ( ), ( ).,,,., XML,,.,., //C/text() (XPath),. 1 + X ( 1 ) XPath,. ( 2 ),, C ID. ( 3 ), ID. ( 4 ) ( ),.,, XML, XML,.,, /A/BY/C/text() //A//BY//C/text(), XPath, (3),.,, XML DOM, XML. 4. PostgreSQL XML PostgreSQL,. 4.1, PostgreSQL 1., PostgreSQL contrib pgbench 7) XML., pgbench account, (aid int not null, bid int, abalance int, filler char(84)) 3 c 212 Information Processing Society of Japan

[sec], XML data 1, <accounts> <aid></aid> <bid></bid> <abalance></abalance> </accounts>, XML. XML, filler., PostgreSQL fillfactor 9. 1 pgbench DB 3,, XML,. 4, (sf). : pgbench(rdb ) : PostgreSQL XML : XML : XML,,,, 2, 15., TPS,.5% TPS. 4.2 DB,, DB 4. XML, XML () 4%. 1 PostgreSQL,.,, fillfactor. 72 66 6 54 48 42 36 3 24 18 12 6 2 4 6 8 1 12 14 16 [sec] 4,5 4, 3,5 3, 2,5 2, 1,5 1, 5 732 1,61 DB 作成時間 4 2,473 1,342 DB DB 作成内訳 (sf 1) 544 57 1,689 1,628 5 DB (sf 1) 他 インデクス作成 データ挿入 DB,,,,. Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29,, ( 5). XML, XML, XML, XML DOM, XPath 4 c 212 Information Processing Society of Japan

Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29 2, 1 2473., XML XML 1, 544 78%. 1342 1689 26%, XML,., XML. 45 4 35 3 トランザクション ( 更新含む ) 3 [GB] DB サイズ 25 2 25 2 15 1 5 2 4 6 8 1 12 14 16 6 DB, DB 6. XML, XML () 13%. 35%., pgbench() DB, filler., (sf) 7.,. 15 1 5 5 1 15 2 25 2 トランザクション ( 参照のみ ) 18 16 14 12 1 8 6 4 2 5 1, 1,5 2, 2,5 7 ( 6) 5 c 212 Information Processing Society of Japan

45 4 35 3 25 2 15 1 5 2 18 16 14 12 1 8 6 4 2 トランザクション ( 更新含む ) 5 1 15 2 25 3 DB サイズ [MB] トランザクション ( 参照のみ ) 5 1 15 2 25 3 DB サイズ [MB] 8 DB ( 6), (sf 1 ), XML 2TPS, 11TPS., XML () 24TPS 2 23%, 125TPS 17 2%.,, %, %.,,.,,., (sf), XML 1, XML () 11., 16., DB, 8 DB, DB 13GB., 13GB DB,., PostgreSQL, XML.,, DB,,. 5., XMLDB,,. PostgreSQL,, XML, DB 4%, 2%,. Vol.212-DPS-15 No.23 Vol.212-CSEC-56 No.23 212/2/29 1) http://www.cybertech.co.jp//db/neocorexms/ 2) http://www.toshiba-sol.co.jp/pro// 3),,, : pgboscage : PostgreSQL XMLDB, (28) 4) http://www.oracle.com/technetwork/database/features/db/index.html 5) http://www-1.ibm.com/software/data/db2// 6) http://www.postgresql.org/docs/9.1/interactive/datatype-.html 7) http://www.postgresql.org/docs/9.1/static/pgbench.html 6 c 212 Information Processing Society of Japan