[Groonga-mysql-commit] mroonga/mroonga [master] [doc] add an image about wrapper mode.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 21日 (火) 14:38:02 JST


Kouhei Sutou	2011-06-21 05:38:02 +0000 (Tue, 21 Jun 2011)

  New Revision: 52698c515ed6d104292f21c6cbc894e39fbd875b

  Log:
    [doc] add an image about wrapper mode.

  Added files:
    doc/ja/source/_static/images/wrapper-mode.png
    doc/ja/source/_static/images/wrapper-mode.svg
  Modified files:
    doc/ja/source/userguide.rst

  Added: doc/ja/source/_static/images/wrapper-mode.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: doc/ja/source/_static/images/wrapper-mode.svg (+322 -0) 100644
===================================================================
--- /dev/null
+++ doc/ja/source/_static/images/wrapper-mode.svg    2011-06-21 05:38:02 +0000 (2f874c6)
@@ -0,0 +1,322 @@
+<?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="581.72626"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="wrapper-mode.svg"
+   inkscape:export-filename="wrapper-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="0.98994949"
+     inkscape:cx="159.35403"
+     inkscape:cy="230.35678"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1366"
+     inkscape:window-height="692"
+     inkscape:window-x="0"
+     inkscape:window-y="25"
+     inkscape:window-maximized="1"
+     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="420.70242"
+       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="259.29077"
+       x="87.85714"
+       y="358.79074"
+       rx="24.696215"
+       ry="24.696215" />
+    <rect
+       style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.99209207;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect4535"
+       width="114.41257"
+       height="43.922909"
+       x="107.61037"
+       y="556.78094"
+       rx="18.184002"
+       ry="17.895069" />
+    <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="586.45337"
+       id="text3818"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3820"
+         x="128.81665"
+         y="586.45337">MyISAM</tspan></text>
+    <rect
+       ry="18.182745"
+       rx="18.182745"
+       y="556.78552"
+       x="353.61432"
+       height="43.914742"
+       width="114.40466"
+       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="372.78931"
+       y="587.86011"
+       id="text3824"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3826"
+         x="372.78931"
+         y="587.86011">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="366.54752"
+       height="64.565659"
+       x="107.47146"
+       y="395.35693"
+       rx="12.61022"
+       ry="12.61022" />
+    <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="293.64813"
+       y="421.27118"
+       id="text3830"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         x="293.64813"
+         y="421.27118"
+         id="tspan3836">groonga storage engine</tspan><tspan
+         sodipodi:role="line"
+         x="293.64813"
+         y="451.27118"
+         id="tspan3090">(Handle fulltext search)</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 398.14286,319.50504 0,32.85714"
+       id="path4547"
+       inkscape:connector-curvature="0" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path4549"
+       d="m 418.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="685.36218"
+       id="text4551"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4553"
+         x="173.57143"
+         y="685.36218">Wrapper Mode</tspan></text>
+    <path
+       inkscape:connector-curvature="0"
+       id="path3064"
+       d="m 155.14286,465.94665 0,88.41553"
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+       sodipodi:nodetypes="cc" />
+    <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="290.95178"
+       y="506.84265"
+       id="text3072"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3074"
+         x="290.95178"
+         y="506.84265">Handle except</tspan><tspan
+         sodipodi:role="line"
+         x="290.95178"
+         y="536.84265"
+         id="tspan3076">fulltext search</tspan></text>
+    <path
+       sodipodi:nodetypes="cc"
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+       d="m 175.14286,554.36218 0,-88.41553"
+       id="path3105"
+       inkscape:connector-curvature="0" />
+    <path
+       sodipodi:nodetypes="cc"
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+       d="m 398.14286,465.94665 0,88.41553"
+       id="path3148"
+       inkscape:connector-curvature="0" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path3150"
+       d="m 418.14286,554.36218 0,-88.41553"
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
+       sodipodi:nodetypes="cc" />
+  </g>
+</svg>

  Modified: doc/ja/source/userguide.rst (+16 -3)
===================================================================
--- doc/ja/source/userguide.rst    2011-06-21 03:16:42 +0000 (24eb9ce)
+++ doc/ja/source/userguide.rst    2011-06-21 05:38:02 +0000 (8ba8055)
@@ -45,13 +45,26 @@ SHOW ENGINESコマンドでgroongaストレージエンジンがインストー
 * ラッパーモード
 
 ストレージモードでは、全文検索機能だけではなくデータストアも
-含めてgroongaの機能を利用します。ラッパーモードでは全文検索
-機能のみgroongaの機能を利用し、データストアはInnoDBなど既存
-のストレージエンジンを利用します。
+含めてgroongaの機能を利用します。ストレージエンジンのすべての
+機能をgroongaストレージエンジンで実現するため、groongaが得意
+としている集計操作が高速である、 ``groonga`` コマンドで直接デー
+タベースを操作できるというような特長があります。
+
+ストレージモードの構成を図で表すと以下のように
 
 .. figure:: _static/images/storage-mode.png
    :alt: ストレージモード
 
+
+ラッパーモードでは全文検索機能のみgroongaの機能を利用し、デー
+タストアはInnoDBなど既存のストレージエンジンを利用します。
+
+.. figure:: _static/images/wrapper-mode.png
+   :alt: ラッパーモード
+
+
+
+
 全文検索の利用方法
 ------------------
 




Groonga-mysql-commit メーリングリストの案内
Back to archive index