You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2018/08/09 18:26:31 UTC

[47/47] carbondata git commit: [CARBONDATA-2750] Updated Documentation for Local Dictionary Support

[CARBONDATA-2750] Updated Documentation for Local Dictionary Support

What has been added?
Described about increase in memory footprint in local dictionary.
Added to reduce block size when local dictionary is enabled,

This closes #2625


Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/3b122df6
Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/3b122df6
Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/3b122df6

Branch: refs/heads/branch-1.4
Commit: 3b122df65eff9486a105666d48c7ff3e9978e9a4
Parents: ca46083
Author: praveenmeenakshi56 <pr...@gmail.com>
Authored: Thu Aug 9 21:51:54 2018 +0530
Committer: ravipesala <ra...@gmail.com>
Committed: Thu Aug 9 23:51:36 2018 +0530

----------------------------------------------------------------------
 docs/data-management-on-carbondata.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/3b122df6/docs/data-management-on-carbondata.md
----------------------------------------------------------------------
diff --git a/docs/data-management-on-carbondata.md b/docs/data-management-on-carbondata.md
index 0df9643..0c54535 100644
--- a/docs/data-management-on-carbondata.md
+++ b/docs/data-management-on-carbondata.md
@@ -189,9 +189,13 @@ This tutorial is going to introduce all commands and data operations on CarbonDa
    
    **NOTE:** When fallback is triggered, the data loading performance will decrease as encoded data will be discarded and the actual data is written to the temporary sort files.
    
-   **The cost for Local Dictionary:**
+   **Points to be noted:**
+      
+   1. Reduce Block size:
    
-   The memory footprint will increase when local dictionary is configured as actual data will have to be stored along with dictionary encoded data.
+      Number of Blocks generated is less in case of Local Dictionary as compression ratio is high. This may reduce the number of tasks launched during query, resulting in degradation of query performance if the pruned blocks are less compared to the number of parallel tasks which can be run. So it is recommended to configure smaller block size which in turn generates more number of blocks.
+            
+   2. All the page-level data for a blocklet needs to be maintained in memory until all the pages encoded for local dictionary is processed in order to handle fallback. Hence the memory required for local dictionary based table is more and this memory increase is proportional to number of columns. 
        
 ### Example: