You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/07/28 08:36:49 UTC
svn commit: r1151749 - /hbase/trunk/src/docbkx/performance.xml
Author: stack
Date: Thu Jul 28 06:36:49 2011
New Revision: 1151749
URL: http://svn.apache.org/viewvc?rev=1151749&view=rev
Log:
HBASE-4092 performance.xml - adding batch-loading entry for using deferred log flush
Modified:
hbase/trunk/src/docbkx/performance.xml
Modified: hbase/trunk/src/docbkx/performance.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/performance.xml?rev=1151749&r1=1151748&r2=1151749&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/performance.xml (original)
+++ hbase/trunk/src/docbkx/performance.xml Thu Jul 28 06:36:49 2011
@@ -199,7 +199,21 @@ public static byte[][] getHexSplits(Stri
}</programlisting>
</para>
</section>
- </section>
+ <section xml:id="def.log.flush">
+ <title>
+ Table Creation: Deferred Log Flush
+ </title>
+<para>
+The default behavior for Puts using the Write Ahead Log (WAL) is that <classname>HLog</classname> edits will be written immediately. If deferred log flush is used,
+WAL edits are kept in memory until the flush period. The benefit is aggregated and asynchronous <classname>HLog</classname>- writes, but the potential downside is that if
+ the RegionServer goes down the yet-to-be-flushed edits are lost. This is safer, however, than not using WAL at all with Puts.
+</para>
+<para>
+Deferred log flush can be configured on tables via <link
+ xlink:href="http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.html">HTableDescriptor</link>. The default value of <varname>hbase.regionserver.optionallogflushinterval</varname> is 1000ms.
+</para>
+ </section>
+ </section> <!-- batch loading -->
<section>
<title>HBase Client</title>