# incubator-accumulo-commits mailing list archives

##### Site index · List index
Message view
Top
From ktur...@apache.org
Subject svn commit: r1197767 - /incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex
Date Fri, 04 Nov 2011 20:55:17 GMT
Author: kturner
Date: Fri Nov  4 20:55:17 2011
New Revision: 1197767

URL: http://svn.apache.org/viewvc?rev=1197767&view=rev
Log:
ACCUMULO-68 Tweaked the merging minor compaction docs

Modified:
incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex

Modified: incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex?rev=1197767&r1=1197766&r2=1197767&view=diff
==============================================================================
--- incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex (original)
+++ incubator/accumulo/trunk/docs/src/user_manual/chapters/table_configuration.tex Fri Nov
4 20:55:17 2011
@@ -444,8 +444,8 @@ the following property:
table.file.max
\end{verbatim}

-When a tablet reaches this number of files and needs to flush its in-memory data
-to disk, it will choose to do a merging minor compaction.  A merging minor
+When a tablet reaches this number of files and needs to flush its in-memory
+data to disk, it will choose to do a merging minor compaction.  A merging minor
compaction will merge the tablet's smallest file with the data in memory at
minor compaction time.  Therefore the number of files will not grow beyond this
limit.  This will make minor compactions take longer, which will cause ingest
@@ -454,10 +454,10 @@ compactions have enough time to catch up
consider adjusting the compaction ratio. Ideally, merging minor compactions
never need to occur and major compactions will keep up. It is possible to
configure the file max and compaction ratio such that only merging minor
-compaction occur and major compactions never occur. This should be avoided
-because merging minor compactions cause $O(N^2)$ work to be done during major
-compaction.  Without merging minor compactions, the amount of work done by major
-compactions is $O(N*\log_R(N))$ where $R$ is the compaction ratio.
+compactions occur and major compactions never occur. This should be avoided
+because doing only merging minor compactions causes $O(N^2)$ work to be done.
+The amount of work done by major compactions is $O(N*\log_R(N))$ where $R$ is
+the compaction ratio.

Compactions can be initiated manually for a table.  To initiate a minor
compaction, use the flush command in the shell.  To initiate a major compaction,


Mime
View raw message