Repository: drill-site Updated Branches: refs/heads/asf-site a5a984d0b -> 2291515c4
Drill 1.11 doc update - pstore in-memory query profiles Project: http://git-wip-us.apache.org/repos/asf/drill-site/repo Commit: http://git-wip-us.apache.org/repos/asf/drill-site/commit/2291515c Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/2291515c Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/2291515c Branch: refs/heads/asf-site Commit: 2291515c4a18cb3ea911c541f28df54d737534da Parents: a5a984d Author: Bridget Bevens <bbev...@maprtech.com> Authored: Tue Aug 8 14:16:32 2017 -0700 Committer: Bridget Bevens <bbev...@maprtech.com> Committed: Tue Aug 8 14:16:32 2017 -0700 ---------------------------------------------------------------------- docs/lexical-structure/index.html | 4 ++-- .../persistent-configuration-storage/index.html | 21 ++++++++++++-------- feed.xml | 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill-site/blob/2291515c/docs/lexical-structure/index.html ---------------------------------------------------------------------- diff --git a/docs/lexical-structure/index.html b/docs/lexical-structure/index.html index 2dd9faa..11c346a 100644 --- a/docs/lexical-structure/index.html +++ b/docs/lexical-structure/index.html @@ -1124,7 +1124,7 @@ </div> - Aug 7, 2017 + Aug 8, 2017 <link href="/css/docpage.css" rel="stylesheet" type="text/css"> @@ -1262,7 +1262,7 @@ FROM dfs.`/Users/drilluser/sample.json`); </tr> <tr> <td>Square brackets</td> -<td>'LEFT SQUARE BRACKET' (U+005B) and 'RIGHT SQUARE BRACKET' (U+005D;)</td> +<td>'LEFT SQUARE BRACKET' (U+005B) and 'RIGHT SQUARE BRACKET' (U+005D)</td> </tr> </tbody></table> http://git-wip-us.apache.org/repos/asf/drill-site/blob/2291515c/docs/persistent-configuration-storage/index.html ---------------------------------------------------------------------- diff --git a/docs/persistent-configuration-storage/index.html b/docs/persistent-configuration-storage/index.html index 7a48bed..c9bb492 100644 --- a/docs/persistent-configuration-storage/index.html +++ b/docs/persistent-configuration-storage/index.html @@ -1126,20 +1126,16 @@ </div> - + Aug 8, 2017 <link href="/css/docpage.css" rel="stylesheet" type="text/css"> <div class="int_text" align="left"> <p>Drill stores persistent configuration data in a persistent configuration store -(PStore). This data is encoded in JSON or Protobuf format. Drill can use the -local file system or a distributed file system, such as HDFS, to store this data. The data -stored in a PStore includes state information for storage plugins, query -profiles, and ALTER SYSTEM settings. The default type of PStore configured -depends on the Drill installation mode.</p> +(PStore). The data stored in a PStore includes state information for storage plugins, query profiles, and ALTER SYSTEM settings. This data is encoded in JSON or Protobuf format. Drill can write this data to the local file system or a distributed file system, such as HDFS. As of Drill 1.11, Drill can store query profiles in memory instead of writing the profiles to disk.</p> -<p>The following table provides the persistent storage mode for each of the Drill +<p>The default type of PStore configured depends on the Drill installation mode. The following table provides the persistent storage mode for each of the Drill modes:</p> <table><thead> @@ -1207,8 +1203,17 @@ override.conf.</code></p> "hbase.zookeeper.property.clientPort": "2181" } } - }, + }, </code></pre></div> +<h2 id="storing-query-profiles-in-memory">Storing Query Profiles in Memory</h2> + +<p>As of Drill 1.11, Drill can store query profiles in memory instead of writing them to disk. For sub-second queries, writing the query profile to disk is expensive due to the interactions with the file system. You can enable the <code>drill.exec.profiles.store.inmemory</code> option in the drill-override.conf file if you want Drill to store the profiles for sub-second queries in memory instead of writing the profiles to disk. When you enable this option, Drill stores the profiles in memory for as long as the drillbit runs. When the drillbit restarts, the profiles no longer exist. You can set the maximum number of most recent profiles to retain in memory through the <code>drill.exec.profiles.store.capacity</code> option. The default is set to 1000. See <a href="/docs/start-up-options/">Start-Up Options</a> for more information. </p> + +<div class="admonition note"> + <p class="first admonition-title">Note</p> + <p class="last">You must restart Drill after you enable the `drill.exec.profiles.store.inmemory` option. </p> +</div> + <div class="doc-nav"> http://git-wip-us.apache.org/repos/asf/drill-site/blob/2291515c/feed.xml ---------------------------------------------------------------------- diff --git a/feed.xml b/feed.xml index 6f27c3a..b34c164 100644 --- a/feed.xml +++ b/feed.xml @@ -6,8 +6,8 @@ </description> <link>/</link> <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Mon, 07 Aug 2017 19:34:54 -0700</pubDate> - <lastBuildDate>Mon, 07 Aug 2017 19:34:54 -0700</lastBuildDate> + <pubDate>Tue, 08 Aug 2017 14:14:41 -0700</pubDate> + <lastBuildDate>Tue, 08 Aug 2017 14:14:41 -0700</lastBuildDate> <generator>Jekyll v2.5.2</generator> <item>