PageRenderTime 29ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 0ms

/ja/docs/tutorial/mode.html

https://github.com/mroonga/mroonga.github.com
HTML | 163 lines | 148 code | 15 blank | 0 comment | 0 complexity | 844d4f0fe78e60ce22af7860afc152f6 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html lang="ja">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>4.2. モード &#8212; Mroonga v12.04 documentation</title>
  7. <link rel="stylesheet" type="text/css" href="../static/pygments.css" />
  8. <link rel="stylesheet" type="text/css" href="../static/mroonga.css" />
  9. <script data-url_root="../" id="documentation_options" src="../static/documentation_options.js"></script>
  10. <script src="../static/jquery.js"></script>
  11. <script src="../static/underscore.js"></script>
  12. <script src="../static/_sphinx_javascript_frameworks_compat.js"></script>
  13. <script src="../static/doctools.js"></script>
  14. <script src="../static/translations.js"></script>
  15. <link rel="index" title="索引" href="../genindex.html" />
  16. <link rel="search" title="検索" href="../search.html" />
  17. <link rel="next" title="4.3. ストレージモード" href="storage.html" />
  18. <link rel="prev" title="4.1. インストールチェック" href="installation_check.html" />
  19. <meta property="fb:page_id" content="238184682903165" /><!-- mroonga -->
  20. <meta property="fb:admins" content="664204556" /><!-- kouhei.sutou -->
  21. <meta property="og:type" content="product" />
  22. <meta property="og:image" content="http://mroonga.org/images/logos/mroonga-icon-full-size.png" />
  23. <meta property="og:site_name" content="mroonga" />
  24. <link rel="stylesheet" href="/css/sphinx.css" type="text/css" />
  25. </head>
  26. <body>
  27. <div id="fb-root"></div>
  28. <div class="header">
  29. <h1 class="title">
  30. <a id="top-link" href="../../">
  31. <span class="project">mroonga</span>
  32. <span class="separator">-</span>
  33. <span class="description">MySQLで高速に全文検索するためのオープンソースのストレージエンジン</span>
  34. </a>
  35. </h1>
  36. <div class="facebook-buttons">
  37. <fb:like href="http://www.facebook.com/pages/mroonga/238184682903165"
  38. layout="standard"
  39. width="290"></fb:like>
  40. </div>
  41. <div class="other-language-links">
  42. <ul>
  43. <li><a href="../../../docs/tutorial/mode.html" title="English">English</a></li>
  44. </ul>
  45. </div>
  46. </div>
  47. <div class="related" role="navigation" aria-label="related navigation">
  48. <h3>ナビゲーション</h3>
  49. <ul>
  50. <li class="right" style="margin-right: 10px">
  51. <a href="../genindex.html" title="総合索引"
  52. accesskey="I">索引</a></li>
  53. <li class="right" >
  54. <a href="storage.html" title="4.3. ストレージモード"
  55. accesskey="N">次へ</a> |</li>
  56. <li class="right" >
  57. <a href="installation_check.html" title="4.1. インストールチェック"
  58. accesskey="P">前へ</a> |</li>
  59. <li class="nav-item nav-item-0"><a href="../index.html">Mroonga v12.04 documentation</a> &#187;</li>
  60. <li class="nav-item nav-item-1"><a href="../tutorial.html" accesskey="U"><span class="section-number">4. </span>チュートリアル</a> &#187;</li>
  61. <li class="nav-item nav-item-this"><a href=""><span class="section-number">4.2. </span>モード</a></li>
  62. </ul>
  63. </div>
  64. <div class="document">
  65. <div class="documentwrapper">
  66. <div class="bodywrapper">
  67. <div class="body" role="main">
  68. <div class="section" id="mode">
  69. <h1><span class="section-number">4.2. </span>モード<a class="headerlink" href="#mode" title="Permalink to this heading"></a></h1>
  70. <p>Mroongaには以下の2つのモードがあります</p>
  71. <blockquote>
  72. <div><ul class="simple">
  73. <li><p>ストレージモード</p></li>
  74. <li><p>ラッパーモード</p></li>
  75. </ul>
  76. </div></blockquote>
  77. <p>ストレージモードでは全文検索機能だけではなくデータストアも含めてGroongaの機能を利用しますストレージエンジンのすべての機能をGroongaで実現するためGroongaが得意としている集計操作が高速ですまた <code class="docutils literal notranslate"><span class="pre">groonga</span></code> コマンドで直接データベースを操作できるという特長もあります</p>
  78. <p>ストレージモードの構成を図で表すと以下のようになりますMyISAMやInnoDBなど既存のストレージエンジンの代わりに利用します</p>
  79. <div class="figure align-center">
  80. <img alt="ストレージモード" src="../images/storage-mode.png" />
  81. </div>
  82. <p>ラッパーモードでは全文検索機能のみGroongaの機能を利用しデータストアはInnoDBなど既存のストレージエンジンを利用しますラッパーモードを利用することによりストレージエンジンとして多くの利用実績のあるInnoDBに全文検索エンジンとして実績のあるMroongaを組み合わせて高速な全文検索機能付きの信頼性のあるデータベースとして利用できるという特長があります</p>
  83. <p>ラッパーモードの構成を図で表すと以下のようになります全文検索関連の処理はMroongaで処理しそれ以外の処理はMyISAMやInnoDBなど既存のストレージエンジンを利用しますSQLを処理するSQL Handlerと既存のストレージエンジンの間に位置するためすべてのデータが一度Mroongaを通ることになりますこれを利用して全文検索用のインデックス作成などを透過的に行います</p>
  84. <div class="figure align-center">
  85. <img alt="ラッパーモード" src="../images/wrapper-mode.png" />
  86. </div>
  87. </div>
  88. <div class="clearer"></div>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  93. <div class="sphinxsidebarwrapper">
  94. <div>
  95. <h4>前のトピックへ</h4>
  96. <p class="topless"><a href="installation_check.html"
  97. title="前の章へ"><span class="section-number">4.1. </span>インストールチェック</a></p>
  98. </div>
  99. <div>
  100. <h4>次のトピックへ</h4>
  101. <p class="topless"><a href="storage.html"
  102. title="次の章へ"><span class="section-number">4.3. </span>ストレージモード</a></p>
  103. </div>
  104. <div id="searchbox" style="display: none" role="search">
  105. <h3 id="searchlabel">クイック検索</h3>
  106. <div class="searchformwrapper">
  107. <form class="search" action="../search.html" method="get">
  108. <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
  109. <input type="submit" value="検索" />
  110. </form>
  111. </div>
  112. </div>
  113. <script>document.getElementById('searchbox').style.display = "block"</script>
  114. </div>
  115. </div>
  116. <div class="clearer"></div>
  117. </div>
  118. <div class="related" role="navigation" aria-label="related navigation">
  119. <h3>ナビゲーション</h3>
  120. <ul>
  121. <li class="right" style="margin-right: 10px">
  122. <a href="../genindex.html" title="総合索引"
  123. >索引</a></li>
  124. <li class="right" >
  125. <a href="storage.html" title="4.3. ストレージモード"
  126. >次へ</a> |</li>
  127. <li class="right" >
  128. <a href="installation_check.html" title="4.1. インストールチェック"
  129. >前へ</a> |</li>
  130. <li class="nav-item nav-item-0"><a href="../index.html">Mroonga v12.04 documentation</a> &#187;</li>
  131. <li class="nav-item nav-item-1"><a href="../tutorial.html" ><span class="section-number">4. </span>チュートリアル</a> &#187;</li>
  132. <li class="nav-item nav-item-this"><a href=""><span class="section-number">4.2. </span>モード</a></li>
  133. </ul>
  134. </div>
  135. <div class="footer" role="contentinfo">
  136. &#169; Copyright 2009-2022, Mroonga Project.
  137. </div>
  138. <script src="http://connect.facebook.net/ja_JP/all.js"></script>
  139. <script>
  140. FB.init({
  141. appId : null,
  142. status : true, // check login status
  143. cookie : true, // enable cookies to allow the server to access the session
  144. xfbml : true // parse XFBML
  145. });
  146. </script>
  147. </body>
  148. </html>