# carbondata-commits mailing list archives

##### Site index · List index
Message view
Top
From chenliang...@apache.org
Subject [05/52] [partial] incubator-carbondata-site git commit: updated website version 1
Date Mon, 26 Dec 2016 12:58:25 GMT
http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/b28a17be/src/main/webapp/docs/latest/data_management.html
----------------------------------------------------------------------
diff --git a/src/main/webapp/docs/latest/data_management.html b/src/main/webapp/docs/latest/data_management.html
index 0106a76..1d06066 100644
--- a/src/main/webapp/docs/latest/data_management.html
+++ b/src/main/webapp/docs/latest/data_management.html
@@ -1,71 +1,116 @@
,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#3071a9;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled,.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled:active,.btn-primary.disabled.active,.btn-primary[disabled],.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled]:active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-pr
idth:70%}.g-b--9of10{width:90%}.g-b--1of12{width:8.333%}.g-b--5of12{width:41.666%}.g-b--7of12{width:58.333%}.g-b--11of12{width:91.666%}.g-b--push--1of1{margin-left:100%}.g-b--push--1of2,.g-b--push--2of4,.g-b--push--3of6,.g-b--push--4of8,.g-b--push--5of10,.g-b--push--6of12{margin-left:50%}.g-b--push--1of3,.g-b--push--2of6,.g-b--push--4of12{margin-left:33.333%}.g-b--push--2of3,.g-b--push--4of6,.g-b--push--8of12{margin-left:66.666%}.g-b--push--1of4,.g-b--push--2of8,.g-b--push--3of12{margin-left:25%}.g-b--push--3of4,.g-b--push--6of8,.g-b--push--9of12{margin-left:75%}.g-b--push--1of5,.g-b--push--2of10{margin-left:20%}.g-b--push--2of5,.g-b--push--4of10{margin-left:40%}.g-b--push--3of5,.g-b--push--6of10{margin-left:60%}.g-b--push--4of5,.g-b--push--8of10{margin-left:80%}.g-b--push--1of6,.g-b--push--2of12{margin-left:16.666%}.g-b--push--5of6,.g-b--push--10of12{margin-left:83.333%}.g-b--push--1of8{margin-left:12.5%}.g-b--push--3of8{margin-left:37.5%}.g-b--push--5of8{margin-left:62.5%}.g-b--pu
sh--7of8{margin-left:87.5%}.g-b--push--1of10{margin-left:10%}.g-b--push--3of10{margin-left:30%}.g-b--push--7of10{margin-left:70%}.g-b--push--9of10{margin-left:90%}.g-b--push--1of12{margin-left:8.333%}.g-b--push--5of12{margin-left:41.666%}.g-b--push--7of12{margin-left:58.333%}.g-b--push--11of12{margin-left:91.666%}.g-b--pull--1of1{margin-right:100%}.g-b--pull--1of2,.g-b--pull--2of4,.g-b--pull--3of6,.g-b--pull--4of8,.g-b--pull--5of10,.g-b--pull--6of12{margin-right:50%}.g-b--pull--1of3,.g-b--pull--2of6,.g-b--pull--4of12{margin-right:33.333%}.g-b--pull--2of3,.g-b--pull--4of6,.g-b--pull--8of12{margin-right:66.666%}.g-b--pull--1of4,.g-b--pull--2of8,.g-b--pull--3of12{margin-right:25%}.g-b--pull--3of4,.g-b--pull--6of8,.g-b--pull--9of12{margin-right:75%}.g-b--pull--1of5,.g-b--pull--2of10{margin-right:20%}.g-b--pull--2of5,.g-b--pull--4of10{margin-right:40%}.g-b--pull--3of5,.g-b--pull--6of10{margin-right:60%}.g-b--pull--4of5,.g-b--pull--8of10{margin-right:80%}.g-b--pull--1of6,.g-b--pull--2of12
debar-list .icon{float:right}.open .dropdown,.open .settings,.open .sidebar-list{display:block}.open .dropdown.collapse,.open .collapse.settings,.open .sidebar-list.collapse{display:none}.open .dropdown.collapse.in,.open .collapse.in.settings,.open .sidebar-list.collapse.in{display:block}.dropdown .unlinked .icon,.settings .unlinked .icon,.sidebar-list .unlinked .icon{opacity:.3}.dropdown.documents li,.documents.settings li,.sidebar-list.documents li{background-image:url("../img/icons/file.svg");background-position:240px center;background-repeat:no-repeat;background-size:14px 16px;padding:3px 32px}.dropdown.documents li.octocat,.documents.settings li.octocat,.sidebar-list.documents li.octocat{background-image:url("../img/icons/octocat.svg");background-position:234px center;background-size:24px 24px}.dropdown.documents li:last-child,.documents.settings li:last-child,.sidebar-list.documents li:last-child{margin-bottom:1rem}.dropdown.documents li.active a,.documents.settings li.active
a,.sidebar-list.documents li.active a{color:#35D7BB}.settings{position:fixed;top:67px;right:16px;border-radius:3px;width:288px;background-color:#373D49;padding:16px;z-index:7}.show-settings .settings{display:block}.settings .has-checkbox{float:left}.settings a{font-size:1.25rem;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;line-height:28px;color:#D0D6E2}.settings a:after{content:"";display:table;clear:both}.settings a:hover{color:#35D7BB}.settings li{border-bottom:1px solid #4F535B;margin:0;padding:16px 0}.settings li:last-child{border-bottom:none}.brand{border:none;display:block}.brand:hover g{fill:#35D7BB}.toggle{display:block;float:left;height:16px;padding:25px 16px 26px;width:40px}.toggle span:after,.toggle span:before{content:'';left:0;position:absolute;top:-6px}.toggle span:after{top:6px}.toggle span{display:block;position:relative}.toggle span,.toggle span:after,.toggle span:before{-webkit-backface
li.disabled>a:hover,.pagination--dillinger li.disabled>a:focus,.pagination--dillinger li>a{background-color:transparent;border-color:#4F535B;border-right-color:transparent}.pagination--dillinger li.active>a,.pagination--dillinger li.active>a:hover,.pagination--dillinger li.active>a:focus{border-color:#4A5261;background-color:#4A5261;color:#fff}.pagination--dillinger li>a{float:none;color:#fff;width:100%;display:block;text-align:center;margin:0;border-right-color:transparent;padding:6px}.pagination--dillinger li>a:hover,.pagination--dillinger li>a:focus{border-color:#35D7BB;background-color:#35D7BB;color:#fff}.pagination--dillinger li:last-child a{border-color:#4F535B}.pagination--dillinger li:first-child a{border-right-color:transparent}.diNotify{position:absolute;z-index:9999;left:0;right:0;top:0;margin:0 auto;max-width:400px;text-align:center;-webkit-transition:top .5s ease-in-out,opacity .5s ease-in-out;transition:top .5s ease-in-out,opacity .5s ease-in-out;visibility:hidden}.di
color:transparent;border:0;background-repeat:no-repeat;width:32px;height:32px;display:block;position:absolute}.close-zen-mode{background-image:url("../img/icons/exit-zen.svg");right:1rem;top:1rem}.zen-page{position:relative;top:0;bottom:0;z-index:11;height:100%;width:100%}#zen{font-size:1.25rem;width:300px;height:80%;margin:0 auto;position:relative;top:10%}#zen:before,#zen:after{content:"";position:absolute;height:10%;width:100%;z-index:12;pointer-events:none}#preview .table{width:auto}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;z-index:99999;display:block}.ui-resizable-e{background-color:#666;border-right:8px solid #e8e8e8;border-left:1px solid #222;width:10px;z-index:88!important;position:relative}.ui-resizable-e:after{content:"-";display:block;position:absolute;top:calc(50% - 16px);left:0;height:25px;width:2px;background-color:rgba(0,0,0,.4);margin:3px}#editor{cursor:ew-resize;position:relative;z-index:auto}.profile-pic{float:left;width:2
-m1of3,.g-b--m2of6,.g-b--m4of12{width:33.333%}.g-b--m2of3,.g-b--m4of6,.g-b--m8of12{width:66.666%}.g-b--m1of4,.g-b--m2of8,.g-b--m3of12{width:25%}.g-b--m3of4,.g-b--m6of8,.g-b--m9of12{width:75%}.g-b--m1of5,.g-b--m2of10{width:20%}.g-b--m2of5,.g-b--m4of10{width:40%}.g-b--m3of5,.g-b--m6of10{width:60%}.g-b--m4of5,.g-b--m8of10{width:80%}.g-b--m1of6,.g-b--m2of12{width:16.666%}.g-b--m5of6,.g-b--m10of12{width:83.333%}.g-b--m1of8{width:12.5%}.g-b--m3of8{width:37.5%}.g-b--m5of8{width:62.5%}.g-b--m7of8{width:87.5%}.g-b--m1of10{width:10%}.g-b--m3of10{width:30%}.g-b--m7of10{width:70%}.g-b--m9of10{width:90%}.g-b--m1of12{width:8.333%}.g-b--m5of12{width:41.666%}.g-b--m7of12{width:58.333%}.g-b--m11of12{width:91.666%}.g-b--push--m1of1{margin-left:100%}.g-b--push--m1of2,.g-b--push--m2of4,.g-b--push--m3of6,.g-b--push--m4of8,.g-b--push--m5of10,.g-b--push--m6of12{margin-left:50%}.g-b--push--m1of3,.g-b--push--m2of6,.g-b--push--m4of12{margin-left:33.333%}.g-b--push--m2of3,.g-b--push--m4of6,.g-b--push--m8of12{
margin-left:66.666%}.g-b--push--m1of4,.g-b--push--m2of8,.g-b--push--m3of12{margin-left:25%}.g-b--push--m3of4,.g-b--push--m6of8,.g-b--push--m9of12{margin-left:75%}.g-b--push--m1of5,.g-b--push--m2of10{margin-left:20%}.g-b--push--m2of5,.g-b--push--m4of10{margin-left:40%}.g-b--push--m3of5,.g-b--push--m6of10{margin-left:60%}.g-b--push--m4of5,.g-b--push--m8of10{margin-left:80%}.g-b--push--m1of6,.g-b--push--m2of12{margin-left:16.666%}.g-b--push--m5of6,.g-b--push--m10of12{margin-left:83.333%}.g-b--push--m1of8{margin-left:12.5%}.g-b--push--m3of8{margin-left:37.5%}.g-b--push--m5of8{margin-left:62.5%}.g-b--push--m7of8{margin-left:87.5%}.g-b--push--m1of10{margin-left:10%}.g-b--push--m3of10{margin-left:30%}.g-b--push--m7of10{margin-left:70%}.g-b--push--m9of10{margin-left:90%}.g-b--push--m1of12{margin-left:8.333%}.g-b--push--m5of12{margin-left:41.666%}.g-b--push--m7of12{margin-left:58.333%}.g-b--push--m11of12{margin-left:91.666%}.g-b--pull--m1of1{margin-right:100%}.g-b--pull--m1of2,.g-b--pull--m2
of4,.g-b--pull--m3of6,.g-b--pull--m4of8,.g-b--pull--m5of10,.g-b--pull--m6of12{margin-right:50%}.g-b--pull--m1of3,.g-b--pull--m2of6,.g-b--pull--m4of12{margin-right:33.333%}.g-b--pull--m2of3,.g-b--pull--m4of6,.g-b--pull--m8of12{margin-right:66.666%}.g-b--pull--m1of4,.g-b--pull--m2of8,.g-b--pull--m3of12{margin-right:25%}.g-b--pull--m3of4,.g-b--pull--m6of8,.g-b--pull--m9of12{margin-right:75%}.g-b--pull--m1of5,.g-b--pull--m2of10{margin-right:20%}.g-b--pull--m2of5,.g-b--pull--m4of10{margin-right:40%}.g-b--pull--m3of5,.g-b--pull--m6of10{margin-right:60%}.g-b--pull--m4of5,.g-b--pull--m8of10{margin-right:80%}.g-b--pull--m1of6,.g-b--pull--m2of12{margin-right:16.666%}.g-b--pull--m5of6,.g-b--pull--m10of12{margin-right:83.333%}.g-b--pull--m1of8{margin-right:12.5%}.g-b--pull--m3of8{margin-right:37.5%}.g-b--pull--m5of8{margin-right:62.5%}.g-b--pull--m7of8{margin-right:87.5%}.g-b--pull--m1of10{margin-right:10%}.g-b--pull--m3of10{margin-right:30%}.g-b--pull--m7of10{margin-right:70%}.g-b--pull--m9of1
f8{width:87.5%}.g-b--t1of10{width:10%}.g-b--t3of10{width:30%}.g-b--t7of10{width:70%}.g-b--t9of10{width:90%}.g-b--t1of12{width:8.333%}.g-b--t5of12{width:41.666%}.g-b--t7of12{width:58.333%}.g-b--t11of12{width:91.666%}.g-b--push--t1of1{margin-left:100%}.g-b--push--t1of2,.g-b--push--t2of4,.g-b--push--t3of6,.g-b--push--t4of8,.g-b--push--t5of10,.g-b--push--t6of12{margin-left:50%}.g-b--push--t1of3,.g-b--push--t2of6,.g-b--push--t4of12{margin-left:33.333%}.g-b--push--t2of3,.g-b--push--t4of6,.g-b--push--t8of12{margin-left:66.666%}.g-b--push--t1of4,.g-b--push--t2of8,.g-b--push--t3of12{margin-left:25%}.g-b--push--t3of4,.g-b--push--t6of8,.g-b--push--t9of12{margin-left:75%}.g-b--push--t1of5,.g-b--push--t2of10{margin-left:20%}.g-b--push--t2of5,.g-b--push--t4of10{margin-left:40%}.g-b--push--t3of5,.g-b--push--t6of10{margin-left:60%}.g-b--push--t4of5,.g-b--push--t8of10{margin-left:80%}.g-b--push--t1of6,.g-b--push--t2of12{margin-left:16.666%}.g-b--push--t5of6,.g-b--push--t10of12{margin-left:83.333%}.g
-b--push--t1of8{margin-left:12.5%}.g-b--push--t3of8{margin-left:37.5%}.g-b--push--t5of8{margin-left:62.5%}.g-b--push--t7of8{margin-left:87.5%}.g-b--push--t1of10{margin-left:10%}.g-b--push--t3of10{margin-left:30%}.g-b--push--t7of10{margin-left:70%}.g-b--push--t9of10{margin-left:90%}.g-b--push--t1of12{margin-left:8.333%}.g-b--push--t5of12{margin-left:41.666%}.g-b--push--t7of12{margin-left:58.333%}.g-b--push--t11of12{margin-left:91.666%}.g-b--pull--t1of1{margin-right:100%}.g-b--pull--t1of2,.g-b--pull--t2of4,.g-b--pull--t3of6,.g-b--pull--t4of8,.g-b--pull--t5of10,.g-b--pull--t6of12{margin-right:50%}.g-b--pull--t1of3,.g-b--pull--t2of6,.g-b--pull--t4of12{margin-right:33.333%}.g-b--pull--t2of3,.g-b--pull--t4of6,.g-b--pull--t8of12{margin-right:66.666%}.g-b--pull--t1of4,.g-b--pull--t2of8,.g-b--pull--t3of12{margin-right:25%}.g-b--pull--t3of4,.g-b--pull--t6of8,.g-b--pull--t9of12{margin-right:75%}.g-b--pull--t1of5,.g-b--pull--t2of10{margin-right:20%}.g-b--pull--t2of5,.g-b--pull--t4of10{margin-ri
idth:16.666%}.g-b--d5of6,.g-b--d10of12{width:83.333%}.g-b--d1of8{width:12.5%}.g-b--d3of8{width:37.5%}.g-b--d5of8{width:62.5%}.g-b--d7of8{width:87.5%}.g-b--d1of10{width:10%}.g-b--d3of10{width:30%}.g-b--d7of10{width:70%}.g-b--d9of10{width:90%}.g-b--d1of12{width:8.333%}.g-b--d5of12{width:41.666%}.g-b--d7of12{width:58.333%}.g-b--d11of12{width:91.666%}.g-b--push--d1of1{margin-left:100%}.g-b--push--d1of2,.g-b--push--d2of4,.g-b--push--d3of6,.g-b--push--d4of8,.g-b--push--d5of10,.g-b--push--d6of12{margin-left:50%}.g-b--push--d1of3,.g-b--push--d2of6,.g-b--push--d4of12{margin-left:33.333%}.g-b--push--d2of3,.g-b--push--d4of6,.g-b--push--d8of12{margin-left:66.666%}.g-b--push--d1of4,.g-b--push--d2of8,.g-b--push--d3of12{margin-left:25%}.g-b--push--d3of4,.g-b--push--d6of8,.g-b--push--d9of12{margin-left:75%}.g-b--push--d1of5,.g-b--push--d2of10{margin-left:20%}.g-b--push--d2of5,.g-b--push--d4of10{margin-left:40%}.g-b--push--d3of5,.g-b--push--d6of10{margin-left:60%}.g-b--push--d4of5,.g-b--push--d8of10
{margin-left:80%}.g-b--push--d1of6,.g-b--push--d2of12{margin-left:16.666%}.g-b--push--d5of6,.g-b--push--d10of12{margin-left:83.333%}.g-b--push--d1of8{margin-left:12.5%}.g-b--push--d3of8{margin-left:37.5%}.g-b--push--d5of8{margin-left:62.5%}.g-b--push--d7of8{margin-left:87.5%}.g-b--push--d1of10{margin-left:10%}.g-b--push--d3of10{margin-left:30%}.g-b--push--d7of10{margin-left:70%}.g-b--push--d9of10{margin-left:90%}.g-b--push--d1of12{margin-left:8.333%}.g-b--push--d5of12{margin-left:41.666%}.g-b--push--d7of12{margin-left:58.333%}.g-b--push--d11of12{margin-left:91.666%}.g-b--pull--d1of1{margin-right:100%}.g-b--pull--d1of2,.g-b--pull--d2of4,.g-b--pull--d3of6,.g-b--pull--d4of8,.g-b--pull--d5of10,.g-b--pull--d6of12{margin-right:50%}.g-b--pull--d1of3,.g-b--pull--d2of6,.g-b--pull--d4of12{margin-right:33.333%}.g-b--pull--d2of3,.g-b--pull--d4of6,.g-b--pull--d8of12{margin-right:66.666%}.g-b--pull--d1of4,.g-b--pull--d2of8,.g-b--pull--d3of12{margin-right:25%}.g-b--pull--d3of4,.g-b--pull--d6of8,.g

+
+body{font-family:'Open Sans', arial, helvatica,  sans-serif;}
+
h1 {
-    font-size: 24px;
-    margin-bottom: 10px;
+    font-size: 22px;
+    margin-bottom: 20px;
+    border-bottom: 1px solid #ddd;
+    color: #444;
+    font-weight: bold;
+    line-height: 30px;
}

+
+
h2, h3, h4 {
-    font-size: 18px;
+    font-size: 16px;
margin-bottom: 10px;
+    text-decoration: underline;
}

+h2{ font-size: 18px}
+
p {
margin-bottom: 10px;
-    font-size: 14px;
+    font-size: 13px;
-    line-height: 20px;
+    line-height: 18px;
+    color: #666;
}

+ p strong {font-weight: 600;}
+
ul, ol {
-    margin: 0;
+    margin: 0 0 10px;
+}
+
+a {
+    color: #00a0d2;
+    text-decoration: none;
+    font-size: 13px;
+    cursor: pointer;
+}
+
+a:hover, a:focus {
+    color: #ff943d;
+    text-decoration: none;
}

li {margin-left: 20px; line-height: 24px;}
+
+hr{ display:none;}
+
+
-  <!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  to you under the Apache License, Version 2.0 (the
-  “License”); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  Unless required by applicable law or agreed to in writing,
-  &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  -->
-<h1><a id="Data_Management_18"></a>Data Management</h1>
-<p>This tutorial is going to introduce you to the conceptual details of data management like :</p>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+to you under the Apache License, Version 2.0 (the
+“License”); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+Unless required by applicable law or agreed to in writing,
+&quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+-->
+<p style="padding: 5px 10px;background: #f9f9f9;text-align: right;text-align:right;line-height:20px;margin: 0;color: #aaa;border-radius: 2px;font-family: arial;font-size: 12px;">Version: 0.2.0 | Last Published: 21-11-2016 </p>
+
+ <a href="#top" style=" position: fixed; top: auto; right: 10px; bottom: 0; background: #ddd;  padding: 2px 6px;
+    border-radius: 2px; font-size: 12px; text-decoration: none;  color: #666;">Top</a>
+
+
+<h1><a id="Data_Management_18"></a>Using CarbonData</h1>
+<p>This tutorial is going to introduce you to the conceptual details of CarbonData like:</p>
+<ul>
+<li><a href="#Data_Management">Data Management</a></li>
+
+<li><a href="#DDL_Operations_on_CarbonData_0">DDL Operations on CarbonData</a></li>
+<li><a href="#DML_Operations_on_CarbonData_0">DML Operations on CarbonData</a></li>
+</ul>
+
+<h1><a id="Data_Management"></a>Data Management</h1>
<ul>
<li><a href="#deleting-data">Deleting Data</a></li>
-<li><a href="#compacting-data">Compacting data</a></li>
+<li><a href="#compacting-data">Compacting Data</a></li>
</ul>
<ul>
<li>
<p><strong>Scenario</strong></p>
-<p>Once the table is created, data can be loaded into table using <a href="dml.html">LOAD DATA</a> command and will be available for query.<br>
-When data load is triggered, the data is encoded in Carbon format and copied into HDFS Carbon store path(specified in carbon.properties file)<br>
-in compressed, multi dimensional columnar format for quick analysis queries. The same command can be used to load new data or to<br>
-update the existing data. Only one data load can be triggered for one table. The high cardinality columns of the dictionary encoding are<br>
+When data load is triggered, the data is encoded in CarbonData format and copied into HDFS CarbonData store path(specified in carbon.properties file)
+in compressed, multi dimensional columnar format for quick analysis of queries. The same command can be used to load new data or to
+update the existing data. Only one data load can be triggered for one table. The high cardinality columns of the dictionary encoding are
automatically recognized and these columns will not be used for dictionary encoding.</p>
</li>
<li>
<p><strong>Procedure</strong></p>
-<p>Data loading is a process that involves execution of multiple steps to read, sort, and encode the date in Carbon store format.<br>
-Each step is executed on different threads. After data loading process is complete, the status (success/partial success) is updated to<br>
+<p>Data loading is a process that involves execution of multiple steps to read, sort, and encode the data in CarbonData store format.
+Each step is executed on different threads. After data loading process is complete, the status (success/partial success) is updated to
</li>
</ul>
<table class="table table-striped table-bordered">
@@ -86,7 +131,7 @@ Carbon store metadata. The table below lists the possible load status</p>
</tr>
</tbody>
</table>
-<p>In case of failure, the error will be logged in error log. Details of loads can be seen with <a href="ddl.html">SHOW SEGMENTS</a> command. The show segment command output consists of :</p>
+<p>In case of failure, the error will be logged in error log. Details of loads can be seen with <a href="#show-segments">SHOW SEGMENTS</a> command. The show segment command output consists of :</p>
<ul>
<li>SegmentSequenceID</li>
@@ -94,23 +139,22 @@ Carbon store metadata. The table below lists the possible load status</p>
</ul>
<p>The latest load will be displayed first in the output.</p>
-<p>For load commands refer to <a href="dml.html">DML operations on Carbon Data</a></p>
+<p>Refer to <a href="#DML_Operations_on_CarbonData_0">DML operations on CarbonData</a> for load commands.</p>
<div id ="deleting-data"></div>
<h2>Deleting Data</h2>
<ul>
<li>
<p><strong>Scenario</strong></p>
-<p>If you have loaded wrong data into the table, or too many bad records and want to modify and reload the data, you can delete required data loads.<br>
-The load can be deleted using the Segment Sequence Id or if the table contains date field then the data can be deleted using the date field.</p>
+<p>If you have loaded wrong data into the table, or too many bad records are present and you want to modify and reload the data, you can delete the required data loads. The load can be deleted using the Segment Sequence Id or if the table contains date field then the data can be deleted using the date field.</p>
</li>
<li>
<p><strong>Procedure</strong></p>
-<p>The loaded data can be deleted in the following two ways :</p>
+<p>The loaded data can be deleted in the following ways:</p>
<ol>
<li>
<p>Delete by Segment ID</p>
-<p>After you get the segment ID of the segment that you want to delete, execute the <a href="dml.html">DELETE</a> Command for the selected segment.<br>
-The Status of deleted segment is updated to Marked for delete / Marked for Update</p>
+<p>After you get the segment ID of the segment that you want to delete, execute the <a href="#delete-segment-by-id">DELETE</a> command for the selected segment.<br>
+The status of deleted segment is updated to Marked for delete / Marked for Update</p>
<table class="table table-striped table-bordered">
<tr>
@@ -145,19 +189,24 @@ The Status of deleted segment is updated to Marked for delete / Marked for Updat
<li>
<p>Delete by Date Field</p>
<p>If the table contains date field, you can delete the data based on a specific date.</p>
-<p>For delete commands refer to <a href="dml.html">DML operations on Carbon Data</a></p>
+<p>For delete commands refer to <a href="#DML_Operations_on_CarbonData_0">DML operations on CarbonData</a></p>
</li>
</ol>
-<p>Note :</p>
+<p>NOTE :</p>
<ul>
<li>
-<p>When the delete segment DML is called, segment will not be deleted physically from the file system. Instead the segment status will be marked as “Marked for Delete”. For the query execution, this deleted segment will be excluded.</p>
+<p>When the delete segment DML is called, segment will not be deleted physically from the file system instead the segment status will be marked as “Marked for Delete”. For the query execution, this deleted segment will be excluded.</p>
</li>
<li>
<p>The deleted segment will be deleted physically during the next load operation and only after the maximum query execution time configured using “max.query.execution.time”. By default it is 60 minutes.</p>
</li>
<li>
-<p>If the user wants to force delete the segment physically then he can use <a href="dml.html">CLEAN FILES</a> Command. This DML will physically delete the segment which are “Marked for delete” immediately.</p>
+<p>If the user wants to force delete the segment physically then he can use CLEAN FILES Command.</p>
+
+<pre><code>CLEAN FILES FOR TABLE table1
+</code></pre>
+<p>
+ This DML command will physically delete the segment which are “Marked for delete” immediately.</p>
</li>
</ul>
</li>
@@ -167,9 +216,7 @@ The Status of deleted segment is updated to Marked for delete / Marked for Updat
<ul>
<li>
<p><strong>Scenario</strong></p>
-<p>Frequent data ingestion results in several fragmented carbon files in the store directory. Since data is sorted only within each load, the indices perform only within each<br>
-load. This mean that there will be one index for each load and as number of data load increases, the number of indices also increases. As each index works only on one load,<br>
-the performance of indices is reduced. Carbon provides provision for compacting the loads. Compaction process combines several segments into one large segment by merge sorting the data from across the segments.</p>
+<p>Frequent data ingestion results in several fragmented CarbonData files in the store directory. Since data is sorted only within each load, the indices perform only within each load. This mean that there will be one index for each load and as number of data load increases, the number of indices also increases. As each index works only on one load, the performance of indices is reduced. CarbonData provides provision for compacting the loads. Compaction process combines several segments into one large segment by merge sorting the data from across the segments.</p>
</li>
<li>
<p><strong>Procedure</strong></p>
@@ -177,8 +224,7 @@ the performance of indices is reduced. Carbon provides provision for compacting
<ul>
<li>
<p><strong>Minor Compaction</strong></p>
-<p>In minor compaction the user can specify how many loads to be merged. Minor compaction triggers for every data load if the parameter carbon.enable.auto.load.merge is set. If any segments are available to be merged, then compaction will<br>
-run parallel with data load. There are 2 levels in minor compaction.</p>
+<p>In minor compaction the user can specify how many loads to be merged. Minor compaction triggers for every data load if the parameter carbon.enable.auto.load.merge is set. If any segments are available to be merged, then compaction will run parallel with data load. There are 2 levels in minor compaction.</p>
<ul>
<li>Level 1: Merging of the segments which are not yet compacted.</li>
<li>Level 2: Merging of the compacted segments again to form a bigger segment.</li>
@@ -189,7 +235,7 @@ run parallel with data load. There are 2 levels in minor compaction.</p>
<p>In Major compaction, many segments can be merged into one big segment. User will specify the compaction size until which segments can be merged. Major compaction is usually done during the off-peak time.</p>
</li>
</ul>
-<p>There are number of parameters related to Compaction that can be set in carbon.properties file</p>
+<p>There are number of parameters related to Compaction that can be set in carbon.properties file.</p>
</li>
</ul>
<table class="table table-striped table-bordered">
@@ -207,7 +253,7 @@ run parallel with data load. There are 2 levels in minor compaction.</p>
<td>carbon.compaction.level.threshold</td>
<td>4,3</td>
<td>Minor</td>
-<td>Thisproperty is for minor compaction which decides how many segments to be merged.Example: if it is set as 2,3 then minor compaction will be triggered for every 2 segments. 3 is the number of level 1 compacted segment which is further compacted to new segment.</td>
+<td>This property is for minor compaction which decides how many segments to be merged. Example: If it is set as 2, 3 then minor compaction will be triggered for every 2 segments. 3 is the number of level 1 compacted segment which is further compacted to new segment.</td>
<td>NA</td>
</tr>
<tr>
@@ -221,26 +267,480 @@ run parallel with data load. There are 2 levels in minor compaction.</p>
<td>carbon.numberof.preserve.segments</td>
<td>0</td>
<td>Minor/Major</td>
-<td>If the user wants to preserve some number of segments from being compacted then he can set this property.Example: carbon.numberof.preserve.segments=2 then 2 latest segments will always be excluded from the compaction. No segments will be preserved by default.</td>
-<td>0-100.</td>
+<td>If the user wants to preserve some number of segments from being compacted then he can set this property. Example: carbon.numberof.preserve.segments=2 then 2 latest segments will always be excluded from the compaction. No segments will be preserved by default.</td>
+<td>0-100</td>
</tr>
<tr>
<td>carbon.allowed.compaction.days</td>
<td>0</td>
<td>Minor/Major</td>
-<td>Compaction will merge the segments which are loaded with in the specific number of days configured.Example: if the configuration is 2, then the segments which are loaded in the time frame of 2 days only will get merged. Segments which are loaded 2 days apart will not be merged.This is disabled by default.</td>
-<td>0-100.</td>
+<td>Compaction will merge the segments which are loaded within the specific number of days configured. Example: If the configuration is 2, then the segments which are loaded in the time frame of 2 days only will get merged. Segments which are loaded 2 days apart will not be merged. This is disabled by default.</td>
+<td>0-100</td>
</tr>
<tr>
<td>carbon.number.of.cores.while.compacting</td>
<td>2</td>
<td>Minor/Major</td>
<td>Number of cores which is used to write data during compaction.</td>
-<td>0-100.</td>
+<td>0-100</td>
+</tr>
+</tbody>
+</table>
+<p>For compaction commands refer to <a href="#DDL_Operations_on_CarbonData_0">DDL operations on CarbonData</a></p>
+
+
+<

<TRUNCATED>


Mime
View raw message