Added: kylin/site/cn/docs23/howto/howto_optimize_build.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs23/howto/howto_optimize_build.html?rev=1822508&view=auto ============================================================================== --- kylin/site/cn/docs23/howto/howto_optimize_build.html (added) +++ kylin/site/cn/docs23/howto/howto_optimize_build.html Mon Jan 29 14:05:18 2018 @@ -0,0 +1,1904 @@ +<!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<!doctype html> +<html> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | ä¼åcubeæå»º</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs23/howto/howto_optimize_build.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + <div class="text-center" style=" + position: relative; + top: 66px; + width: 1080px; + margin: 0 auto; + z-index: 11; + margin-top: -253px; + text-align: right;" + > + <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;"> + <img src="https://www.apache.org/images/SupportApache-small.png" style="height: 150px; width: 150px;"> + </a> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs21" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/create_cube.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube å建æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/Qlik.html" class="list-group-item-lay pjaxlink" id="navlist">ä¸Qlik Senseéæ</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#title帮å©" data-toggle="collapse" id="navtitle">帮å©</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_backup_metadata.html" class="list-group-item-lay pjaxlink" id="navlist">å¤ä»½å æ°æ®</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_build_cube_with_restapi.html" class="list-group-item-lay pjaxlink" id="navlist">ç¨APIæå»ºcube</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_cleanup_storage.html" class="list-group-item-lay pjaxlink" id="navlist">æ¸ çåå¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_jdbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin JDBC Driver</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_optimize_build.html" class="list-group-item-lay pjaxlink" id="navlist">ä¼åcubeæå»º</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">ä¼åcubeæå»º</h1> + <article class="post-content" > + <p>Kylinå°Cubeæå»ºä»»å¡å解为å ä¸ªä¾æ¬¡æ§è¡çæ¥éª¤ï¼è¿äºæ¥éª¤å æ¬Hiveæä½ãMapReduceæä½åå ¶ä»ç±»åçæä½ãå¦æä½ æå¾å¤Cubeæå»ºä»»å¡éè¦æ¯å¤©è¿è¡ï¼é£ä¹ä½ è¯å®æ³è¦åå°å ¶ä¸æ¶èçæ¶é´ã䏿æç §Cubeæå»ºæ¥éª¤é¡ºåºæä¾äºä¸äºä¼åç»éªã</p> + +<h2 id="hive">å建Hiveçä¸é´å¹³è¡¨</h2> + +<p>è¿ä¸æ¥å°æ°æ®ä»æºHive表æååºæ¥(åææjoinç表ä¸èµ·)å¹¶æå ¥å°ä¸ä¸ªä¸é´å¹³è¡¨ã妿Cubeæ¯ååºçï¼Kylinä¼å ä¸ä¸ä¸ªæ¶é´æ¡ä»¶ä»¥ç¡®ä¿åªæå¨æ¶é´èå´å çæ°æ®æä¼è¢«æåãä½ å¯ä»¥å¨è¿ä¸ªæ¥éª¤çlogæ¥çç¸å ³çHiveå½ä»¤ï¼æ¯å¦ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>hive -e "USE default; +DROP TABLE IF EXISTS kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34; + +CREATE EXTERNAL TABLE IF NOT EXISTS kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34 +(AIRLINE_FLIGHTDATE date,AIRLINE_YEAR int,AIRLINE_QUARTER int,...,AIRLINE_ARRDELAYMINUTES int) +STORED AS SEQUENCEFILE +LOCATION 'hdfs:///kylin/kylin200instance/kylin-0a8d71e8-df77-495f-b501-03c06f785b6c/kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34'; + +SET dfs.replication=2; +SET hive.exec.compress.output=true; +SET hive.auto.convert.join.noconditionaltask=true; +SET hive.auto.convert.join.noconditionaltask.size=100000000; +SET mapreduce.job.split.metainfo.maxsize=-1; + +INSERT OVERWRITE TABLE kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34 SELECT +AIRLINE.FLIGHTDATE +,AIRLINE.YEAR +,AIRLINE.QUARTER +,... +,AIRLINE.ARRDELAYMINUTES +FROM AIRLINE.AIRLINE as AIRLINE +WHERE (AIRLINE.FLIGHTDATE >= '1987-10-01' AND AIRLINE.FLIGHTDATE < '2017-01-01'); + +</code></pre> +</div> + +<p>å¨Hiveå½ä»¤è¿è¡æ¶ï¼Kylinä¼ç¨<code class="highlighter-rouge">conf/kylin_hive_conf.properties</code>éçé ç½®ï¼æ¯å¦ä¿çæ´å°çåä½å¤ä»½åå¯ç¨Hiveçmapper side joinãéè¦çè¯å¯ä»¥æ ¹æ®é群çå ·ä½æ åµå¢å å ¶ä»é ç½®ã</p> + +<p>妿cubeçååºå(å¨è¿ä¸ªæ¡ä¾ä¸æ¯âFIGHTDATEâ)ä¸Hive表çååºåç¸åï¼é£ä¹æ ¹æ®å®è¿æ»¤æ°æ®è½è®©Hiveèªæå°è·³è¿ä¸å¹é çååºãå æ¤å¼ºç建议ç¨Hiveçååºåï¼å¦æå®æ¯æ¥æåï¼ä½ä¸ºcubeçååºåãè¿å¯¹äºé£äºæ°æ®éå¾å¤§ç表æ¥è¯´å 乿¯å¿ é¡»çï¼å¦åHiveä¸å¾ä¸æ¯æ¬¡å¨è¿æ¥æ«æå ¨é¨æä»¶ï¼æ¶èé常é¿çæ¶é´ã</p> + +<p>妿å¯ç¨äºHiveçæä»¶åå¹¶ï¼ä½ å¯ä»¥å¨<code class="highlighter-rouge">conf/kylin_hive_conf.xml</code>éå ³éå®ï¼å 为Kylinæèªå·±åå¹¶æä»¶çæ¹æ³(ä¸ä¸è)ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code><property> + <name>hive.merge.mapfiles</name> + <value>false</value> + <description>Disable Hive's auto merge</description> +</property> +</code></pre> +</div> + +<h2 id="section">éæ°ååä¸é´è¡¨</h2> + +<p>å¨ä¹åç䏿¥ä¹åï¼Hiveå¨HDFSä¸çç®å½éçæäºæ°æ®æä»¶ï¼æäºæ¯å¤§æä»¶ï¼æäºæ¯å°æä»¶çè³ç©ºæä»¶ãè¿ç§ä¸å¹³è¡¡çæä»¶åå¸ä¼å¯¼è´ä¹åçMRä»»å¡åºç°æ°æ®å¾æçé®é¢ï¼æäºmapper宿å¾å¾å¿«ï¼ä½å ¶ä»ç就徿 ¢ãé对è¿ä¸ªé®é¢ï¼Kylinå¢å äºè¿ä¸ä¸ªæ¥éª¤æ¥âéæ°ååâæ°æ®ï¼è¿æ¯ç¤ºä¾è¾åº:</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>total input rows = 159869711 +expected input rows per mapper = 1000000 +num reducers for RedistributeFlatHiveTableStep = 160 + +</code></pre> +</div> + +<p>éæ°åå表çå½ä»¤ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>hive -e "USE default; +SET dfs.replication=2; +SET hive.exec.compress.output=true; +SET hive.auto.convert.join.noconditionaltask=true; +SET hive.auto.convert.join.noconditionaltask.size=100000000; +SET mapreduce.job.split.metainfo.maxsize=-1; +set mapreduce.job.reduces=160; +set hive.merge.mapredfiles=false; + +INSERT OVERWRITE TABLE kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34 SELECT * FROM kylin_intermediate_airline_cube_v3610f668a3cdb437e8373c034430f6c34 DISTRIBUTE BY RAND(); +" +</code></pre> +</div> + +<p>é¦å ï¼Kylin计ç®åºä¸é´è¡¨çè¡æ°ï¼ç¶ååºäºè¡æ°ç大å°ç®åºéæ°ååæ°æ®éè¦çæä»¶æ°ãé»è®¤æ åµä¸,Kylin为æ¯ä¸ç¾ä¸è¡åé ä¸ä¸ªæä»¶ãå¨è¿ä¸ªä¾åä¸ï¼æ1.6亿è¡å160个reducerï¼æ¯ä¸ªreducerä¼åä¸ä¸ªæä»¶ã卿¥ä¸æ¥å¯¹è¿å¼ 表è¿è¡çMRæ¥éª¤éï¼Hadoopä¼å¯å¨åæä»¶ç¸åæ°éçmapperæ¥å¤çæ°æ®(é常ä¸ç¾ä¸è¡æ°æ®æ¯ä¸ä¸ªHDFSæ°æ®åè¦å°)ãå¦æä½ çæ¥å¸¸æ°æ®é没æè¿ä¹å¤§æè Hadoopé群æè¶³å¤çèµæºï¼ä½ æè®¸æ³è¦æ´� �¤çå¹¶åæ°ï¼è¿æ¶å¯ä»¥å°<code class="highlighter-rouge">conf/kylin.properties</code>éç<code class="highlighter-rouge">kylin.job.mapreduce.mapper.input.rows</code>设为å°ä¸ç¹çæ°å¼ï¼æ¯å¦:</p> + +<p><code class="highlighter-rouge">kylin.job.mapreduce.mapper.input.rows=500000</code></p> + +<p>å ¶æ¬¡ï¼Kylinä¼è¿è¡ <em>âINSERT OVERWRITE TABLE ⦠DISTRIBUTE BY â</em> å½¢å¼çHiveQLæ¥ååæ°æ®å°æå®æ°éçreducerä¸ã</p> + +<p>å¨å¾å¤æ åµä¸ï¼Kylin请æ±Hiveéæºååæ°æ®å°reducerï¼ç¶åå¾å°å¤§å°ç¸è¿çæä»¶ï¼ååçè¯å¥æ¯âDISTRIBUTE BY RAND()âã</p> + +<p>å¦æä½ çcubeæå®äºä¸ä¸ªé«åºæ°çåï¼æ¯å¦âUSER_IDâï¼ä½ä¸ºâåçâ维度(å¨cubeçâé«çº§è®¾ç½®â页é¢)ï¼Kylinä¼è®©Hiveæ ¹æ®è¯¥åçå¼éæ°ååæ°æ®ï¼é£ä¹å¨è¯¥åæçç¸åå¼çè¡å°è¢«ååå°åä¸ä¸ªæä»¶ãè¿æ¯éæºè¦ååè¦å¥½å¾å¤ï¼å 为ä¸ä» éæ°åå¸äºæ°æ®ï¼å¹¶ä¸å¨æ²¡æé¢å¤ä»£ä»·çæ åµä¸å¯¹æ°æ®è¿è¡äºé¢å åç±»ï¼å¦æ¤ä¸æ¥æ¥ä¸æ¥çcube buildå¤çä¼ä»ä¸åçãå¨å ¸åçåºæ¯ä¸ï¼è¿æ ·ä¼åå¯ä»¥åå°40%çbuildæ ¶é¿ãå¨è¿ä¸ªæ¡ä¾ä¸ååçè¯å¥æ¯âDISTRIBUTE BY USER_IDâï¼</p> + +<p>请注æ: 1)âåçâååºè¯¥æ¯é«åºæ°ç维度åï¼å¹¶ä¸å®ä¼åºç°å¨å¾å¤çcuboidä¸ï¼ä¸åªæ¯åºç°å¨å°æ°çcuboidï¼ã 使ç¨å®æ¥åçè¿è¡ååå¯ä»¥å¨æ¯ä¸ªæ¶é´èå´å çæ°æ®åååå¸ï¼å¦åä¼é ææ°æ®å¾æï¼ä»èéä½buildæçãå ¸åçæ£é¢ä¾åæ¯ï¼âUSER_IDâãâSELLER_IDâãâPRODUCTâãâCELL_NUMBERâççï¼è¿äºåçåºæ°åºè¯¥å¤§äºä¸å(è¿å¤§äºreducerçæ°é)ã 2)âåçâ对cubeçåå¨åæ ·æå¥½å¤ï¼ä¸è¿è¿è¶ åºäºæ¬æçèå ´ã</p> + +<h2 id="section-1">æåäºå®è¡¨çå¯ä¸å</h2> + +<p>å¨è¿ä¸æ¥éª¤Kylinè¿è¡MR任塿¥æå使ç¨åå ¸ç¼ç ç维度åçå¯ä¸å¼ã</p> + +<p>å®é ä¸è¿æ¥å¦å¤è¿åäºä¸äºäºæ ï¼éè¿HyperLogLog计æ°å¨æ¶écubeçç»è®¡æ°æ®ï¼ç¨äºä¼°ç®æ¯ä¸ªcuboidçè¡æ°ãå¦æä½ åç°mapperè¿è¡å¾å¾æ ¢ï¼è¿é常表æcubeç设计太è¿å¤æï¼è¯·åè<br /> +<a href="howto_optimize_cubes.html">ä¼åcube设计</a>æ¥ç®åcubeã妿reduceråºç°äºå åæº¢åºé误ï¼è¿è¡¨æcuboidç»åçç太å¤äºæè æ¯YARNçå ååé æ»¡è¶³ä¸äºéè¦ã妿è¿ä¸æ¥ä»ä»»ä½æä¹ä¸è®²ä¸è½å¨åççæ¶é´å 宿ï¼ä½ å¯ä»¥æ¾å¼ä»»å¡å¹¶èèéæ°è®¾è®¡cubeï¼å 为继ç»ä¸å»ä¼è±è´¹æ´é¿çæ¶é´ã</p> + +<p>ä½ å¯ä»¥éè¿éä½åæ ·çæ¯ä¾ï¼kylin.job.cubing.inmen.sampling.percentï¼æ¥å éè¿ä¸ªæ¥éª¤ï¼ä½æ¯å¸®å©å¯è½ä¸å¤§èä¸å½±åäºcubeç»è®¡æ°æ®çåç¡®æ§ï¼æææä»¬å¹¶ä¸æ¨èã</p> + +<h2 id="section-2">æå»ºç»´åº¦åå ¸</h2> + +<p>æäºå䏿¥æåç维度åå¯ä¸å¼ï¼Kylinä¼å¨å åéæå»ºåå ¸ï¼å¨ä¸ä¸ªçæ¬å°æ¹ä¸ºMapReduceä»»å¡ï¼ãé常è¿ä¸æ¥æ¯è¾å¿«ï¼ä½å¦æå¯ä¸å¼éåå¾å¤§ï¼Kylinå¯è½ä¼æ¥åºç±»ä¼¼âåå ¸ä¸æ¯æè¿é«åºæ°âã对äºUHCç±»åçåï¼è¯·ä½¿ç¨å ¶ä»ç¼ç æ¹å¼ï¼æ¯å¦âfixed_lengthâãâintegerâççã</p> + +<h2 id="cuboid-htable">ä¿åcuboidçç»è®¡æ°æ®åå建 HTable</h2> + +<p>è¿ä¸¤æ¥æ¯è½»é级åå¿«éçã</p> + +<h2 id="cuboid">æå»ºåºç¡cuboid</h2> + +<p>è¿ä¸æ¥ç¨Hiveçä¸é´è¡¨æå»ºåºç¡çcuboidï¼æ¯âéå±âæå»ºcubeç®æ³ç第ä¸è½®MR计ç®ãMapperçæ°ç®ä¸ç¬¬äºæ¥çreduceræ°ç®ç¸çï¼Reducerçæ°ç®æ¯æ ¹æ®cubeç»è®¡æ°æ®ä¼°ç®çï¼é»è®¤æ åµä¸æ¯500MBè¾åºä½¿ç¨ä¸ä¸ªreducerï¼å¦æè§å¯å°reducerçæ°éè¾å°ï¼ä½ å¯ä»¥å°kylin.propertieséçâkylin.job.mapreduce.default.reduce.input.mbâ设为å°ä¸ç¹çæ°å¼ä»¥è·å¾è¿å¤çèµæºï¼æ¯å¦:</p> + +<p><code class="highlighter-rouge">kylin.job.mapreduce.default.reduce.input.mb=200</code></p> + +<h2 id="build-n-dimension-cuboid">Build N-Dimension Cuboid</h2> +<p>## æå»ºNç»´cuboid</p> + +<p>è¿äºæ¥éª¤æ¯âéå±âæå»ºcubeçè¿ç¨ï¼æ¯ä¸æ¥ä»¥å䏿¥çè¾åºä½ä¸ºè¾å ¥ï¼ç¶å廿ä¸ä¸ªç»´åº¦ä»¥èåå¾å°ä¸ä¸ªåcuboidã举个ä¾åï¼cuboid ABCD廿Aå¾å°BCDï¼å»æBå¾å°ACDã</p> + +<p>æäºcuboidå¯ä»¥ä»ä¸ä¸ªä»¥ä¸çç¶cuboidèåå¾å°ï¼è¿ç§æ åµä¸ï¼Kylinä¼éæ©æå°çä¸ä¸ªç¶cuboidã举ä¾,ABå¯ä»¥ä»ABC(id:1110)åABD(id:1101)çæï¼åABDä¼è¢«éä¸ï¼å 为å®çæ¯ABCè¦å°ãå¨è¿åºç¡ä¸ï¼å¦æDçåºæ°è¾å°ï¼èåè¿ç®çææ¬å°±ä¼æ¯è¾ä½ãæä»¥ï¼å½è®¾è®¡rowkeyåºåçæ¶åï¼è¯·è®°å¾å°åºæ°è¾å°ç维度æ¾å¨æ«å°¾ãè¿æ ·ä¸ä» æå©äºcubeæå»ºï¼è䏿å©äºcubeæ¥è¯¢ï¼å 为é¢èåä¹éµå¾ªç¸åçè§åã</p> + +<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ ¢ï¼å ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p> + +<h2 id="cube">æå»ºcube</h2> + +<p>è¿ä¸ªæ¥éª¤ä½¿ç¨ä¸ä¸ªæ°çç®æ³æ¥æå»ºcubeï¼âéçâæå»ºï¼ä¹ç§°ä¸ºâå åâæå»ºï¼ãå®ä¼ä½¿ç¨ä¸è½®MRæ¥è®¡ç®ææçcuboidsï¼ä½æ¯æ¯é常æ åµä¸æ´èå åãé ç½®æä»¶âconf/kylin_job_inmem.xmlâæ£æ¯ä¸ºè¿æ¥è设ãé»è®¤æ åµä¸å®ä¸ºæ¯ä¸ªmapperç³è¯·3GBå åãå¦æä½ çé群æå è¶³çå åï¼ä½ å¯ä»¥å¨ä¸è¿°é ç½®æä»¶ä¸åé æ´å¤å åç»mapperï¼è¿æ ·å®ä¼ç¨å°½å¯è½å¤çå 忥ç¼åæ°æ®ä»¥è·å¾æ´å¥½çæ§è½ï¼æ¯å¦ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code><property> + <name>mapreduce.map.memory.mb</name> + <value>6144</value> + <description></description> +</property> + +<property> + <name>mapreduce.map.java.opts</name> + <value>-Xmx5632m</value> + <description></description> +</property> +</code></pre> +</div> + +<p>请注æï¼Kylin伿 ¹æ®æ°æ®åå¸ï¼ä»cubeçç»è®¡æ°æ®éè·å¾ï¼èªå¨éæ©æä¼çç®æ³ï¼æ²¡æè¢«éä¸çç®æ³å¯¹åºçæ¥éª¤ä¼è¢«è·³è¿ãä½ ä¸éè¦æ¾å¼å°éæ©æå»ºç®æ³ã</p> + +<h2 id="cuboidhfile">å°cuboidæ°æ®è½¬æ¢ä¸ºHFile</h2> + +<p>è¿ä¸æ¥å¯å¨ä¸ä¸ªMR任塿¥è®²cuboidæä»¶ï¼åºåæä»¶æ ¼å¼ï¼è½¬æ¢ä¸ºHBaseçHFileæ ¼å¼ãKylinéè¿cubeç»è®¡æ°æ®è®¡ç®HBaseçregionæ°ç®ï¼é»è®¤æ åµä¸æ¯5GBæ°æ®å¯¹åºä¸ä¸ªregionãRegionè¶å¤ï¼MR使ç¨çreducerä¹ä¼è¶å¤ãå¦æä½ è§å¯å°reduceræ°ç®è¾å°ä¸æ§è½è¾å·®ï¼ä½ å¯ä»¥å°âconf/kylin.propertiesâéç以ä¸åæ°è®¾å°ä¸ç¹ï¼æ¯å¦ï¼</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>kylin.hbase.region.cut=2 +kylin.hbase.hfile.size.gb=1 +</code></pre> +</div> + +<p>å¦æä½ ä¸ç¡®å®ä¸ä¸ªregionåºè¯¥æ¯å¤å¤§æ¶ï¼èç³»ä½ çHBase管çåã</p> + +<h2 id="hfilehbase">å°HFileå¯¼å ¥HBase表</h2> + +<p>è¿ä¸æ¥ä½¿ç¨HBase APIæ¥è®²HFileå¯¼å ¥region serverï¼è¿æ¯è½»é级并快éç䏿¥ã</p> + +<h2 id="cube-1">æ´æ°cubeä¿¡æ¯</h2> + +<p>å¨å¯¼å ¥æ°æ®å°HBaseåï¼Kylinå¨å æ°æ®ä¸å°å¯¹åºçcube segmentæ 记为readyã</p> + +<h2 id="section-3">æ¸ çèµæº</h2> + +<p>å°ä¸é´å®½è¡¨ä»Hiveå é¤ãè¿ä¸æ¥ä¸ä¼é»å¡ä»»ä½æä½ï¼å 为å¨å䏿¥segmentå·²ç»è¢«æ 记为readyã妿è¿ä¸æ¥åçé误ï¼ä¸ç¨æ å¿ï¼åå¾åæ¶å·¥ä½å¯ä»¥æäºåéè¿Kylinç<a href="howto_cleanup_storage.html">StorageCleanupJob</a>宿ã</p> + +<h2 id="section-4">æ»ç»</h2> +<p>è¿æé常å¤å ¶ä»æé«Kylinæ§è½çæ¹æ³ï¼å¦æä½ æç»éªå¯ä»¥åäº«ï¼æ¬¢è¿éè¿<a href="mailto:dev@kylin.apache.org">dev@kylin.apache.org</a>讨论ã</p> + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>
Added: kylin/site/cn/docs23/index.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs23/index.html?rev=1822508&view=auto ============================================================================== --- kylin/site/cn/docs23/index.html (added) +++ kylin/site/cn/docs23/index.html Mon Jan 29 14:05:18 2018 @@ -0,0 +1,1759 @@ +<!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<!doctype html> +<html> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | æ¦è¿°</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs23/"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + <div class="text-center" style=" + position: relative; + top: 66px; + width: 1080px; + margin: 0 auto; + z-index: 11; + margin-top: -253px; + text-align: right;" + > + <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;"> + <img src="https://www.apache.org/images/SupportApache-small.png" style="height: 150px; width: 150px;"> + </a> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs21" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/create_cube.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube å建æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/tutorial/Qlik.html" class="list-group-item-lay pjaxlink" id="navlist">ä¸Qlik Senseéæ</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#title帮å©" data-toggle="collapse" id="navtitle">帮å©</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_backup_metadata.html" class="list-group-item-lay pjaxlink" id="navlist">å¤ä»½å æ°æ®</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_build_cube_with_restapi.html" class="list-group-item-lay pjaxlink" id="navlist">ç¨APIæå»ºcube</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_cleanup_storage.html" class="list-group-item-lay pjaxlink" id="navlist">æ¸ çåå¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_jdbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin JDBC Driver</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs23/howto/howto_optimize_build.html" class="list-group-item-lay pjaxlink" id="navlist">ä¼åcubeæå»º</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">æ¦è¿°</h1> + <article class="post-content" > + <h2 id="apache-kylin">æ¬¢è¿æ¥å° Apache Kylinâ¢</h2> +<blockquote> + <p>Extreme OLAP Engine for Big Data</p> +</blockquote> + +<p>Apache Kylinâ¢æ¯ä¸ä¸ªå¼æºçåå¸å¼åæå¼æï¼æä¾Hadoopä¹ä¸çSQLæ¥è¯¢æ¥å£åå¤ç»´åæï¼OLAPï¼è½åä»¥æ¯æè¶ å¤§è§æ¨¡æ°æ®ï¼æåç±eBay Inc.å¼åå¹¶è´¡ç®è³å¼æºç¤¾åºã</p> + +<p>æ¥çæ§çæ¬ææ¡£: <br /> +* <a href="/cn/docs23/">v2.3.x document</a><br /> +* <a href="/cn/docs21/">v2.1.x and v2.2.x document</a><br /> +* <a href="/cn/docs20/">v2.0.x document</a><br /> +* <a href="/cn/docs16/">v1.6.x document</a><br /> +* <a href="/cn/docs15/">v1.5.x document</a></p> + +<h2 id="section">å®è£ </h2> +<p>请åèå®è£ ææ¡£ä»¥å®è£ Apache Kylin: <a href="/cn/docs23/install/">å®è£ å导</a></p> + + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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 +* regarding copyright ownership. The ASF licenses this file +* 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 +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>