null+****@clear*****
null+****@clear*****
2011年 6月 21日 (火) 12:10:55 JST
Kouhei Sutou 2011-06-21 03:10:55 +0000 (Tue, 21 Jun 2011)
New Revision: 6d3f0fb18382478dc1a92b1086f0586a16f08eaa
Log:
[doc] add a storage mode figure.
Added files:
doc/ja/source/_static/images/storage-mode.png
doc/ja/source/_static/images/storage-mode.svg
Modified files:
doc/ja/source/userguide.rst
Added: doc/ja/source/_static/images/storage-mode.png (+0 -0) 100644
===================================================================
(Binary files differ)
Added: doc/ja/source/_static/images/storage-mode.svg (+287 -0) 100644
===================================================================
--- /dev/null
+++ doc/ja/source/_static/images/storage-mode.svg 2011-06-21 03:10:55 +0000 (ef732a4)
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="452.35107"
+ height="473.72626"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="storage-mode.svg"
+ inkscape:export-filename="storage-mode.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <defs
+ id="defs4">
+ <marker
+ inkscape:stockid="Arrow1Lend"
+ orient="auto"
+ refY="0"
+ refX="0"
+ id="Arrow1Lend"
+ style="overflow:visible">
+ <path
+ id="path3879"
+ d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
+ transform="matrix(-0.8,0,0,-0.8,-10,0)"
+ inkscape:connector-curvature="0" />
+ </marker>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.4"
+ inkscape:cx="258.31006"
+ inkscape:cy="277.15835"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1024"
+ inkscape:window-height="582"
+ inkscape:window-x="458"
+ inkscape:window-y="107"
+ inkscape:window-maximized="0"
+ fit-margin-top="10"
+ fit-margin-left="10"
+ fit-margin-right="10"
+ fit-margin-bottom="10" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="レイヤー 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-64.289734,-118.44063)">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3760"
+ width="431.35107"
+ height="307.56534"
+ x="74.789734"
+ y="221.5117"
+ rx="18.182745"
+ ry="18.182745"
+ inkscape:export-filename="./rect3760.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect2985"
+ width="278.5899"
+ height="46.542416"
+ x="148.76938"
+ y="265.46445"
+ rx="18.182745"
+ ry="18.182745" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="346.34598"
+ y="251.39787"
+ id="text3762"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3764"
+ x="346.34598"
+ y="251.39787">MySQL Server</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="222.80261"
+ y="297.84113"
+ id="text3766"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3768"
+ x="222.80261"
+ y="297.84113">SQL Handler</tspan></text>
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect4537"
+ width="403.57144"
+ height="159.28569"
+ x="87.85714"
+ y="358.79074"
+ rx="24.696215"
+ ry="24.696215" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect4535"
+ width="114.40467"
+ height="105.34303"
+ x="107.61432"
+ y="401.35693"
+ rx="18.182745"
+ ry="18.182745" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="128.81665"
+ y="461.73938"
+ id="text3818"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3820"
+ x="128.81665"
+ y="461.73938">MyISAM</tspan></text>
+ <rect
+ ry="18.182745"
+ rx="18.182745"
+ y="401.35693"
+ x="235.61432"
+ height="105.34303"
+ width="114.40467"
+ id="rect4533"
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="254.78931"
+ y="463.14563"
+ id="text3824"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3826"
+ x="254.78931"
+ y="463.14563">InnoDB</tspan></text>
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ff0000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3828"
+ width="114.40467"
+ height="105.34303"
+ x="359.61432"
+ y="401.35693"
+ rx="18.182745"
+ ry="18.182745" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="416.93384"
+ y="428.98547"
+ id="text3830"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3832"
+ x="416.93384"
+ y="428.98547">groonga</tspan><tspan
+ sodipodi:role="line"
+ x="416.93384"
+ y="458.98547"
+ id="tspan3834">storage</tspan><tspan
+ sodipodi:role="line"
+ x="416.93384"
+ y="488.98547"
+ id="tspan3836">engine</tspan></text>
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3865"
+ width="176.92403"
+ height="56.408867"
+ x="203.80714"
+ y="128.94063"
+ rx="18.182745"
+ ry="18.182745" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="220.86682"
+ y="164.86772"
+ id="text3867"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan3869"
+ x="220.86682"
+ y="164.86772">MySQL Client</tspan></text>
+ <path
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+ d="m 284.55589,190.70206 0,27.43511"
+ id="path3871"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="239.6041"
+ y="210.90512"
+ id="text4317"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4319"
+ x="239.6041"
+ y="210.90512">SQL</tspan></text>
+ <path
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+ d="m 155.14286,319.50504 0,32.85714"
+ id="path4323"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path4509"
+ d="m 175.14286,352.36218 0,-32.85714"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)" />
+ <text
+ xml:space="preserve"
+ style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="312.85715"
+ y="387.36218"
+ id="text4539"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4541"
+ x="312.85715"
+ y="387.36218">Storage Engine</tspan></text>
+ <path
+ inkscape:connector-curvature="0"
+ id="path4543"
+ d="m 279.14286,319.50504 0,32.85714"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)" />
+ <path
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+ d="m 299.14286,352.36218 0,-32.85714"
+ id="path4545"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+ d="m 399.14286,319.50504 0,32.85714"
+ id="path4547"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path4549"
+ d="m 419.14286,352.36218 0,-32.85714"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)" />
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ x="173.57143"
+ y="577.36218"
+ id="text4551"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4553"
+ x="173.57143"
+ y="577.36218">Storage Mode</tspan></text>
+ </g>
+</svg>
Modified: doc/ja/source/userguide.rst (+17 -0)
===================================================================
--- doc/ja/source/userguide.rst 2011-06-21 02:35:16 +0000 (064590e)
+++ doc/ja/source/userguide.rst 2011-06-21 03:10:55 +0000 (7124a35)
@@ -35,6 +35,23 @@ SHOW ENGINESコマンドでgroongaストレージエンジンがインストー
mysql> INSTALL PLUGIN groonga SONAME 'ha_groonga.so';
+動作モード
+----------
+
+0.7からgroongaストレージエンジンは以下の2つの動作モードのど
+ちらかで動作するようになりました。
+
+* ストレージモード(0.6以前と同じ動作)
+* ラッパーモード
+
+ストレージモードでは、全文検索機能だけではなくデータストアも
+含めてgroongaの機能を利用します。ラッパーモードでは全文検索
+機能のみgroongaの機能を利用し、データストアはInnoDBなど既存
+のストレージエンジンを利用します。
+
+.. figure:: _static/images/storage-mode.png
+ :alt: ストレージモード
+
全文検索の利用方法
------------------