blob: e915c6abfc4c24c49e0e34707ddb2dee6d531471 [file] [log] [blame]
<!doctype html>
<html lang="zh-Hans-CN" dir="ltr" class="docs-wrapper docs-doc-page docs-version-1.2 plugin-docs plugin-id-default docs-doc-id-admin-manual/config/fe-config" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="generator" content="Docusaurus v2.4.3">
<link rel="alternate" type="application/rss+xml" href="/zh-CN/blog/rss.xml" title="Apache Doris RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/zh-CN/blog/atom.xml" title="Apache Doris Atom Feed">
<link rel="preconnect" href="https://www.google-analytics.com">
<link rel="preconnect" href="https://www.googletagmanager.com">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DT7W9E9722"></script>
<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-DT7W9E9722",{anonymize_ip:!0})</script>
<link rel="preconnect" href="https://analytics.apache.org/">
<script>var _paq=window._paq=window._paq||[];_paq.push(["setRequestMethod","POST"]),_paq.push(["trackPageView"]),_paq.push(["enableLinkTracking"]),_paq.push(["enableHeartBeatTimer"]),function(){var e="https://analytics.apache.org/";_paq.push(["setRequestMethod","POST"]),_paq.push(["setTrackerUrl",e+"matomo.php"]),_paq.push(["setSiteId","43"]);var a=document,t=a.createElement("script"),p=a.getElementsByTagName("script")[0];t.type="text/javascript",t.async=!0,t.src=e+"matomo.js",p.parentNode.insertBefore(t,p)}()</script>
<link rel="icon" href="/zh-CN/images/logo-only.png">
<link rel="manifest" href="/zh-CN/manifest.json">
<meta name="theme-color" content="#FFFFFF">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#000">
<link rel="apple-touch-icon" href="/zh-CN/img/docusaurus.png">
<link rel="mask-icon" href="/zh-CN/img/docusaurus.svg" color="rgb(37, 194, 160)">
<meta name="msapplication-TileImage" content="/zh-CN/img/docusaurus.png">
<meta name="msapplication-TileColor" content="#000">
<link rel="stylesheet" href="https://cdn-font.hyperos.mi.com/font/css?family=MiSans:100,200,300,400,450,500,600,650,700,900:Chinese_Simplify,Latin&display=swap">
<link rel="stylesheet" href="https://cdn-font.hyperos.mi.com/font/css?family=MiSans_Latin:100,200,300,400,450,500,600,650,700,900:Latin&display=swap">
<script src="/js/custom-script.js"></script><title data-rh="true">FE 配置项 - Apache Doris</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://doris.apache.org/zh-CN/docs/1.2/admin-manual/config/fe-config"><meta data-rh="true" name="docusaurus_locale" content="zh-CN"><meta data-rh="true" name="docsearch:language" content="zh-CN"><meta data-rh="true" name="docusaurus_version" content="1.2"><meta data-rh="true" name="docusaurus_tag" content="docs-default-1.2"><meta data-rh="true" name="docsearch:version" content="1.2"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-1.2"><meta data-rh="true" property="og:title" content="FE 配置项 - Apache Doris"><meta data-rh="true" name="description" content="&lt;!--"><meta data-rh="true" property="og:description" content="&lt;!--"><link data-rh="true" rel="icon" href="/zh-CN/images/favicon.ico"><link data-rh="true" rel="canonical" href="https://doris.apache.org/zh-CN/docs/1.2/admin-manual/config/fe-config"><link data-rh="true" rel="alternate" href="https://doris.apache.org/docs/1.2/admin-manual/config/fe-config" hreflang="en-US"><link data-rh="true" rel="alternate" href="https://doris.apache.org/zh-CN/docs/1.2/admin-manual/config/fe-config" hreflang="zh-Hans-CN"><link data-rh="true" rel="alternate" href="https://doris.apache.org/docs/1.2/admin-manual/config/fe-config" hreflang="x-default"><link rel="stylesheet" href="https://cdnd.selectdb.com/zh-CN/assets/css/styles.6c1d6100.css">
<link rel="preload" href="https://cdnd.selectdb.com/zh-CN/assets/js/runtime~main.ea863d93.js" as="script">
<link rel="preload" href="https://cdnd.selectdb.com/zh-CN/assets/js/main.bda5da23.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}(),document.documentElement.setAttribute("data-announcement-bar-initially-dismissed",function(){try{return"true"===localStorage.getItem("docusaurus.announcement.dismiss")}catch(t){}return!1}())</script><div id="__docusaurus">
<div role="region" aria-label="跳到主要内容"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">跳到主要内容</a></div><div class="announcementBar_s0pr" style="background-color:#3C2FD4;color:#FFFFFF" role="banner"><div class="announcementBarPlaceholder_qxfj"></div><div class="announcementBarContent_dpRF"><a href="https://github.com/apache/doris" target="_blank" style="display: flex; width: 100%; align-items: center; justify-content: center; margin-left: 4px; text-decoration: none; color: white">Do you ❤️ Doris? Give us a 🌟 on GitHub
<img style="width: 1.2rem; height: 1.2rem; margin-left: 0.4rem;" src="/images/github-white-icon.svg">
</a></div><button type="button" class="clean-btn close announcementBarClose_iXyO" aria-label="关闭"><svg viewBox="0 0 15 15" width="14" height="14" style="color:white"><g stroke="currentColor" stroke-width="3.1"><path d="M.75.75l13.5 13.5M14.25.75L.75 14.25"></path></g></svg></button></div><nav aria-label="主导航" class="navbar navbar--fixed-top"><div class="navbar__inner" style="padding:"><div class="navbar__items"><div class="navbar-left"><div class="navbar-logo-wrapper flex items-center"><a class="navbar__brand" href="/zh-CN/"><div class="navbar__logo"><img src="https://cdnd.selectdb.com/images/logo.svg" alt="Apache Doris" class="themedImage_ToTc themedImage--light_HNdA"><img src="https://cdnd.selectdb.com/images/logo.svg" alt="Apache Doris" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate"></b></a></div><a class="navbar__item navbar__link" style="text-align:center" href="/zh-CN/docs/get-starting/quick-start">Docs</a><a class="navbar__item navbar__link" style="text-align:center" href="/zh-CN/blog">Blog</a><a class="navbar__item navbar__link" style="text-align:center" href="/zh-CN/users">Users</a><a href="https://github.com/apache/doris/discussions" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link" style="text-align:center">Discussions</a><a class="navbar__item navbar__link" style="text-align:center" href="/zh-CN/ecosystem/cluster-management">Ecosystem</a><a class="navbar__item navbar__link" style="text-align:center" href="/zh-CN/community/join-community">Community</a></div></div><div class="navbar__items navbar__items--right"><button aria-label="切换导航栏" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><div class="docs-search searchBox_H2mL"><div class="navbar__search searchBarContainer_PzyC"><input placeholder="搜索" aria-label="Search" class="navbar__search-input navbarSearchInput_tb6T"><div class="loadingRing__K5d searchBarLoadingRing_e2f0"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_m7ml"><kbd class="searchHint_zuPL">ctrl</kbd><kbd class="searchHint_zuPL">K</kbd></div></div></div><div class="custom-navbar-item navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg class="icon-language" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M7.75756 14.3L10.5816 6.91667H11.8759L14.7 14.3H13.4057L12.7501 12.4167H9.74113L9.06873 14.3H7.75756ZM10.1109 11.35H12.3467L11.254 8.3H11.2036L10.1109 11.35ZM2.84908 12.45L1.97498 11.5833L5.11841 8.48333C4.72618 8.05 4.38439 7.60267 4.09302 7.14133C3.80165 6.68044 3.54389 6.19444 3.31976 5.68333H4.61412C4.80463 6.06111 5.00635 6.39711 5.21927 6.69133C5.43219 6.986 5.68434 7.29444 5.97571 7.61667C6.43519 7.12778 6.81621 6.62511 7.11879 6.10867C7.42137 5.59178 7.67352 5.03889 7.87523 4.45H1V3.23333H5.33694V2H6.58087V3.23333H10.9178V4.45H9.11916C8.89503 5.18333 8.59805 5.89155 8.22824 6.57467C7.85842 7.25822 7.39895 7.90555 6.84983 8.51667L8.3459 10.0167L7.87523 11.2833L5.95891 9.38333L2.84908 12.45Z" fill="#4C576C"></path></svg></a><ul class="dropdown__menu"><li><a href="/docs/1.2/admin-manual/config/fe-config" target="_self" rel="noopener noreferrer" class="dropdown__link" style="text-align:center">English</a></li><li><a href="/zh-CN/docs/1.2/admin-manual/config/fe-config" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" style="text-align:center">中文</a></li></ul></div><div class="custom-navbar-item navbar__item dropdown dropdown--hoverable dropdown--right"><a class="navbar__link" aria-haspopup="true" aria-expanded="false" role="button" href="/zh-CN/docs/1.2/get-starting/"><span class="text-sm">Versions: <!-- -->1.2</span></a><ul class="dropdown__menu"><li><a class="dropdown__link" style="text-align:center" href="/zh-CN/docs/dev/admin-manual/config/fe-config">dev</a></li><li><a class="dropdown__link" style="text-align:center" href="/zh-CN/docs/admin-manual/config/fe-config">2.1</a></li><li><a class="dropdown__link" style="text-align:center" href="/zh-CN/docs/2.0/admin-manual/config/fe-config">2.0</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" style="text-align:center" href="/zh-CN/docs/1.2/admin-manual/config/fe-config">1.2</a></li></ul></div><a class="navbar__item navbar__link header-right-button-primary navbar-download-mobile" style="text-align:center" href="/zh-CN/download">Download</a><a href="https://github.com/apache/doris" target="_blank" rel="noopener noreferrer" class="github-btn desktop header-right-button-github"></a><a href="https://join.slack.com/t/apachedoriscommunity/shared_invite/zt-2kl08hzc0-SPJe4VWmL_qzrFd2u2XYQA" target="_blank" rel="noopener noreferrer" class="slack-btn desktop header-right-button-slack"></a><a class="header-right-button-primary navbar-download-desktop" href="/zh-CN/download">Download</a></div></div><div class="navbar__bottom"></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div role="region" aria-label="跳到主要内容"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">跳到主要内容</a></div><div class="main-wrapper docsWrapper_BCFX"><button aria-label="回到顶部" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebarViewport_Xe31"><div class="sidebar"><nav aria-label="文档侧边栏" class="menu custom-scrollbar menu_Y1UP menuWithAnnouncementBar_fPny"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/get-starting/">快速开始</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/summary/basic-summary">Doris 介绍</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/install/standard-deployment">安装部署</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/data-table/data-model">数据表设计</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/data-operate/import/load-manual">数据操作</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/advanced/alter-table/schema-change">进阶使用</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/query-acceleration/materialized-view">查询加速</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/lakehouse/multi-catalog/">数据湖分析</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/ecosystem/spark-doris-connector">生态扩展</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/sql-manual/sql-functions/array-functions/array">SQL 手册</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret menu__link--active" aria-expanded="true" href="/zh-CN/docs/1.2/admin-manual/cluster-management/upgrade">管理手册</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list menu__list_level_2"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/cluster-management/upgrade">集群管理</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/data-admin/backup">数据管理</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/sql-interception">SQL拦截</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/query-profile">查询分析</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/tracing">链路追踪</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/optimization">性能优化</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/certificate">SSL密钥证书配置</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/fe-certificate">FE SSL密钥证书配置</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/maint-monitor/monitor-metrics/metrics">运维监控</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/maint-monitor/memory-management/memory-tracker">内存管理</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret menu__link--active" aria-expanded="true" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/config/config-dir">配置管理</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/config/config-dir">配置文件目录</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/config/fe-config">FE 配置项</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/config/be-config">BE 配置项</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/config/user-property">用户配置项</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/privilege-ldap/user-privilege">用户权限及认证</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/system-table/rowsets">System Table</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/multi-tenant">多租户和资源划分</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link_level_2 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.2/admin-manual/http-actions/fe/config-action">HTTP API</a></div></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/faq/install-faq">常见问题</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/benchmark/ssb">性能测试</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a id="menu__group" class="menu__link menu__link_level_1 menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.2/releasenotes/release-1.2.8">Release notes</a></div></li></ul></nav></div></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_z5aJ"><div class="docItemContainer_c0TR"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="页面路径"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="主页面" class="breadcrumbs__link" href="/zh-CN/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">管理手册</span><meta itemprop="position" content="1"></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">配置管理</span><meta itemprop="position" content="2"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">FE 配置项</span><meta itemprop="position" content="3"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">本页总览</button></div><div class="theme-doc-markdown markdown"><header><h1>FE 配置项</h1></header><h1>Doris FE配置参数</h1><p>该文档主要介绍 FE 的相关配置项。</p><p>FE 的配置文件 <code>fe.conf</code> 通常存放在 FE 部署路径的 <code>conf/</code> 目录下。 而在 0.14 版本中会引入另一个配置文件 <code>fe_custom.conf</code>。该配置文件用于记录用户在运行时动态配置并持久化的配置项。</p><p>FE 进程启动后,会先读取 <code>fe.conf</code> 中的配置项,之后再读取 <code>fe_custom.conf</code> 中的配置项。<code>fe_custom.conf</code> 中的配置项会覆盖 <code>fe.conf</code> 中相同的配置项。</p><p><code>fe_custom.conf</code> 文件的位置可以在 <code>fe.conf</code> 通过 <code>custom_config_dir</code> 配置项配置。</p><h2 class="anchor anchorWithStickyNavbar_LWe7" id="查看配置项">查看配置项<a href="#查看配置项" class="hash-link" aria-label="查看配置项的直接链接" title="查看配置项的直接链接"></a></h2><p>FE 的配置项有两种方式进行查看:</p><ol><li><p>FE 前端页面查看</p><p>在浏览器中打开 FE 前端页面 <code>http://fe_host:fe_http_port/variable</code>。在 <code>Configure Info</code> 中可以看到当前生效的 FE 配置项。</p></li><li><p>通过命令查看</p><p>FE 启动后,可以在 MySQL 客户端中,通过以下命令查看 FE 的配置项,具体语法参考<a href="/zh-CN/docs/1.2/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-SHOW-CONFIG">ADMIN-SHOW-CONFIG</a></p><p><code>ADMIN SHOW FRONTEND CONFIG;</code></p><p>结果中各列含义如下:</p><ul><li>Key:配置项名称。</li><li>Value:当前配置项的值。</li><li>Type:配置项值类型,如果整型、字符串。</li><li>IsMutable:是否可以动态配置。如果为 true,表示该配置项可以在运行时进行动态配置。如果false,则表示该配置项只能在 <code>fe.conf</code> 中配置并且重启 FE 后生效。</li><li>MasterOnly:是否为 Master FE 节点独有的配置项。如果为 true,则表示该配置项仅在 Master FE 节点有意义,对其他类型的 FE 节点无意义。如果为 false,则表示该配置项在所有 FE 节点中均有意义。</li><li>Comment:配置项的描述。</li></ul></li></ol><h2 class="anchor anchorWithStickyNavbar_LWe7" id="设置配置项">设置配置项<a href="#设置配置项" class="hash-link" aria-label="设置配置项的直接链接" title="设置配置项的直接链接"></a></h2><p>FE 的配置项有两种方式进行配置:</p><ol><li><p>静态配置</p><p><code>conf/fe.conf</code> 文件中添加和设置配置项。<code>fe.conf</code> 中的配置项会在 FE 进程启动时被读取。没有在 <code>fe.conf</code> 中的配置项将使用默认值。</p></li><li><p>通过 MySQL 协议动态配置</p><p>FE 启动后,可以通过以下命令动态设置配置项。该命令需要管理员权限。</p><p><code>ADMIN SET FRONTEND CONFIG (&quot;fe_config_name&quot; = &quot;fe_config_value&quot;);</code></p><p>不是所有配置项都支持动态配置。可以通过 <code>ADMIN SHOW FRONTEND CONFIG;</code> 命令结果中的 <code>IsMutable</code> 列查看是否支持动态配置。</p><p>如果是修改 <code>MasterOnly</code> 的配置项,则该命令会直接转发给 Master FE 并且仅修改 Master FE 中对应的配置项。</p><p><strong>通过该方式修改的配置项将在 FE 进程重启后失效。</strong></p><p>更多该命令的帮助,可以通过 <code>HELP ADMIN SET CONFIG;</code> 命令查看。</p></li><li><p>通过 HTTP 协议动态配置</p><p>具体请参阅 <a href="/zh-CN/docs/1.2/admin-manual/http-actions/fe/set-config-action">Set Config Action</a></p><p>该方式也可以持久化修改后的配置项。配置项将持久化在 <code>fe_custom.conf</code> 文件中,在 FE 重启后仍会生效。</p></li></ol><h2 class="anchor anchorWithStickyNavbar_LWe7" id="应用举例">应用举例<a href="#应用举例" class="hash-link" aria-label="应用举例的直接链接" title="应用举例的直接链接"></a></h2><ol><li><p>修改 <code>async_pending_load_task_pool_size</code></p><p>通过 <code>ADMIN SHOW FRONTEND CONFIG;</code> 可以查看到该配置项不能动态配置(<code>IsMutable</code> 为 false)。则需要在 <code>fe.conf</code> 中添加:</p><p><code>async_pending_load_task_pool_size=20</code></p><p>之后重启 FE 进程以生效该配置。</p></li><li><p>修改 <code>dynamic_partition_enable</code></p><p>通过 <code>ADMIN SHOW FRONTEND CONFIG;</code> 可以查看到该配置项可以动态配置(<code>IsMutable</code> 为 true)。并且是 Master FE 独有配置。则首先我们可以连接到任意 FE,执行如下命令修改配置:</p><div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">ADMIN SET FRONTEND CONFIG (&quot;dynamic_partition_enable&quot; = &quot;true&quot;);`</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>之后可以通过如下命令查看修改后的值:</p><div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">set forward_to_master=true;</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">ADMIN SHOW FRONTEND CONFIG;</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>通过以上方式修改后,如果 Master FE 重启或进行了 Master 切换,则配置将失效。可以通过在 <code>fe.conf</code> 中直接添加配置项,并重启 FE 后,永久生效该配置项。</p></li><li><p>修改 <code>max_distribution_pruner_recursion_depth</code></p><p>通过 <code>ADMIN SHOW FRONTEND CONFIG;</code> 可以查看到该配置项可以动态配置(<code>IsMutable</code> 为 true)。并且不是 Master FE 独有配置。</p><p>同样,我们可以通过动态修改配置的命令修改该配置。因为该配置不是 Master FE 独有配置,所以需要单独连接到不同的 FE,进行动态修改配置的操作,这样才能保证所有 FE 都使用了修改后的配置值</p></li></ol><h2 class="anchor anchorWithStickyNavbar_LWe7" id="配置项列表">配置项列表<a href="#配置项列表" class="hash-link" aria-label="配置项列表的直接链接" title="配置项列表的直接链接"></a></h2><h3 class="anchor anchorWithStickyNavbar_LWe7" id="元数据与集群管理">元数据与集群管理<a href="#元数据与集群管理" class="hash-link" aria-label="元数据与集群管理的直接链接" title="元数据与集群管理的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="meta_dir"><code>meta_dir</code><a href="#meta_dir" class="hash-link" aria-label="meta_dir的直接链接" title="meta_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/doris-meta&quot;</p><p>Doris 元数据将保存在这里。 强烈建议将此目录的存储为:</p><ol><li><p>高写入性能(SSD)</p></li><li><p>安全(RAID)</p></li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="catalog_try_lock_timeout_ms"><code>catalog_try_lock_timeout_ms</code><a href="#catalog_try_lock_timeout_ms" class="hash-link" aria-label="catalog_try_lock_timeout_ms的直接链接" title="catalog_try_lock_timeout_ms的直接链接"></a></h4><p>默认值:5000 (ms)</p><p>是否可以动态配置:true</p><p>元数据锁的 tryLock 超时配置。 通常它不需要改变,除非你需要测试一些东西。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_bdbje_debug_mode"><code>enable_bdbje_debug_mode</code><a href="#enable_bdbje_debug_mode" class="hash-link" aria-label="enable_bdbje_debug_mode的直接链接" title="enable_bdbje_debug_mode的直接链接"></a></h4><p>默认值:false</p><p>如果设置为 true,FE 将在 BDBJE 调试模式下启动,在 Web 页面 <code>System-&gt;bdbje</code> 可以查看相关信息,否则不可以查看</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_bdbje_clock_delta_ms"><code>max_bdbje_clock_delta_ms</code><a href="#max_bdbje_clock_delta_ms" class="hash-link" aria-label="max_bdbje_clock_delta_ms的直接链接" title="max_bdbje_clock_delta_ms的直接链接"></a></h4><p>默认值:5000 (5秒)</p><p>设置非主 FE 到主 FE 主机之间的最大可接受时钟偏差。 每当非主 FE 通过 BDBJE 建立到主 FE 的连接时,都会检查该值。 如果时钟偏差大于此值,则放弃连接。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="metadata_failure_recovery"><code>metadata_failure_recovery</code><a href="#metadata_failure_recovery" class="hash-link" aria-label="metadata_failure_recovery的直接链接" title="metadata_failure_recovery的直接链接"></a></h4><p>默认值:false</p><p>如果为 true,FE 将重置 bdbje 复制组(即删除所有可选节点信息)并应该作为 Master 启动。 如果所有可选节点都无法启动,我们可以将元数据复制到另一个节点并将此配置设置为 true 以尝试重新启动 FE。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="txn_rollback_limit"><code>txn_rollback_limit</code><a href="#txn_rollback_limit" class="hash-link" aria-label="txn_rollback_limit的直接链接" title="txn_rollback_limit的直接链接"></a></h4><p>默认值:100</p><p>尝试重新加入组时 bdbje 可以回滚的最大 txn 数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="bdbje_replica_ack_timeout_second"><code>bdbje_replica_ack_timeout_second</code><a href="#bdbje_replica_ack_timeout_second" class="hash-link" aria-label="bdbje_replica_ack_timeout_second的直接链接" title="bdbje_replica_ack_timeout_second的直接链接"></a></h4><p>默认值:10</p><p>元数据会同步写入到多个 Follower FE,这个参数用于控制 Master FE 等待 Follower FE 发送 ack 的超时时间。当写入的数据较大时,可能 ack 时间较长,如果超时,会导致写元数据失败,FE 进程退出。此时可以适当调大这个参数。</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="grpc_threadmgr_threads_nums"><code>grpc_threadmgr_threads_nums</code><a href="#grpc_threadmgr_threads_nums" class="hash-link" aria-label="grpc_threadmgr_threads_nums的直接链接" title="grpc_threadmgr_threads_nums的直接链接"></a></h3><p>默认值: 4096</p><p>在grpc_threadmgr中处理grpc events的线程数量。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="bdbje_lock_timeout_second"><code>bdbje_lock_timeout_second</code><a href="#bdbje_lock_timeout_second" class="hash-link" aria-label="bdbje_lock_timeout_second的直接链接" title="bdbje_lock_timeout_second的直接链接"></a></h4><p>默认值:1</p><p>bdbje 操作的 lock timeout 如果 FE WARN 日志中有很多 LockTimeoutException,可以尝试增加这个值</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="bdbje_heartbeat_timeout_second"><code>bdbje_heartbeat_timeout_second</code><a href="#bdbje_heartbeat_timeout_second" class="hash-link" aria-label="bdbje_heartbeat_timeout_second的直接链接" title="bdbje_heartbeat_timeout_second的直接链接"></a></h4><p>默认值:30</p><p>master 和 follower 之间 bdbje 的心跳超时。 默认为 30 秒,与 bdbje 中的默认值相同。 如果网络遇到暂时性问题,一些意外的长 Java GC 使您烦恼,您可以尝试增加此值以减少错误超时的机会</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="replica_ack_policy"><code>replica_ack_policy</code><a href="#replica_ack_policy" class="hash-link" aria-label="replica_ack_policy的直接链接" title="replica_ack_policy的直接链接"></a></h4><p>默认值:SIMPLE_MAJORITY</p><p>选项:ALL, NONE, SIMPLE_MAJORITY</p><p>bdbje 的副本 ack 策略。 更多信息,请参见:<a href="http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/Durability.ReplicaAckPolicy.html" target="_blank" rel="noopener noreferrer">http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/Durability.ReplicaAckPolicy.html</a></p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="replica_sync_policy"><code>replica_sync_policy</code><a href="#replica_sync_policy" class="hash-link" aria-label="replica_sync_policy的直接链接" title="replica_sync_policy的直接链接"></a></h4><p>默认值:SYNC</p><p>选项:SYNC, NO_SYNC, WRITE_NO_SYNC</p><p>bdbje 的Follower FE 同步策略。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="master_sync_policy"><code>master_sync_policy</code><a href="#master_sync_policy" class="hash-link" aria-label="master_sync_policy的直接链接" title="master_sync_policy的直接链接"></a></h4><p>默认值:SYNC</p><p>选项:SYNC, NO_SYNC, WRITE_NO_SYNC</p><p>Master FE 的 bdbje 同步策略。 如果您只部署一个 Follower FE,请将其设置为“SYNC”。 如果你部署了超过 3 个 Follower FE,你可以将这个和下面的 <code>replica_sync_policy </code> 设置为 WRITE_NO_SYNC。 更多信息,参见:<a href="http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/Durability.SyncPolicy.html" target="_blank" rel="noopener noreferrer">http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/Durability.SyncPolicy.html</a></p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="bdbje_reserved_disk_bytes"><code>bdbje_reserved_disk_bytes</code><a href="#bdbje_reserved_disk_bytes" class="hash-link" aria-label="bdbje_reserved_disk_bytes的直接链接" title="bdbje_reserved_disk_bytes的直接链接"></a></h4><p>用于限制 bdbje 能够保留的文件的最大磁盘空间。</p><p>默认值:1073741824</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="ignore_meta_check"><code>ignore_meta_check</code><a href="#ignore_meta_check" class="hash-link" aria-label="ignore_meta_check的直接链接" title="ignore_meta_check的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>如果为 true,非主 FE 将忽略主 FE 与其自身之间的元数据延迟间隙,即使元数据延迟间隙超过 <code>meta_delay_toleration_second</code>
非主 FE 仍将提供读取服务。 当您出于某种原因尝试停止 Master FE 较长时间,但仍希望非 Master FE 可以提供读取服务时,这会很有帮助。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="meta_delay_toleration_second"><code>meta_delay_toleration_second</code><a href="#meta_delay_toleration_second" class="hash-link" aria-label="meta_delay_toleration_second的直接链接" title="meta_delay_toleration_second的直接链接"></a></h4><p>默认值:300 (5分钟)</p><p>如果元数据延迟间隔超过 <code>meta_delay_toleration_second </code>,非主 FE 将停止提供服务</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="edit_log_port"><code>edit_log_port</code><a href="#edit_log_port" class="hash-link" aria-label="edit_log_port的直接链接" title="edit_log_port的直接链接"></a></h4><p>默认值:9010</p><p>bdbje端口</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="edit_log_type"><code>edit_log_type</code><a href="#edit_log_type" class="hash-link" aria-label="edit_log_type的直接链接" title="edit_log_type的直接链接"></a></h4><p>默认值:BDB</p><p>编辑日志类型。
BDB:将日志写入 bdbje
LOCAL:已弃用。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="edit_log_roll_num"><code>edit_log_roll_num</code><a href="#edit_log_roll_num" class="hash-link" aria-label="edit_log_roll_num的直接链接" title="edit_log_roll_num的直接链接"></a></h4><p>默认值:50000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>Master FE will save image every <code>edit_log_roll_num </code> meta journals.</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="force_do_metadata_checkpoint"><code>force_do_metadata_checkpoint</code><a href="#force_do_metadata_checkpoint" class="hash-link" aria-label="force_do_metadata_checkpoint的直接链接" title="force_do_metadata_checkpoint的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,则无论 jvm 内存使用百分比如何,检查点线程都会创建检查点</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="metadata_checkpoint_memory_threshold"><code>metadata_checkpoint_memory_threshold</code><a href="#metadata_checkpoint_memory_threshold" class="hash-link" aria-label="metadata_checkpoint_memory_threshold的直接链接" title="metadata_checkpoint_memory_threshold的直接链接"></a></h4><p>默认值:60 (60%)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果 jvm 内存使用百分比(堆或旧内存池)超过此阈值,则检查点线程将无法工作以避免 OOM。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_same_name_catalog_trash_num"><code>max_same_name_catalog_trash_num</code><a href="#max_same_name_catalog_trash_num" class="hash-link" aria-label="max_same_name_catalog_trash_num的直接链接" title="max_same_name_catalog_trash_num的直接链接"></a></h4><p>用于设置回收站中同名元数据的最大个数,超过最大值时,最早删除的元数据将被彻底删除,不能再恢复。0 表示不保留同名对象。&lt; 0 表示不做限制。</p><p>注意:同名元数据的判断会局限在一定的范围内。比如同名database的判断会限定在相同cluster下,同名table的判断会限定在相同database(指相同database id)下,同名partition的判断会限定在相同database(指相同database id)并且相同table(指相同table id)下。</p><p>默认值:3</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="cluster_id"><code>cluster_id</code><a href="#cluster_id" class="hash-link" aria-label="cluster_id的直接链接" title="cluster_id的直接链接"></a></h4><p>默认值:-1</p><p>如果节点(FE 或 BE)具有相同的集群 id,则将认为它们属于同一个Doris 集群。 Cluster id 通常是主 FE 首次启动时生成的随机整数。 您也可以指定一个。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="heartbeat_mgr_blocking_queue_size"><code>heartbeat_mgr_blocking_queue_size</code><a href="#heartbeat_mgr_blocking_queue_size" class="hash-link" aria-label="heartbeat_mgr_blocking_queue_size的直接链接" title="heartbeat_mgr_blocking_queue_size的直接链接"></a></h4><p>默认值:1024</p><p>是否为 Master FE 节点独有的配置项:true</p><p>在 heartbeat_mgr 中存储心跳任务的阻塞队列大小。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="heartbeat_mgr_threads_num"><code>heartbeat_mgr_threads_num</code><a href="#heartbeat_mgr_threads_num" class="hash-link" aria-label="heartbeat_mgr_threads_num的直接链接" title="heartbeat_mgr_threads_num的直接链接"></a></h4><p>默认值:8</p><p>是否为 Master FE 节点独有的配置项:true</p><p>heartbeat_mgr 中处理心跳事件的线程数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_cluster_feature"><code>disable_cluster_feature</code><a href="#disable_cluster_feature" class="hash-link" aria-label="disable_cluster_feature的直接链接" title="disable_cluster_feature的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>多集群功能将在 0.12 版本中弃用 ,将此配置设置为 true 将禁用与集群功能相关的所有操作,包括:</p><ol><li>创建/删除集群</li><li>添加、释放BE/将BE添加到集群/停用集群balance</li><li>更改集群的后端数量</li><li>链接/迁移数据库</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_deploy_manager"><code>enable_deploy_manager</code><a href="#enable_deploy_manager" class="hash-link" aria-label="enable_deploy_manager的直接链接" title="enable_deploy_manager的直接链接"></a></h4><p>默认值:disable</p><p>如果使用第三方部署管理器部署 Doris,则设置为 true</p><p>有效的选项是:</p><ul><li>disable:没有部署管理器</li><li>k8s:Kubernetes</li><li>ambari:Ambari</li><li>local:本地文件(用于测试或 Boxer2 BCC 版本)</li></ul><h4 class="anchor anchorWithStickyNavbar_LWe7" id="with_k8s_certs"><code>with_k8s_certs</code><a href="#with_k8s_certs" class="hash-link" aria-label="with_k8s_certs的直接链接" title="with_k8s_certs的直接链接"></a></h4><p>默认值:false</p><p>如果在本地使用 k8s 部署管理器,请将其设置为 true 并准备证书文件</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_fqdn_mode"><code>enable_fqdn_mode</code><a href="#enable_fqdn_mode" class="hash-link" aria-label="enable_fqdn_mode的直接链接" title="enable_fqdn_mode的直接链接"></a></h4><p>此配置用于 k8s 部署环境。当 enable_fqdn_mode 为 true 时,将允许更改 be 的重建 pod的 ip。</p><p>默认值: false</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_token_check"><code>enable_token_check</code><a href="#enable_token_check" class="hash-link" aria-label="enable_token_check的直接链接" title="enable_token_check的直接链接"></a></h4><p>默认值:true</p><p>为了向前兼容,稍后将被删除。 下载image文件时检查令牌。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_multi_tags"><code>enable_multi_tags</code><a href="#enable_multi_tags" class="hash-link" aria-label="enable_multi_tags的直接链接" title="enable_multi_tags的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否开启单BE的多标签功能</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="服务">服务<a href="#服务" class="hash-link" aria-label="服务的直接链接" title="服务的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="query_port"><code>query_port</code><a href="#query_port" class="hash-link" aria-label="query_port的直接链接" title="query_port的直接链接"></a></h4><p>默认值:9030</p><p>Doris FE 通过 mysql 协议查询连接端口</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="frontend_address"><code>frontend_address</code><a href="#frontend_address" class="hash-link" aria-label="frontend_address的直接链接" title="frontend_address的直接链接"></a></h4><p>状态:已弃用,不建议使用。</p><p>类型:string </p><p>描述:显式配置FE的IP地址,不使用<em>InetAddress。getByName</em>获取IP地址。通常在<em>InetAddress中。getByName</em>当无法获得预期结果时。只支持IP地址,不支持主机名。</p><p>默认值:0.0.0.0</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="priority_networks"><code>priority_networks</code><a href="#priority_networks" class="hash-link" aria-label="priority_networks的直接链接" title="priority_networks的直接链接"></a></h4><p>默认值:空</p><p>为那些有很多 ip 的服务器声明一个选择策略。 请注意,最多应该有一个 ip 与此列表匹配。 这是一个以分号分隔格式的列表,用 CIDR 表示法,例如 10.10.10.0/24。 如果没有匹配这条规则的ip,会随机选择一个。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="http_port"><code>http_port</code><a href="#http_port" class="hash-link" aria-label="http_port的直接链接" title="http_port的直接链接"></a></h4><p>默认值:8030</p><p>FE http 端口,当前所有 FE http 端口都必须相同</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="https_port"><code>https_port</code><a href="#https_port" class="hash-link" aria-label="https_port的直接链接" title="https_port的直接链接"></a></h4><p>默认值:8050</p><p>FE https 端口,当前所有 FE https 端口都必须相同</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_https"><code>enable_https</code><a href="#enable_https" class="hash-link" aria-label="enable_https的直接链接" title="enable_https的直接链接"></a></h4><p>默认值:false</p><p>FE https 使能标志位,false 表示支持 http,true 表示同时支持 http 与 https,并且会自动将 http 请求重定向到 https
如果 enable_https 为 true,需要在 fe.conf 中配置 ssl 证书信息</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_ssl"><code>enable_ssl</code><a href="#enable_ssl" class="hash-link" aria-label="enable_ssl的直接链接" title="enable_ssl的直接链接"></a></h4><p>默认值: true</p><p>如果设置为 ture,doris 将与 mysql服务 建立基于 SSL 协议的加密通道。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="qe_max_connection"><code>qe_max_connection</code><a href="#qe_max_connection" class="hash-link" aria-label="qe_max_connection的直接链接" title="qe_max_connection的直接链接"></a></h4><p>默认值:1024</p><p>每个 FE 的最大连接数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_connection_scheduler_threads_num"><code>max_connection_scheduler_threads_num</code><a href="#max_connection_scheduler_threads_num" class="hash-link" aria-label="max_connection_scheduler_threads_num的直接链接" title="max_connection_scheduler_threads_num的直接链接"></a></h4><p>默认值:4096</p><p>查询请求调度器中的最大线程数。</p><p>目前的策略是,有请求过来,就为其单独申请一个线程进行服务</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="check_java_version"><code>check_java_version</code><a href="#check_java_version" class="hash-link" aria-label="check_java_version的直接链接" title="check_java_version的直接链接"></a></h4><p>默认值:true</p><p>Doris 将检查已编译和运行的 Java 版本是否兼容,如果不兼容将抛出Java版本不匹配的异常信息,并终止启动</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="rpc_port"><code>rpc_port</code><a href="#rpc_port" class="hash-link" aria-label="rpc_port的直接链接" title="rpc_port的直接链接"></a></h4><p>默认值:9020</p><p>FE Thrift Server的端口</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="thrift_server_type"><code>thrift_server_type</code><a href="#thrift_server_type" class="hash-link" aria-label="thrift_server_type的直接链接" title="thrift_server_type的直接链接"></a></h4><p>该配置表示FE的Thrift服务使用的服务模型, 类型为string, 大小写不敏感。</p><p>若该参数为 <code>SIMPLE</code>, 则使用 <code>TSimpleServer</code> 模型, 该模型一般不适用于生产环境,仅限于测试使用。</p><p>若该参数为 <code>THREADED</code>, 则使用 <code>TThreadedSelectorServer</code> 模型,该模型为非阻塞式I/O模型,即主从 Reactor 模型,该模型能及时响应大量的并发连接请求,在多数场景下有较好的表现。</p><p>若该参数为 <code>THREAD_POOL</code>, 则使用 <code>TThreadPoolServer</code> 模型,该模型为阻塞式I/O模型,使用线程池处理用户连接,并发连接数受限于线程池的数量,如果能提前预估并发请求的数量,并且能容忍足够多的线程资源开销,该模型会有较好的性能表现,默认使用该服务模型</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="thrift_server_max_worker_threads"><code>thrift_server_max_worker_threads</code><a href="#thrift_server_max_worker_threads" class="hash-link" aria-label="thrift_server_max_worker_threads的直接链接" title="thrift_server_max_worker_threads的直接链接"></a></h4><p>默认值:4096</p><p>Thrift Server最大工作线程数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="thrift_backlog_num"><code>thrift_backlog_num</code><a href="#thrift_backlog_num" class="hash-link" aria-label="thrift_backlog_num的直接链接" title="thrift_backlog_num的直接链接"></a></h4><p>默认值:1024</p><p>thrift 服务器的 backlog_num 当你扩大这个 backlog_num 时,你应该确保它的值大于 linux <code>/proc/sys/net/core/somaxconn</code> 配置</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="thrift_client_timeout_ms"><code>thrift_client_timeout_ms</code><a href="#thrift_client_timeout_ms" class="hash-link" aria-label="thrift_client_timeout_ms的直接链接" title="thrift_client_timeout_ms的直接链接"></a></h4><p>默认值:0</p><p>thrift 服务器的连接超时和套接字超时配置 </p><p>thrift_client_timeout_ms 的默认值设置为零以防止读取超时</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="use_compact_thrift_rpc"><code>use_compact_thrift_rpc</code><a href="#use_compact_thrift_rpc" class="hash-link" aria-label="use_compact_thrift_rpc的直接链接" title="use_compact_thrift_rpc的直接链接"></a></h4><p>默认值:true</p><p>是否使用压缩格式发送查询计划结构体。开启后,可以降低约50%的查询计划结构体大小,从而避免一些 &quot;send fragment timeout&quot; 错误。
但是在某些高并发小查询场景下,可能会降低约10%的并发度。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="grpc_max_message_size_bytes"><code>grpc_max_message_size_bytes</code><a href="#grpc_max_message_size_bytes" class="hash-link" aria-label="grpc_max_message_size_bytes的直接链接" title="grpc_max_message_size_bytes的直接链接"></a></h4><p>默认值:1G</p><p>用于设置 GRPC 客户端通道的初始流窗口大小,也用于设置最大消息大小。当结果集较大时,可能需要增大该值。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_mysql_service_task_threads_num"><code>max_mysql_service_task_threads_num</code><a href="#max_mysql_service_task_threads_num" class="hash-link" aria-label="max_mysql_service_task_threads_num的直接链接" title="max_mysql_service_task_threads_num的直接链接"></a></h4><p>默认值:4096</p><p>mysql 中处理任务的最大线程数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="mysql_service_io_threads_num"><code>mysql_service_io_threads_num</code><a href="#mysql_service_io_threads_num" class="hash-link" aria-label="mysql_service_io_threads_num的直接链接" title="mysql_service_io_threads_num的直接链接"></a></h4><p>默认值:4</p><p>mysql 中处理 io 事件的线程数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="mysql_nio_backlog_num"><code>mysql_nio_backlog_num</code><a href="#mysql_nio_backlog_num" class="hash-link" aria-label="mysql_nio_backlog_num的直接链接" title="mysql_nio_backlog_num的直接链接"></a></h4><p>默认值:1024</p><p>mysql nio server 的 backlog_num 当你放大这个 backlog_num 时,你应该同时放大 linux <code>/proc/sys/net/core/somaxconn</code>文件中的值</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="broker_timeout_ms"><code>broker_timeout_ms</code><a href="#broker_timeout_ms" class="hash-link" aria-label="broker_timeout_ms的直接链接" title="broker_timeout_ms的直接链接"></a></h4><p>默认值:10000 (10秒)</p><p>Broker rpc 的默认超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="backend_rpc_timeout_ms"><code>backend_rpc_timeout_ms</code><a href="#backend_rpc_timeout_ms" class="hash-link" aria-label="backend_rpc_timeout_ms的直接链接" title="backend_rpc_timeout_ms的直接链接"></a></h4><p>FE向BE的BackendService发送rpc请求时的超时时间,单位:毫秒。</p><p>默认值:60000</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="drop_backend_after_decommission"><code>drop_backend_after_decommission</code><a href="#drop_backend_after_decommission" class="hash-link" aria-label="drop_backend_after_decommission的直接链接" title="drop_backend_after_decommission的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>该配置用于控制系统在成功下线(Decommission) BE 后,是否 Drop 该 BE。如果为 true,则在 BE 成功下线后,会删除掉该 BE 节点。如果为 false,则在 BE 成功下线后,该 BE 会一直处于 DECOMMISSION 状态,但不会被删除。</p><p>该配置在某些场景下可以发挥作用。假设一个 Doris 集群的初始状态为每个 BE 节点有一块磁盘。运行一段时间后,系统进行了纵向扩容,即每个 BE 节点新增2块磁盘。因为 Doris 当前还不支持 BE 内部各磁盘间的数据均衡,所以会导致初始磁盘的数据量可能一直远高于新增磁盘的数据量。此时我们可以通过以下操作进行人工的磁盘间均衡:</p><ol><li>将该配置项置为 false。</li><li>对某一个 BE 节点,执行 decommission 操作,该操作会将该 BE 上的数据全部迁移到其他节点中。</li><li>decommission 操作完成后,该 BE 不会被删除。此时,取消掉该 BE 的 decommission 状态。则数据会开始从其他 BE 节点均衡回这个节点。此时,数据将会均匀的分布到该 BE 的所有磁盘上。</li><li>对所有 BE 节点依次执行 2,3 两个步骤,最终达到所有节点磁盘均衡的目的。</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_backend_down_time_second"><code>max_backend_down_time_second</code><a href="#max_backend_down_time_second" class="hash-link" aria-label="max_backend_down_time_second的直接链接" title="max_backend_down_time_second的直接链接"></a></h4><p>默认值:3600 (1小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果 BE 关闭了 <code>max_backend_down_time_second</code>,将触发 BACKEND_DOWN 事件。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_backend_black_list"><code>disable_backend_black_list</code><a href="#disable_backend_black_list" class="hash-link" aria-label="disable_backend_black_list的直接链接" title="disable_backend_black_list的直接链接"></a></h4><p>用于禁止BE黑名单功能。禁止该功能后,如果向BE发送查询请求失败,也不会将这个BE添加到黑名单。
该参数适用于回归测试环境,以减少偶发的错误导致大量回归测试失败。</p><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_backend_heartbeat_failure_tolerance_count"><code>max_backend_heartbeat_failure_tolerance_count</code><a href="#max_backend_heartbeat_failure_tolerance_count" class="hash-link" aria-label="max_backend_heartbeat_failure_tolerance_count的直接链接" title="max_backend_heartbeat_failure_tolerance_count的直接链接"></a></h4><p>最大可容忍的BE节点心跳失败次数。如果连续心跳失败次数超过这个值,则会将BE状态置为 dead。
该参数适用于回归测试环境,以减少偶发的心跳失败导致大量回归测试失败。</p><p>默认值:1</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_access_file_without_broker"><code>enable_access_file_without_broker</code><a href="#enable_access_file_without_broker" class="hash-link" aria-label="enable_access_file_without_broker的直接链接" title="enable_access_file_without_broker的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>此配置用于在通过代理访问 bos 或其他云存储时尝试跳过代理</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="agent_task_resend_wait_time_ms"><code>agent_task_resend_wait_time_ms</code><a href="#agent_task_resend_wait_time_ms" class="hash-link" aria-label="agent_task_resend_wait_time_ms的直接链接" title="agent_task_resend_wait_time_ms的直接链接"></a></h4><p>默认值:5000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>当代理任务的创建时间被设置的时候,此配置将决定是否重新发送代理任务, 当且仅当当前时间减去创建时间大于 <code>agent_task_task_resend_wait_time_ms</code> 时,ReportHandler可以重新发送代理任务。</p><p>该配置目前主要用来解决 <code>PUBLISH_VERSION</code> 代理任务的重复发送问题, 目前该配置的默认值是5000,是个实验值。</p><p>由于把代理任务提交到代理任务队列和提交到 BE 存在一定的时间延迟,所以调大该配置的值可以有效解决代理任务的重复发送问题,</p><p>但同时会导致提交失败或者执行失败的代理任务再次被执行的时间延长。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_agent_task_threads_num"><code>max_agent_task_threads_num</code><a href="#max_agent_task_threads_num" class="hash-link" aria-label="max_agent_task_threads_num的直接链接" title="max_agent_task_threads_num的直接链接"></a></h4><p>默认值:4096</p><p>是否为 Master FE 节点独有的配置项:true</p><p>代理任务线程池中处理代理任务的最大线程数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="remote_fragment_exec_timeout_ms"><code>remote_fragment_exec_timeout_ms</code><a href="#remote_fragment_exec_timeout_ms" class="hash-link" aria-label="remote_fragment_exec_timeout_ms的直接链接" title="remote_fragment_exec_timeout_ms的直接链接"></a></h4><p>默认值:5000 (ms)</p><p>是否可以动态配置:true</p><p>异步执行远程 fragment 的超时时间。 在正常情况下,异步远程 fragment 将在短时间内执行。 如果系统处于高负载状态,请尝试将此超时设置更长的时间。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="auth_token"><code>auth_token</code><a href="#auth_token" class="hash-link" aria-label="auth_token的直接链接" title="auth_token的直接链接"></a></h4><p>默认值:空</p><p>用于内部身份验证的集群令牌。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_http_server_v2"><code>enable_http_server_v2</code><a href="#enable_http_server_v2" class="hash-link" aria-label="enable_http_server_v2的直接链接" title="enable_http_server_v2的直接链接"></a></h4><p>默认值:从官方 0.14.0 release 版之后默认是 true,之前默认 false</p><p>HTTP Server V2 由 SpringBoot 实现, 并采用前后端分离的架构。只有启用 httpv2,用户才能使用新的前端 UI 界面</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="http_api_extra_base_path"><code>http_api_extra_base_path</code><a href="#http_api_extra_base_path" class="hash-link" aria-label="http_api_extra_base_path的直接链接" title="http_api_extra_base_path的直接链接"></a></h4><p>基本路径是所有 API 路径的 URL 前缀。
一些部署环境需要配置额外的基本路径来匹配资源。
此 Api 将返回在 Config.http_api_extra_base_path 中配置的路径。
默认为空,表示未设置。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jetty_server_acceptors"><code>jetty_server_acceptors</code><a href="#jetty_server_acceptors" class="hash-link" aria-label="jetty_server_acceptors的直接链接" title="jetty_server_acceptors的直接链接"></a></h4><p>默认值:2</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jetty_server_selectors"><code>jetty_server_selectors</code><a href="#jetty_server_selectors" class="hash-link" aria-label="jetty_server_selectors的直接链接" title="jetty_server_selectors的直接链接"></a></h4><p>默认值:4</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jetty_server_workers"><code>jetty_server_workers</code><a href="#jetty_server_workers" class="hash-link" aria-label="jetty_server_workers的直接链接" title="jetty_server_workers的直接链接"></a></h4><p>默认值:0</p><p>Jetty 的线程数量由以上三个参数控制。Jetty的线程架构模型非常简单,分为 acceptors、selectors 和 workers 三个线程池。acceptors 负责接受新连接,然后交给 selectors 处理HTTP消息协议的解包,最后由 workers 处理请求。前两个线程池采用非阻塞模型,一个线程可以处理很多 socket 的读写,所以线程池数量较小。</p><p>大多数项目,acceptors 线程只需要1~2个,selectors 线程配置2~4个足矣。workers 是阻塞性的业务逻辑,往往有较多的数据库操作,需要的线程数量较多,具体数量随应用程序的 QPS 和 IO 事件占比而定。QPS 越高,需要的线程数量越多,IO 占比越高,等待的线程数越多,需要的总线程数也越多。</p><p>workers 线程池默认不做设置,根据自己需要进行设置</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jetty_server_max_http_post_size"><code>jetty_server_max_http_post_size</code><a href="#jetty_server_max_http_post_size" class="hash-link" aria-label="jetty_server_max_http_post_size的直接链接" title="jetty_server_max_http_post_size的直接链接"></a></h4><p>默认值:<code>100 * 1024 * 1024</code> (100MB)</p><p>这个是 put 或 post 方法上传文件的最大字节数,默认值:100MB</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jetty_server_max_http_header_size"><code>jetty_server_max_http_header_size</code><a href="#jetty_server_max_http_header_size" class="hash-link" aria-label="jetty_server_max_http_header_size的直接链接" title="jetty_server_max_http_header_size的直接链接"></a></h4><p>默认值:10240 (10K)</p><p>http header size 配置参数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_tracing"><code>enable_tracing</code><a href="#enable_tracing" class="hash-link" aria-label="enable_tracing的直接链接" title="enable_tracing的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>是否开启链路追踪</p><p>如果启用此配置,您还应该指定 trace_export_url。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="trace_exporter"><code>trace_exporter</code><a href="#trace_exporter" class="hash-link" aria-label="trace_exporter的直接链接" title="trace_exporter的直接链接"></a></h4><p>默认值:zipkin</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>当前支持导出的链路追踪:
zipkin:直接将trace导出到zipkin,用于快速开启tracing特性。
collector:collector可用于接收和处理traces,支持导出到多种第三方系统
如果启用此配置,您还应该指定 enable_tracing=true 和 trace_export_url。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="trace_export_url"><code>trace_export_url</code><a href="#trace_export_url" class="hash-link" aria-label="trace_export_url的直接链接" title="trace_export_url的直接链接"></a></h4><p>默认值:<code>http://127.0.0.1:9411/api/v2/spans</code></p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>trace导出到 zipkin: <code>http://127.0.0.1:9411/api/v2/spans</code></p><p>trace导出到 collector: <code>http://127.0.0.1:4318/v1/traces</code></p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="http_sql_submitter_max_worker_threads"><code>http_sql_submitter_max_worker_threads</code><a href="#http_sql_submitter_max_worker_threads" class="hash-link" aria-label="http_sql_submitter_max_worker_threads的直接链接" title="http_sql_submitter_max_worker_threads的直接链接"></a></h4><p>默认值:2</p><p>http请求处理/api/query中sql任务的最大线程池</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="http_load_submitter_max_worker_threads"><code>http_load_submitter_max_worker_threads</code><a href="#http_load_submitter_max_worker_threads" class="hash-link" aria-label="http_load_submitter_max_worker_threads的直接链接" title="http_load_submitter_max_worker_threads的直接链接"></a></h4><p>默认值:2</p><p>http请求处理/api/upload任务的最大线程池</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="查询引擎">查询引擎<a href="#查询引擎" class="hash-link" aria-label="查询引擎的直接链接" title="查询引擎的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_max_query_instances"><code>default_max_query_instances</code><a href="#default_max_query_instances" class="hash-link" aria-label="default_max_query_instances的直接链接" title="default_max_query_instances的直接链接"></a></h4><p>默认值:-1</p><p>用户属性max_query_instances小于等于0时,使用该配置,用来限制单个用户同一时刻可使用的查询instance个数。该参数小于等于0表示无限制。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_query_retry_time"><code>max_query_retry_time</code><a href="#max_query_retry_time" class="hash-link" aria-label="max_query_retry_time的直接链接" title="max_query_retry_time的直接链接"></a></h4><p>默认值:1</p><p>是否可以动态配置:true</p><p>查询重试次数。 如果我们遇到 RPC 异常并且没有将结果发送给用户,则可能会重试查询。 您可以减少此数字以避免雪崩灾难。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_dynamic_partition_num"><code>max_dynamic_partition_num</code><a href="#max_dynamic_partition_num" class="hash-link" aria-label="max_dynamic_partition_num的直接链接" title="max_dynamic_partition_num的直接链接"></a></h4><p>默认值:500</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于限制创建动态分区表时可以创建的最大分区数,避免一次创建过多分区。 数量由动态分区参数中的“开始”和“结束”决定。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dynamic_partition_enable"><code>dynamic_partition_enable</code><a href="#dynamic_partition_enable" class="hash-link" aria-label="dynamic_partition_enable的直接链接" title="dynamic_partition_enable的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否启用动态分区调度,默认启用</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dynamic_partition_check_interval_seconds"><code>dynamic_partition_check_interval_seconds</code><a href="#dynamic_partition_check_interval_seconds" class="hash-link" aria-label="dynamic_partition_check_interval_seconds的直接链接" title="dynamic_partition_check_interval_seconds的直接链接"></a></h4><p>默认值:600秒,10分钟</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>检查动态分区的频率</p><span class="version-mark paragraph"><span class="v-mark"><span class="version-tags"><span class="version-tag"><span class="version-tag-t">Since</span><span class="version-tag-n since">Version <!-- -->1.2.0</span></span></span></span><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_multi_partition_num"><code>max_multi_partition_num</code><a href="#max_multi_partition_num" class="hash-link" aria-label="max_multi_partition_num的直接链接" title="max_multi_partition_num的直接链接"></a></h4><p>默认值:4096</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于限制批量创建分区表时可以创建的最大分区数,避免一次创建过多分区。</p></span><h4 class="anchor anchorWithStickyNavbar_LWe7" id="partition_in_memory_update_interval_secs"><code>partition_in_memory_update_interval_secs</code><a href="#partition_in_memory_update_interval_secs" class="hash-link" aria-label="partition_in_memory_update_interval_secs的直接链接" title="partition_in_memory_update_interval_secs的直接链接"></a></h4><p>默认值:300 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>更新内存中全局分区信息的时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_concurrent_update"><code>enable_concurrent_update</code><a href="#enable_concurrent_update" class="hash-link" aria-label="enable_concurrent_update的直接链接" title="enable_concurrent_update的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否启用并发更新</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="lower_case_table_names"><code>lower_case_table_names</code><a href="#lower_case_table_names" class="hash-link" aria-label="lower_case_table_names的直接链接" title="lower_case_table_names的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于控制用户表表名大小写是否敏感。
该配置只能在集群初始化时配置,初始化完成后集群重启和升级时不能修改。</p><p>0:表名按指定存储,比较区分大小写。
1:表名以小写形式存储,比较不区分大小写。
2:表名按指定存储,但以小写形式进行比较。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="table_name_length_limit"><code>table_name_length_limit</code><a href="#table_name_length_limit" class="hash-link" aria-label="table_name_length_limit的直接链接" title="table_name_length_limit的直接链接"></a></h4><p>默认值:64</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于控制最大的表名长度</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="cache_enable_sql_mode"><code>cache_enable_sql_mode</code><a href="#cache_enable_sql_mode" class="hash-link" aria-label="cache_enable_sql_mode的直接链接" title="cache_enable_sql_mode的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>如果设置为 true,SQL 查询结果集将被缓存。如果查询中所有表的所有分区最后一次访问版本时间的间隔大于cache_last_version_interval_second,且结果集小于cache_result_max_row_count,则结果集会被缓存,下一条相同的SQL会命中缓存</p><p>如果设置为 true,FE 会启用 sql 结果缓存,该选项适用于离线数据更新场景</p><table><thead><tr><th></th><th>case1</th><th>case2</th><th>case3</th><th>case4</th></tr></thead><tbody><tr><td>enable_sql_cache</td><td>false</td><td>true</td><td>true</td><td>false</td></tr><tr><td>enable_partition_cache</td><td>false</td><td>false</td><td>true</td><td>true</td></tr></tbody></table><h4 class="anchor anchorWithStickyNavbar_LWe7" id="cache_enable_partition_mode"><code>cache_enable_partition_mode</code><a href="#cache_enable_partition_mode" class="hash-link" aria-label="cache_enable_partition_mode的直接链接" title="cache_enable_partition_mode的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>如果设置为 true,FE 将从 BE cache 中获取数据,该选项适用于部分分区的实时更新。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="cache_result_max_row_count"><code>cache_result_max_row_count</code><a href="#cache_result_max_row_count" class="hash-link" aria-label="cache_result_max_row_count的直接链接" title="cache_result_max_row_count的直接链接"></a></h4><p>默认值:3000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>设置可以缓存的最大行数,详细的原理可以参考官方文档:操作手册-&gt;分区缓存</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="cache_last_version_interval_second"><code>cache_last_version_interval_second</code><a href="#cache_last_version_interval_second" class="hash-link" aria-label="cache_last_version_interval_second的直接链接" title="cache_last_version_interval_second的直接链接"></a></h4><p>默认值:900</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>缓存结果时上一版本的最小间隔,该参数区分离线更新和实时更新</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_batch_delete_by_default"><code>enable_batch_delete_by_default</code><a href="#enable_batch_delete_by_default" class="hash-link" aria-label="enable_batch_delete_by_default的直接链接" title="enable_batch_delete_by_default的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>创建唯一表时是否添加删除标志列,具体原理参照官方文档:操作手册-&gt;数据导入-&gt;批量删除</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_allowed_in_element_num_of_delete"><code>max_allowed_in_element_num_of_delete</code><a href="#max_allowed_in_element_num_of_delete" class="hash-link" aria-label="max_allowed_in_element_num_of_delete的直接链接" title="max_allowed_in_element_num_of_delete的直接链接"></a></h4><p>默认值:1024</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于限制 delete 语句中 Predicate 的元素个数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_running_rollup_job_num_per_table"><code>max_running_rollup_job_num_per_table</code><a href="#max_running_rollup_job_num_per_table" class="hash-link" aria-label="max_running_rollup_job_num_per_table的直接链接" title="max_running_rollup_job_num_per_table的直接链接"></a></h4><p>默认值:1</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>控制 Rollup 作业并发限制</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_distribution_pruner_recursion_depth"><code>max_distribution_pruner_recursion_depth</code><a href="#max_distribution_pruner_recursion_depth" class="hash-link" aria-label="max_distribution_pruner_recursion_depth的直接链接" title="max_distribution_pruner_recursion_depth的直接链接"></a></h4><p>默认值:100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>这将限制哈希分布修剪器的最大递归深度。 例如:其中 a in(5 个元素)和 b in(4 个元素)和 c in(3 个元素)和 d in(2 个元素)。 a/b/c/d 是分布式列,所以递归深度为 5 <em> 4 </em> 3 * 2 = 120,大于 100, 因此该分发修剪器将不起作用,只会返回所有 buckets。 增加深度可以支持更多元素的分布修剪,但可能会消耗更多的 CPU</p><p>通过 <code>ADMIN SHOW FRONTEND CONFIG;</code> 可以查看到该配置项可以动态配置(<code>IsMutable</code> 为 true)。并且不是 Master FE 独有配置。</p><p>同样,我们可以通过动态修改配置的命令修改该配置。因为该配置不是 Master FE 独有配置,所以需要单独连接到不同的 FE,进行动态修改配置的操作,这样才能保证所有 FE 都使用了修改后的配置值</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_local_replica_selection"><code>enable_local_replica_selection</code><a href="#enable_local_replica_selection" class="hash-link" aria-label="enable_local_replica_selection的直接链接" title="enable_local_replica_selection的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>如果设置为 true,Planner 将尝试在与此前端相同的主机上选择 tablet 的副本。
在以下情况下,这可能会减少网络传输:</p><ol><li><p>N 个主机,部署了 N 个 BE 和 N 个 FE。</p></li><li><p>数据有N个副本。</p></li><li><p>高并发查询均匀发送到所有 Frontends</p></li></ol><p>在这种情况下,所有 Frontends 只能使用本地副本进行查询。如果想当本地副本不可用时,使用非本地副本服务查询,请将 enable_local_replica_selection_fallback 设置为 true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_local_replica_selection_fallback"><code>enable_local_replica_selection_fallback</code><a href="#enable_local_replica_selection_fallback" class="hash-link" aria-label="enable_local_replica_selection_fallback的直接链接" title="enable_local_replica_selection_fallback的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>与 enable_local_replica_selection 配合使用,当本地副本不可用时,使用非本地副本服务查询。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="expr_depth_limit"><code>expr_depth_limit</code><a href="#expr_depth_limit" class="hash-link" aria-label="expr_depth_limit的直接链接" title="expr_depth_limit的直接链接"></a></h4><p>默认值:3000</p><p>是否可以动态配置:true</p><p>限制 expr 树的深度。 超过此限制可能会导致在持有 db read lock 时分析时间过长。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="expr_children_limit"><code>expr_children_limit</code><a href="#expr_children_limit" class="hash-link" aria-label="expr_children_limit的直接链接" title="expr_children_limit的直接链接"></a></h4><p>默认值:10000</p><p>是否可以动态配置:true</p><p>限制 expr 树的 expr 子节点的数量。 超过此限制可能会导致在持有数据库读锁时分析时间过长。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="be_exec_version"><code>be_exec_version</code><a href="#be_exec_version" class="hash-link" aria-label="be_exec_version的直接链接" title="be_exec_version的直接链接"></a></h4><p>用于定义fragment之间传递block的序列化格式。</p><p>有时我们的一些代码改动会改变block的数据格式,为了使得BE在滚动升级的过程中能够相互兼容数据格式,我们需要从FE下发一个数据版本来决定以什么格式发送数据。</p><p>具体的来说,例如集群中有2个BE,其中一台经过升级能够支持最新的$v_1$,而另一台只支持$v_0$,此时由于FE还未升级,所以统一下发$v_0$,BE之间以旧的数据格式进行交互。待BE都升级完成,我们再升级FE,此时新的FE会下发$v_1$,集群统一切换到新的数据格式。</p><p>默认值为<code>max_be_exec_version</code>,如果有特殊需要,我们可以手动设置将格式版本降低,但不应低于<code>min_be_exec_version</code></p><p>需要注意的是,我们应该始终保持该变量的值处于<strong>所有</strong>BE的<code>BeExecVersionManager::min_be_exec_version</code><code>BeExecVersionManager::max_be_exec_version</code>之间。(也就是说如果一个已经完成更新的集群如果需要降级,应该保证先降级FE再降级BE的顺序,或者手动在设置中将该变量调低再降级BE)</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_be_exec_version"><code>max_be_exec_version</code><a href="#max_be_exec_version" class="hash-link" aria-label="max_be_exec_version的直接链接" title="max_be_exec_version的直接链接"></a></h4><p>目前支持的最新数据版本,不可修改,应与配套版本的BE中的<code>BeExecVersionManager::max_be_exec_version</code>一致。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_be_exec_version"><code>min_be_exec_version</code><a href="#min_be_exec_version" class="hash-link" aria-label="min_be_exec_version的直接链接" title="min_be_exec_version的直接链接"></a></h4><p>目前支持的最旧数据版本,不可修改,应与配套版本的BE中的<code>BeExecVersionManager::min_be_exec_version</code>一致。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_query_profile_num"><code>max_query_profile_num</code><a href="#max_query_profile_num" class="hash-link" aria-label="max_query_profile_num的直接链接" title="max_query_profile_num的直接链接"></a></h4><p>用于设置保存查询的 profile 的最大个数。</p><p>默认值:100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="publish_version_interval_ms"><code>publish_version_interval_ms</code><a href="#publish_version_interval_ms" class="hash-link" aria-label="publish_version_interval_ms的直接链接" title="publish_version_interval_ms的直接链接"></a></h4><p>默认值:10 (ms)</p><p>两个发布版本操作之间的最小间隔</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="publish_version_timeout_second"><code>publish_version_timeout_second</code><a href="#publish_version_timeout_second" class="hash-link" aria-label="publish_version_timeout_second的直接链接" title="publish_version_timeout_second的直接链接"></a></h4><p>默认值:30 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>一个事务的所有发布版本任务完成的最大等待时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="query_colocate_join_memory_limit_penalty_factor"><code>query_colocate_join_memory_limit_penalty_factor</code><a href="#query_colocate_join_memory_limit_penalty_factor" class="hash-link" aria-label="query_colocate_join_memory_limit_penalty_factor的直接链接" title="query_colocate_join_memory_limit_penalty_factor的直接链接"></a></h4><p>默认值:1</p><p>是否可以动态配置:true</p><p>colocate join PlanFragment instance 的 memory_limit = exec_mem_limit / min (query_colocate_join_memory_limit_penalty_factor, instance_num)</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="rewrite_count_distinct_to_bitmap_hll"><code>rewrite_count_distinct_to_bitmap_hll</code><a href="#rewrite_count_distinct_to_bitmap_hll" class="hash-link" aria-label="rewrite_count_distinct_to_bitmap_hll的直接链接" title="rewrite_count_distinct_to_bitmap_hll的直接链接"></a></h4><p>默认值:true</p><p>该变量为 session variable,session 级别生效。</p><ul><li>类型:boolean</li><li>描述:<strong>仅对于 AGG 模型的表来说</strong>,当变量为 true 时,用户查询时包含 count(distinct c1) 这类聚合函数时,如果 c1 列本身类型为 bitmap,则 count distnct 会改写为 bitmap_union_count(c1)。 当 c1 列本身类型为 hll,则 count distinct 会改写为 hll_union_agg(c1) 如果变量为 false,则不发生任何改写。</li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="导入与导出">导入与导出<a href="#导入与导出" class="hash-link" aria-label="导入与导出的直接链接" title="导入与导出的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_vectorized_load"><code>enable_vectorized_load</code><a href="#enable_vectorized_load" class="hash-link" aria-label="enable_vectorized_load的直接链接" title="enable_vectorized_load的直接链接"></a></h4><p>默认值:true</p><p>是否开启向量化导入</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_new_load_scan_node"><code>enable_new_load_scan_node</code><a href="#enable_new_load_scan_node" class="hash-link" aria-label="enable_new_load_scan_node的直接链接" title="enable_new_load_scan_node的直接链接"></a></h4><p>默认值:true</p><p>是否开启新的 file scan node</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_max_filter_ratio"><code>default_max_filter_ratio</code><a href="#default_max_filter_ratio" class="hash-link" aria-label="default_max_filter_ratio的直接链接" title="default_max_filter_ratio的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>可过滤数据(由于数据不规则等原因)的最大百分比。默认值为0,表示严格模式,只要数据有一条被过滤掉整个导入失败</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_running_txn_num_per_db"><code>max_running_txn_num_per_db</code><a href="#max_running_txn_num_per_db" class="hash-link" aria-label="max_running_txn_num_per_db的直接链接" title="max_running_txn_num_per_db的直接链接"></a></h4><p>默认值:1000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>这个配置主要是用来控制同一个 DB 的并发导入个数的。</p><p>当集群中有过多的导入任务正在运行时,新提交的导入任务可能会报错:</p><div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">current running txns on db xxx is xx, larger than limit xx</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>该遇到该错误时,说明当前集群内正在运行的导入任务超过了该配置值。此时建议在业务侧进行等待并重试导入任务。</p><p>如果使用Connector方式写入,该参数的值可以适当调大,上千也没有问题</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="using_old_load_usage_pattern"><code>using_old_load_usage_pattern</code><a href="#using_old_load_usage_pattern" class="hash-link" aria-label="using_old_load_usage_pattern的直接链接" title="using_old_load_usage_pattern的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,处理错误的 insert stmt 仍将返回一个标签给用户。 用户可以使用此标签来检查导入作业的状态。 默认值为 false,表示插入操作遇到错误,不带导入标签,直接抛出异常给用户客户端。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_load_job"><code>disable_load_job</code><a href="#disable_load_job" class="hash-link" aria-label="disable_load_job的直接链接" title="disable_load_job的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>不禁用,如果这设置为 true</p><ul><li>调用开始 txn api 时,所有挂起的导入作业都将失败</li><li>调用 commit txn api 时,所有准备导入作业都将失败</li><li>所有提交的导入作业将等待发布</li></ul><h4 class="anchor anchorWithStickyNavbar_LWe7" id="commit_timeout_second"><code>commit_timeout_second</code><a href="#commit_timeout_second" class="hash-link" aria-label="commit_timeout_second的直接链接" title="commit_timeout_second的直接链接"></a></h4><p>默认值:30</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>在提交一个事务之前插入所有数据的最大等待时间
这是命令“commit”的超时秒数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_unfinished_load_job"><code>max_unfinished_load_job</code><a href="#max_unfinished_load_job" class="hash-link" aria-label="max_unfinished_load_job的直接链接" title="max_unfinished_load_job的直接链接"></a></h4><p>默认值:1000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>最大加载任务数,包括 PENDING、ETL、LOADING、QUORUM_FINISHED。 如果超过此数量,则不允许提交导入作业。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="db_used_data_quota_update_interval_secs"><code>db_used_data_quota_update_interval_secs</code><a href="#db_used_data_quota_update_interval_secs" class="hash-link" aria-label="db_used_data_quota_update_interval_secs的直接链接" title="db_used_data_quota_update_interval_secs的直接链接"></a></h4><p>默认值:300 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>一个主守护线程将每 <code>db_used_data_quota_update_interval_secs</code> 更新数据库 txn 管理器的数据库使用数据配额</p><p>为了更好的数据导入性能,在数据导入之前的数据库已使用的数据量是否超出配额的检查中,我们并不实时计算数据库已经使用的数据量,而是获取后台线程周期性更新的值。</p><p>该配置用于设置更新数据库使用的数据量的值的时间间隔</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_show_stream_load"><code>disable_show_stream_load</code><a href="#disable_show_stream_load" class="hash-link" aria-label="disable_show_stream_load的直接链接" title="disable_show_stream_load的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否禁用显示 stream load 并清除内存中的 stream load 记录。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_stream_load_record_size"><code>max_stream_load_record_size</code><a href="#max_stream_load_record_size" class="hash-link" aria-label="max_stream_load_record_size的直接链接" title="max_stream_load_record_size的直接链接"></a></h4><p>默认值:5000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>可以存储在内存中的最近 stream load 记录的默认最大数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="fetch_stream_load_record_interval_second"><code>fetch_stream_load_record_interval_second</code><a href="#fetch_stream_load_record_interval_second" class="hash-link" aria-label="fetch_stream_load_record_interval_second的直接链接" title="fetch_stream_load_record_interval_second的直接链接"></a></h4><p>默认值:120</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>获取 stream load 记录间隔</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_bytes_per_broker_scanner"><code>max_bytes_per_broker_scanner</code><a href="#max_bytes_per_broker_scanner" class="hash-link" aria-label="max_bytes_per_broker_scanner的直接链接" title="max_bytes_per_broker_scanner的直接链接"></a></h4><p>默认值:3 <em> 1024 </em> 1024 * 1024L (3G)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>broker scanner 程序可以在一个 broker 加载作业中处理的最大字节数。 通常,每个 BE 都有一个 broker scanner 程序。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_load_parallelism"><code>default_load_parallelism</code><a href="#default_load_parallelism" class="hash-link" aria-label="default_load_parallelism的直接链接" title="default_load_parallelism的直接链接"></a></h4><p>默认值:1</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>单个节点broker load导入的默认并发度。
如果用户在提交broker load任务时,在properties中自行指定了并发度,则采用用户自定义的并发度。
此参数将与<code>max_broker_concurrency</code><code>min_bytes_per_broker_scanner</code>等多个配置共同决定导入任务的并发度。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_broker_concurrency"><code>max_broker_concurrency</code><a href="#max_broker_concurrency" class="hash-link" aria-label="max_broker_concurrency的直接链接" title="max_broker_concurrency的直接链接"></a></h4><p>默认值:10</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>broker scanner 的最大并发数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_bytes_per_broker_scanner"><code>min_bytes_per_broker_scanner</code><a href="#min_bytes_per_broker_scanner" class="hash-link" aria-label="min_bytes_per_broker_scanner的直接链接" title="min_bytes_per_broker_scanner的直接链接"></a></h4><p>默认值:67108864L (64M)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>单个 broker scanner 将读取的最小字节数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="period_of_auto_resume_min"><code>period_of_auto_resume_min</code><a href="#period_of_auto_resume_min" class="hash-link" aria-label="period_of_auto_resume_min的直接链接" title="period_of_auto_resume_min的直接链接"></a></h4><p>默认值:5 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>自动恢复 Routine load 的周期</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_tolerable_backend_down_num"><code>max_tolerable_backend_down_num</code><a href="#max_tolerable_backend_down_num" class="hash-link" aria-label="max_tolerable_backend_down_num的直接链接" title="max_tolerable_backend_down_num的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>只要有一个BE宕机,Routine Load 就无法自动恢复</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_routine_load_task_num_per_be"><code>max_routine_load_task_num_per_be</code><a href="#max_routine_load_task_num_per_be" class="hash-link" aria-label="max_routine_load_task_num_per_be的直接链接" title="max_routine_load_task_num_per_be的直接链接"></a></h4><p>默认值:5</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>每个 BE 的最大并发例 Routine Load 任务数。 这是为了限制发送到 BE 的 Routine Load 任务的数量,并且它也应该小于 BE config <code>routine_load_thread_pool_size</code>(默认 10),这是 BE 上的 Routine Load 任务线程池大小。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_routine_load_task_concurrent_num"><code>max_routine_load_task_concurrent_num</code><a href="#max_routine_load_task_concurrent_num" class="hash-link" aria-label="max_routine_load_task_concurrent_num的直接链接" title="max_routine_load_task_concurrent_num的直接链接"></a></h4><p>默认值:5</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>单个 Routine Load 作业的最大并发任务数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_routine_load_job_num"><code>max_routine_load_job_num</code><a href="#max_routine_load_job_num" class="hash-link" aria-label="max_routine_load_job_num的直接链接" title="max_routine_load_job_num的直接链接"></a></h4><p>默认值:100</p><p>最大 Routine Load 作业数,包括 NEED_SCHEDULED, RUNNING, PAUSE</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="desired_max_waiting_jobs"><code>desired_max_waiting_jobs</code><a href="#desired_max_waiting_jobs" class="hash-link" aria-label="desired_max_waiting_jobs的直接链接" title="desired_max_waiting_jobs的直接链接"></a></h4><p>默认值:100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>routine load V2 版本加载的默认等待作业数 ,这是一个理想的数字。 在某些情况下,例如切换 master,当前数量可能超过<code> desired_max_waiting_jobs</code></p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_hadoop_load"><code>disable_hadoop_load</code><a href="#disable_hadoop_load" class="hash-link" aria-label="disable_hadoop_load的直接链接" title="disable_hadoop_load的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认不禁用,将来不推荐使用 hadoop 集群 load。 设置为 true 以禁用这种 load 方式。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_spark_load"><code>enable_spark_load</code><a href="#enable_spark_load" class="hash-link" aria-label="enable_spark_load的直接链接" title="enable_spark_load的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否临时启用 spark load,默认不启用</p><p><strong>注意:</strong> 这个参数在1.2版本中已经删除,默认开启spark_load</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_load_checker_interval_second"><code>spark_load_checker_interval_second</code><a href="#spark_load_checker_interval_second" class="hash-link" aria-label="spark_load_checker_interval_second的直接链接" title="spark_load_checker_interval_second的直接链接"></a></h4><p>默认值:60</p><p>Spark 负载调度程序运行间隔,默认 60 秒</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="async_loading_load_task_pool_size"><code>async_loading_load_task_pool_size</code><a href="#async_loading_load_task_pool_size" class="hash-link" aria-label="async_loading_load_task_pool_size的直接链接" title="async_loading_load_task_pool_size的直接链接"></a></h4><p>默认值:10</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>loading_load</code>任务执行程序池大小。 该池大小限制了正在运行的最大 <code>loading_load</code>任务数。</p><p>当前,它仅限制 <code>broker load</code><code>loading_load</code>任务的数量。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="async_pending_load_task_pool_size"><code>async_pending_load_task_pool_size</code><a href="#async_pending_load_task_pool_size" class="hash-link" aria-label="async_pending_load_task_pool_size的直接链接" title="async_pending_load_task_pool_size的直接链接"></a></h4><p>默认值:10</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>pending_load</code>任务执行程序池大小。 该池大小限制了正在运行的最大 <code>pending_load</code>任务数。</p><p>当前,它仅限制 <code>broker load</code><code>spark load</code><code>pending_load</code>任务的数量。</p><p>它应该小于 <code>max_running_txn_num_per_db</code>的值</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="async_load_task_pool_size"><code>async_load_task_pool_size</code><a href="#async_load_task_pool_size" class="hash-link" aria-label="async_load_task_pool_size的直接链接" title="async_load_task_pool_size的直接链接"></a></h4><p>默认值:10</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:true</p><p>此配置只是为了兼容旧版本,此配置已被 <code>async_loading_load_task_pool_size</code>取代,以后会被移除。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_single_replica_load"><code>enable_single_replica_load</code><a href="#enable_single_replica_load" class="hash-link" aria-label="enable_single_replica_load的直接链接" title="enable_single_replica_load的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否启动单副本数据导入功能。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_load_timeout_second"><code>min_load_timeout_second</code><a href="#min_load_timeout_second" class="hash-link" aria-label="min_load_timeout_second的直接链接" title="min_load_timeout_second的直接链接"></a></h4><p>默认值:1 (1秒)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>最小超时时间,适用于所有类型的load</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_stream_load_timeout_second"><code>max_stream_load_timeout_second</code><a href="#max_stream_load_timeout_second" class="hash-link" aria-label="max_stream_load_timeout_second的直接链接" title="max_stream_load_timeout_second的直接链接"></a></h4><p>默认值:259200 (3天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>stream load 和 mini load 最大超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_load_timeout_second"><code>max_load_timeout_second</code><a href="#max_load_timeout_second" class="hash-link" aria-label="max_load_timeout_second的直接链接" title="max_load_timeout_second的直接链接"></a></h4><p>默认值:259200 (3天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>load 最大超时时间,适用于除 stream load 之外的所有类型的加载</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="stream_load_default_timeout_second"><code>stream_load_default_timeout_second</code><a href="#stream_load_default_timeout_second" class="hash-link" aria-label="stream_load_default_timeout_second的直接链接" title="stream_load_default_timeout_second的直接链接"></a></h4><p>默认值:86400 * 3 (3天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认 stream load 和 mini load 超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="stream_load_default_precommit_timeout_second"><code>stream_load_default_precommit_timeout_second</code><a href="#stream_load_default_precommit_timeout_second" class="hash-link" aria-label="stream_load_default_precommit_timeout_second的直接链接" title="stream_load_default_precommit_timeout_second的直接链接"></a></h4><p>默认值:3600(s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认 stream load 预提交超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="insert_load_default_timeout_second"><code>insert_load_default_timeout_second</code><a href="#insert_load_default_timeout_second" class="hash-link" aria-label="insert_load_default_timeout_second的直接链接" title="insert_load_default_timeout_second的直接链接"></a></h4><p>默认值:3600(1小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认 insert load 超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="mini_load_default_timeout_second"><code>mini_load_default_timeout_second</code><a href="#mini_load_default_timeout_second" class="hash-link" aria-label="mini_load_default_timeout_second的直接链接" title="mini_load_default_timeout_second的直接链接"></a></h4><p>默认值:3600(1小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认非 stream load 类型的 mini load 的超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="broker_load_default_timeout_second"><code>broker_load_default_timeout_second</code><a href="#broker_load_default_timeout_second" class="hash-link" aria-label="broker_load_default_timeout_second的直接链接" title="broker_load_default_timeout_second的直接链接"></a></h4><p>默认值:14400(4小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>Broker load 的默认超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_load_default_timeout_second"><code>spark_load_default_timeout_second</code><a href="#spark_load_default_timeout_second" class="hash-link" aria-label="spark_load_default_timeout_second的直接链接" title="spark_load_default_timeout_second的直接链接"></a></h4><p>默认值:86400 (1天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>默认 Spark 导入超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="hadoop_load_default_timeout_second"><code>hadoop_load_default_timeout_second</code><a href="#hadoop_load_default_timeout_second" class="hash-link" aria-label="hadoop_load_default_timeout_second的直接链接" title="hadoop_load_default_timeout_second的直接链接"></a></h4><p>默认值:86400 * 3 (3天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>Hadoop 导入超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_running_job_num_limit"><code>load_running_job_num_limit</code><a href="#load_running_job_num_limit" class="hash-link" aria-label="load_running_job_num_limit的直接链接" title="load_running_job_num_limit的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>Load 任务数量限制,默认0,无限制</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_input_size_limit_gb"><code>load_input_size_limit_gb</code><a href="#load_input_size_limit_gb" class="hash-link" aria-label="load_input_size_limit_gb的直接链接" title="load_input_size_limit_gb的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>Load 作业输入的数据大小,默认是0,无限制</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_etl_thread_num_normal_priority"><code>load_etl_thread_num_normal_priority</code><a href="#load_etl_thread_num_normal_priority" class="hash-link" aria-label="load_etl_thread_num_normal_priority的直接链接" title="load_etl_thread_num_normal_priority的直接链接"></a></h4><p>默认值:10</p><p>NORMAL 优先级 etl 加载作业的并发数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_etl_thread_num_high_priority"><code>load_etl_thread_num_high_priority</code><a href="#load_etl_thread_num_high_priority" class="hash-link" aria-label="load_etl_thread_num_high_priority的直接链接" title="load_etl_thread_num_high_priority的直接链接"></a></h4><p>默认值:3</p><p>高优先级 etl 加载作业的并发数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_pending_thread_num_normal_priority"><code>load_pending_thread_num_normal_priority</code><a href="#load_pending_thread_num_normal_priority" class="hash-link" aria-label="load_pending_thread_num_normal_priority的直接链接" title="load_pending_thread_num_normal_priority的直接链接"></a></h4><p>默认值:10</p><p>NORMAL 优先级挂起加载作业的并发数。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_pending_thread_num_high_priority"><code>load_pending_thread_num_high_priority</code><a href="#load_pending_thread_num_high_priority" class="hash-link" aria-label="load_pending_thread_num_high_priority的直接链接" title="load_pending_thread_num_high_priority的直接链接"></a></h4><p>默认值:3</p><p>高优先级挂起加载作业的并发数。 加载作业优先级定义为 HIGH 或 NORMAL。 所有小批量加载作业都是 HIGH 优先级,其他类型的加载作业是 NORMAL 优先级。 设置优先级是为了避免慢加载作业长时间占用线程。 这只是内部优化的调度策略。 目前,您无法手动指定作业优先级。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_checker_interval_second"><code>load_checker_interval_second</code><a href="#load_checker_interval_second" class="hash-link" aria-label="load_checker_interval_second的直接链接" title="load_checker_interval_second的直接链接"></a></h4><p>默认值:5 (s)</p><p>负载调度器运行间隔。 加载作业将其状态从 PENDING 转移到 LOADING 到 FINISHED。 加载调度程序将加载作业从 PENDING 转移到 LOADING 而 txn 回调会将加载作业从 LOADING 转移到 FINISHED。 因此,当并发未达到上限时,加载作业最多需要一个时间间隔才能完成。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="load_straggler_wait_second"><code>load_straggler_wait_second</code><a href="#load_straggler_wait_second" class="hash-link" aria-label="load_straggler_wait_second的直接链接" title="load_straggler_wait_second的直接链接"></a></h4><p>默认值:300</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>负载中落后节点的最大等待秒数
例如:
有 3 个副本 A, B, C
load 已经在 t1 时仲裁完成 (A,B) 并且 C 没有完成,
如果 (current_time-t1)&gt; 300s,那么 doris会将 C 视为故障节点,
将调用事务管理器提交事务并告诉事务管理器 C 失败。</p><p>这也用于等待发布任务时</p><p><strong>注意:</strong> 这个参数是所有作业的默认值,DBA 可以为单独的作业指定它</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="label_keep_max_second"><code>label_keep_max_second</code><a href="#label_keep_max_second" class="hash-link" aria-label="label_keep_max_second的直接链接" title="label_keep_max_second的直接链接"></a></h4><p>默认值:3 <em> 24 </em> 3600 (3天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>label_keep_max_second </code>后将删除已完成或取消的加载作业的标签,</p><ol><li>去除的标签可以重复使用。</li><li>设置较短的时间会降低 FE 内存使用量 (因为所有加载作业的信息在被删除之前都保存在内存中)</li></ol><p>在高并发写的情况下,如果出现大量作业积压,出现 <code>call frontend service failed</code>的情况,查看日志如果是元数据写占用锁的时间太长,可以将这个值调成12小时,或者更小6小时</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="streaming_label_keep_max_second"><code>streaming_label_keep_max_second</code><a href="#streaming_label_keep_max_second" class="hash-link" aria-label="streaming_label_keep_max_second的直接链接" title="streaming_label_keep_max_second的直接链接"></a></h4><p>默认值:43200 (12小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>对于一些高频负载工作,例如:INSERT、STREAMING LOAD、ROUTINE_LOAD_TASK 。 如果过期,则删除已完成的作业或任务。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="label_clean_interval_second"><code>label_clean_interval_second</code><a href="#label_clean_interval_second" class="hash-link" aria-label="label_clean_interval_second的直接链接" title="label_clean_interval_second的直接链接"></a></h4><p>默认值:1 * 3600 (1小时)</p><p>load 标签清理器将每隔 <code>label_clean_interval_second</code> 运行一次以清理过时的作业。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="transaction_clean_interval_second"><code>transaction_clean_interval_second</code><a href="#transaction_clean_interval_second" class="hash-link" aria-label="transaction_clean_interval_second的直接链接" title="transaction_clean_interval_second的直接链接"></a></h4><p>默认值:30</p><p>如果事务 visible 或者 aborted 状态,事务将在 <code>transaction_clean_interval_second</code> 秒后被清除 ,我们应该让这个间隔尽可能短,每个清洁周期都尽快</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sync_commit_interval_second"><code>sync_commit_interval_second</code><a href="#sync_commit_interval_second" class="hash-link" aria-label="sync_commit_interval_second的直接链接" title="sync_commit_interval_second的直接链接"></a></h4><p>提交事务的最大时间间隔。若超过了这个时间 channel 中还有数据没有提交,consumer 会通知 channel 提交事务。</p><p>默认值:10(秒)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sync_checker_interval_second"><code>sync_checker_interval_second</code><a href="#sync_checker_interval_second" class="hash-link" aria-label="sync_checker_interval_second的直接链接" title="sync_checker_interval_second的直接链接"></a></h4><p>数据同步作业运行状态检查</p><p>默认值:10(秒)</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_sync_task_threads_num"><code>max_sync_task_threads_num</code><a href="#max_sync_task_threads_num" class="hash-link" aria-label="max_sync_task_threads_num的直接链接" title="max_sync_task_threads_num的直接链接"></a></h4><p>数据同步作业线程池中的最大线程数量。</p><p>默认值:10</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_sync_commit_size"><code>min_sync_commit_size</code><a href="#min_sync_commit_size" class="hash-link" aria-label="min_sync_commit_size的直接链接" title="min_sync_commit_size的直接链接"></a></h4><p>提交事务需满足的最小 event 数量。若 Fe 接收到的 event 数量小于它,会继续等待下一批数据直到时间超过了 <code>sync_commit_interval_second </code> 为止。默认值是 10000 个 events,如果你想修改此配置,请确保此值小于 canal 端的 <code>canal.instance.memory.buffer.size</code> 配置(默认16384),否则在 ack 前Fe会尝试获取比 store 队列长度更多的 event,导致 store 队列阻塞至超时为止。</p><p>默认值:10000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_bytes_sync_commit"><code>min_bytes_sync_commit</code><a href="#min_bytes_sync_commit" class="hash-link" aria-label="min_bytes_sync_commit的直接链接" title="min_bytes_sync_commit的直接链接"></a></h4><p>提交事务需满足的最小数据大小。若 Fe 接收到的数据大小小于它,会继续等待下一批数据直到时间超过了 <code>sync_commit_interval_second</code> 为止。默认值是 15 MB,如果你想修改此配置,请确保此值小于 canal 端的 <code>canal.instance.memory.buffer.size</code><code>canal.instance.memory.buffer.memunit</code> 的乘积(默认 16 MB),否则在 ack 前 Fe 会尝试获取比 store 空间更大的数据,导致 store 队列阻塞至超时为止。</p><p>默认值:<code>15 * 1024 * 1024</code>(15M)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_bytes_sync_commit"><code>max_bytes_sync_commit</code><a href="#max_bytes_sync_commit" class="hash-link" aria-label="max_bytes_sync_commit的直接链接" title="max_bytes_sync_commit的直接链接"></a></h4><p>数据同步作业线程池中的最大线程数量。此线程池整个FE中只有一个,用于处理FE中所有数据同步作业向BE发送数据的任务 task,线程池的实现在 <code>SyncTaskPool</code> 类。</p><p>默认值:10</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_outfile_to_local"><code>enable_outfile_to_local</code><a href="#enable_outfile_to_local" class="hash-link" aria-label="enable_outfile_to_local的直接链接" title="enable_outfile_to_local的直接链接"></a></h4><p>默认值:false</p><p>是否允许 outfile 函数将结果导出到本地磁盘</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="export_tablet_num_per_task"><code>export_tablet_num_per_task</code><a href="#export_tablet_num_per_task" class="hash-link" aria-label="export_tablet_num_per_task的直接链接" title="export_tablet_num_per_task的直接链接"></a></h4><p>默认值:5</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>每个导出查询计划的 tablet 数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="export_task_default_timeout_second"><code>export_task_default_timeout_second</code><a href="#export_task_default_timeout_second" class="hash-link" aria-label="export_task_default_timeout_second的直接链接" title="export_task_default_timeout_second的直接链接"></a></h4><p>默认值:2 * 3600 (2小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>导出作业的默认超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="export_running_job_num_limit"><code>export_running_job_num_limit</code><a href="#export_running_job_num_limit" class="hash-link" aria-label="export_running_job_num_limit的直接链接" title="export_running_job_num_limit的直接链接"></a></h4><p>默认值:5</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>运行导出作业的并发限制,默认值为 5,0 表示无限制</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="export_checker_interval_second"><code>export_checker_interval_second</code><a href="#export_checker_interval_second" class="hash-link" aria-label="export_checker_interval_second的直接链接" title="export_checker_interval_second的直接链接"></a></h4><p>默认值:5</p><p>导出检查器的运行间隔</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="日志">日志<a href="#日志" class="hash-link" aria-label="日志的直接链接" title="日志的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="log_roll_size_mb"><code>log_roll_size_mb</code><a href="#log_roll_size_mb" class="hash-link" aria-label="log_roll_size_mb的直接链接" title="log_roll_size_mb的直接链接"></a></h4><p>默认值:1024 (1G)</p><p>一个系统日志和审计日志的最大大小</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_dir"><code>sys_log_dir</code><a href="#sys_log_dir" class="hash-link" aria-label="sys_log_dir的直接链接" title="sys_log_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/log&quot;</p><p>这指定了 FE 日志目录。 FE 将产生 2 个日志文件:</p><ol><li>fe.log:FE进程的所有日志。</li><li>fe.warn.log FE 进程的所有警告和错误日志。</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_level"><code>sys_log_level</code><a href="#sys_log_level" class="hash-link" aria-label="sys_log_level的直接链接" title="sys_log_level的直接链接"></a></h4><p>默认值:INFO</p><p>日志级别,可选项:INFO, WARNING, ERROR, FATAL</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_roll_num"><code>sys_log_roll_num</code><a href="#sys_log_roll_num" class="hash-link" aria-label="sys_log_roll_num的直接链接" title="sys_log_roll_num的直接链接"></a></h4><p>默认值:10</p><p>要保存在 <code>sys_log_roll_interval </code> 内的最大 FE 日志文件。 默认为 10,表示一天最多有 10 个日志文件</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_verbose_modules"><code>sys_log_verbose_modules</code><a href="#sys_log_verbose_modules" class="hash-link" aria-label="sys_log_verbose_modules的直接链接" title="sys_log_verbose_modules的直接链接"></a></h4><p>默认值:{}</p><p>详细模块。 VERBOSE 级别由 log4j DEBUG 级别实现。</p><p>例如:
sys_log_verbose_modules = org.apache.doris.catalog
这只会打印包 org.apache.doris.catalog 及其所有子包中文件的调试日志。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_roll_interval"><code>sys_log_roll_interval</code><a href="#sys_log_roll_interval" class="hash-link" aria-label="sys_log_roll_interval的直接链接" title="sys_log_roll_interval的直接链接"></a></h4><p>默认值:DAY</p><p>可选项:</p><ul><li>DAY: log 前缀是 yyyyMMdd</li><li>HOUR: log 前缀是 yyyyMMddHH</li></ul><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_delete_age"><code>sys_log_delete_age</code><a href="#sys_log_delete_age" class="hash-link" aria-label="sys_log_delete_age的直接链接" title="sys_log_delete_age的直接链接"></a></h4><p>默认值:7d</p><p>默认为 7 天,如果日志的最后修改时间为 7 天前,则将其删除。</p><p>支持格式:</p><ul><li>7d: 7 天</li><li>10h: 10 小时</li><li>60m: 60 分钟</li><li>120s: 120 秒</li></ul><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_roll_mode"><code>sys_log_roll_mode</code><a href="#sys_log_roll_mode" class="hash-link" aria-label="sys_log_roll_mode的直接链接" title="sys_log_roll_mode的直接链接"></a></h4><p>默认值:SIZE-MB-1024</p><p>日志拆分的大小,每1G拆分一个日志文件</p><span class="version-mark paragraph"><span class="v-mark"><span class="version-tags"><span class="version-tag"><span class="version-tag-t">Since</span><span class="version-tag-n since">Version <!-- -->dev</span></span></span></span><h4 class="anchor anchorWithStickyNavbar_LWe7" id="sys_log_enable_compress"><code>sys_log_enable_compress</code><a href="#sys_log_enable_compress" class="hash-link" aria-label="sys_log_enable_compress的直接链接" title="sys_log_enable_compress的直接链接"></a></h4><p>默认值:false</p><p>控制是否压缩fe log, 包括fe.log 及 fe.warn.log。如果开启,则使用gzip算法进行压缩。</p></span><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_dir"><code>audit_log_dir</code><a href="#audit_log_dir" class="hash-link" aria-label="audit_log_dir的直接链接" title="audit_log_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/log&quot;</p><p>审计日志目录:
这指定了 FE 审计日志目录。
审计日志 fe.audit.log 包含所有请求以及相关信息,如 <code>user, host, cost, status </code> 等。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_roll_num"><code>audit_log_roll_num</code><a href="#audit_log_roll_num" class="hash-link" aria-label="audit_log_roll_num的直接链接" title="audit_log_roll_num的直接链接"></a></h4><p>默认值:90</p><p>保留在 <code>audit_log_roll_interval </code> 内的最大 FE 审计日志文件。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_modules"><code>audit_log_modules</code><a href="#audit_log_modules" class="hash-link" aria-label="audit_log_modules的直接链接" title="audit_log_modules的直接链接"></a></h4><p>默认值:{&quot;slow_query&quot;, &quot;query&quot;, &quot;load&quot;, &quot;stream_load&quot;}</p><p>慢查询包含所有开销超过 <em>qe_slow_log_ms</em> 的查询</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="qe_slow_log_ms"><code>qe_slow_log_ms</code><a href="#qe_slow_log_ms" class="hash-link" aria-label="qe_slow_log_ms的直接链接" title="qe_slow_log_ms的直接链接"></a></h4><p>默认值:5000 (5秒)</p><p>如果查询的响应时间超过此阈值,则会在审计日志中记录为 slow_query。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_roll_interval"><code>audit_log_roll_interval</code><a href="#audit_log_roll_interval" class="hash-link" aria-label="audit_log_roll_interval的直接链接" title="audit_log_roll_interval的直接链接"></a></h4><p>默认值:DAY</p><p>DAY: log前缀是:yyyyMMdd
HOUR: log前缀是:yyyyMMddHH</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_delete_age"><code>audit_log_delete_age</code><a href="#audit_log_delete_age" class="hash-link" aria-label="audit_log_delete_age的直接链接" title="audit_log_delete_age的直接链接"></a></h4><p>默认值:30d</p><p>默认为 30 天,如果日志的最后修改时间为 30 天前,则将其删除。</p><p>支持格式:</p><ul><li>7d 7 天</li><li>10小时 10 小时</li><li>60m 60 分钟</li><li>120s 120 秒</li></ul><span class="version-mark paragraph"><span class="v-mark"><span class="version-tags"><span class="version-tag"><span class="version-tag-t">Since</span><span class="version-tag-n since">Version <!-- -->dev</span></span></span></span><h4 class="anchor anchorWithStickyNavbar_LWe7" id="audit_log_enable_compress"><code>audit_log_enable_compress</code><a href="#audit_log_enable_compress" class="hash-link" aria-label="audit_log_enable_compress的直接链接" title="audit_log_enable_compress的直接链接"></a></h4><p>默认值:false</p><p>控制是否压缩 fe.audit.log。如果开启,则使用gzip算法进行压缩。</p></span><h3 class="anchor anchorWithStickyNavbar_LWe7" id="存储">存储<a href="#存储" class="hash-link" aria-label="存储的直接链接" title="存储的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_replication_num_per_tablet"><code>min_replication_num_per_tablet</code><a href="#min_replication_num_per_tablet" class="hash-link" aria-label="min_replication_num_per_tablet的直接链接" title="min_replication_num_per_tablet的直接链接"></a></h4><p>默认值:1</p><p>用于设置单个tablet的最小replication数量。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_replication_num_per_tablet"><code>max_replication_num_per_tablet</code><a href="#max_replication_num_per_tablet" class="hash-link" aria-label="max_replication_num_per_tablet的直接链接" title="max_replication_num_per_tablet的直接链接"></a></h4><p>默认值:32767</p><p>用于设置单个 tablet 的最大 replication 数量。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_db_data_quota_bytes"><code>default_db_data_quota_bytes</code><a href="#default_db_data_quota_bytes" class="hash-link" aria-label="default_db_data_quota_bytes的直接链接" title="default_db_data_quota_bytes的直接链接"></a></h4><p>默认值:1PB</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于设置默认数据库数据配额大小,设置单个数据库的配额大小可以使用:</p><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">设置数据库数据量配额,单位为B/K/KB/M/MB/G/GB/T/TB/P/PB</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">ALTER DATABASE db_name SET DATA QUOTA quota;</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">查看配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">show data (其他用法:HELP SHOW DATA)</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_db_replica_quota_size"><code>default_db_replica_quota_size</code><a href="#default_db_replica_quota_size" class="hash-link" aria-label="default_db_replica_quota_size的直接链接" title="default_db_replica_quota_size的直接链接"></a></h4><p>默认值:1073741824</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于设置默认数据库Replica数量配额大小,设置单个数据库配额大小可以使用:</p><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">设置数据库Replica数量配额</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">ALTER DATABASE db_name SET REPLICA QUOTA quota;</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">查看配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">show data (其他用法:HELP SHOW DATA)</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h4 class="anchor anchorWithStickyNavbar_LWe7" id="recover_with_empty_tablet"><code>recover_with_empty_tablet</code><a href="#recover_with_empty_tablet" class="hash-link" aria-label="recover_with_empty_tablet的直接链接" title="recover_with_empty_tablet的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>在某些情况下,某些 tablet 可能会损坏或丢失所有副本。 此时数据已经丢失,损坏的 tablet 会导致整个查询失败,无法查询剩余的健康 tablet。 </p><p>在这种情况下,您可以将此配置设置为 true。 系统会将损坏的 tablet 替换为空 tablet,以确保查询可以执行。 (但此时数据已经丢失,所以查询结果可能不准确)</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_clone_task_timeout_sec--和-max_clone_task_timeout_sec"><code>min_clone_task_timeout_sec</code><code>max_clone_task_timeout_sec</code><a href="#min_clone_task_timeout_sec--和-max_clone_task_timeout_sec" class="hash-link" aria-label="min_clone_task_timeout_sec--和-max_clone_task_timeout_sec的直接链接" title="min_clone_task_timeout_sec--和-max_clone_task_timeout_sec的直接链接"></a></h4><p>默认值:最小3分钟,最大两小时</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>min_clone_task_timeout_sec</code><code>max_clone_task_timeout_sec</code> 用于限制克隆任务的最小和最大超时间。 一般情况下,克隆任务的超时时间是通过数据量和最小传输速度(5MB/s)来估计的。 但在特殊情况下,您可能需要手动设置这两个配置,以确保克隆任务不会因超时而失败。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_storage_medium_check"><code>disable_storage_medium_check</code><a href="#disable_storage_medium_check" class="hash-link" aria-label="disable_storage_medium_check的直接链接" title="disable_storage_medium_check的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果 disable_storage_medium_check 为true, ReportHandler 将不会检查 tablet 的存储介质, 并使得存储冷却功能失效,默认值为false。当您不关心 tablet 的存储介质是什么时,可以将值设置为true 。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="decommission_tablet_check_threshold"><code>decommission_tablet_check_threshold</code><a href="#decommission_tablet_check_threshold" class="hash-link" aria-label="decommission_tablet_check_threshold的直接链接" title="decommission_tablet_check_threshold的直接链接"></a></h4><p>默认值: 5000</p><p>是否可以动态配置: true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>该配置用于控制FE是否执行检测(Decommission)BE上Tablets状态的阈值。如果(Decommission)BE上的Tablets个数大于0但小于该阈值,FE会定时对该BE开启一项检测,</p><p>如果该BE上的Tablets数量大于0但是所有Tablets均处于被回收的状态,那么FE会立即下线该(Decommission)BE。注意,不要把该值配置的太大,不然在Decommission阶段可能会对FE造成性能压力。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="partition_rebalance_max_moves_num_per_selection"><code>partition_rebalance_max_moves_num_per_selection</code><a href="#partition_rebalance_max_moves_num_per_selection" class="hash-link" aria-label="partition_rebalance_max_moves_num_per_selection的直接链接" title="partition_rebalance_max_moves_num_per_selection的直接链接"></a></h4><p>默认值:10</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>仅在使用 PartitionRebalancer 时有效 ,</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="partition_rebalance_move_expire_after_access"><code>partition_rebalance_move_expire_after_access</code><a href="#partition_rebalance_move_expire_after_access" class="hash-link" aria-label="partition_rebalance_move_expire_after_access的直接链接" title="partition_rebalance_move_expire_after_access的直接链接"></a></h4><p>默认值:600 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>仅在使用 PartitionRebalancer 时有效。 如果更改,缓存的移动将被清除</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tablet_rebalancer_type">tablet_rebalancer_type<a href="#tablet_rebalancer_type" class="hash-link" aria-label="tablet_rebalancer_type的直接链接" title="tablet_rebalancer_type的直接链接"></a></h4><p>默认值:BeLoad</p><p>是否为 Master FE 节点独有的配置项:true</p><p>rebalancer 类型(忽略大小写):BeLoad、Partition。 如果类型解析失败,默认使用 BeLoad</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_balancing_tablets"><code>max_balancing_tablets</code><a href="#max_balancing_tablets" class="hash-link" aria-label="max_balancing_tablets的直接链接" title="max_balancing_tablets的直接链接"></a></h4><p>默认值:100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果 TabletScheduler 中的 balance tablet 数量超过 <code>max_balancing_tablets</code>,则不再进行 balance 检查</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_scheduling_tablets"><code>max_scheduling_tablets</code><a href="#max_scheduling_tablets" class="hash-link" aria-label="max_scheduling_tablets的直接链接" title="max_scheduling_tablets的直接链接"></a></h4><p>默认值:2000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果 TabletScheduler 中调度的 tablet 数量超过 <code>max_scheduling_tablets</code>, 则跳过检查。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_balance"><code>disable_balance</code><a href="#disable_balance" class="hash-link" aria-label="disable_balance的直接链接" title="disable_balance的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,TabletScheduler 将不会做 balance</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_disk_balance"><code>disable_disk_balance</code><a href="#disable_disk_balance" class="hash-link" aria-label="disable_disk_balance的直接链接" title="disable_disk_balance的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,TabletScheduler 将不会做单个BE上磁盘之间的 balance</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="balance_load_score_threshold"><code>balance_load_score_threshold</code><a href="#balance_load_score_threshold" class="hash-link" aria-label="balance_load_score_threshold的直接链接" title="balance_load_score_threshold的直接链接"></a></h4><p>默认值:0.1 (10%)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>集群 balance 百分比的阈值,如果一个BE的负载分数比平均分数低10%,这个后端将被标记为低负载,如果负载分数比平均分数高10%,将被标记为高负载。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="capacity_used_percent_high_water"><code>capacity_used_percent_high_water</code><a href="#capacity_used_percent_high_water" class="hash-link" aria-label="capacity_used_percent_high_water的直接链接" title="capacity_used_percent_high_water的直接链接"></a></h4><p>默认值:0.75 (75%)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>磁盘容量的高水位使用百分比。 这用于计算后端的负载分数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="clone_distribution_balance_threshold"><code>clone_distribution_balance_threshold</code><a href="#clone_distribution_balance_threshold" class="hash-link" aria-label="clone_distribution_balance_threshold的直接链接" title="clone_distribution_balance_threshold的直接链接"></a></h4><p>默认值:0.2</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>BE副本数的平衡阈值。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="clone_capacity_balance_threshold"><code>clone_capacity_balance_threshold</code><a href="#clone_capacity_balance_threshold" class="hash-link" aria-label="clone_capacity_balance_threshold的直接链接" title="clone_capacity_balance_threshold的直接链接"></a></h4><p>默认值:0.2</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><ul><li><p>BE 中数据大小的平衡阈值。</p><p>平衡算法为:</p><ol><li><p>计算整个集群的平均使用容量(AUC)(总数据大小/BE数)</p></li><li><p>高水位为(AUC * (1 + clone_capacity_balance_threshold))</p></li><li><p>低水位为(AUC * (1 - clone_capacity_balance_threshold))</p></li><li><p>克隆检查器将尝试将副本从高水位 BE 移动到低水位 BE。</p></li></ol></li></ul><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_colocate_balance"><code>disable_colocate_balance</code><a href="#disable_colocate_balance" class="hash-link" aria-label="disable_colocate_balance的直接链接" title="disable_colocate_balance的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>此配置可以设置为 true 以禁用自动 colocate 表的重新定位和平衡。 如果 <code>disable_colocate_balance&#x27;</code>设置为 true,则 ColocateTableBalancer 将不会重新定位和平衡并置表。</p><p><strong>注意:</strong></p><ol><li>一般情况下,根本不需要关闭平衡。</li><li>因为一旦关闭平衡,不稳定的 colocate 表可能无法恢复</li><li>最终查询时无法使用 colocate 计划。</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="balance_slot_num_per_path"><code>balance_slot_num_per_path</code><a href="#balance_slot_num_per_path" class="hash-link" aria-label="balance_slot_num_per_path的直接链接" title="balance_slot_num_per_path的直接链接"></a></h4><p>默认值:1</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>balance 时每个路径的默认 slot 数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_tablet_scheduler"><code>disable_tablet_scheduler</code><a href="#disable_tablet_scheduler" class="hash-link" aria-label="disable_tablet_scheduler的直接链接" title="disable_tablet_scheduler的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为true,将关闭副本修复和均衡逻辑。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_force_drop_redundant_replica"><code>enable_force_drop_redundant_replica</code><a href="#enable_force_drop_redundant_replica" class="hash-link" aria-label="enable_force_drop_redundant_replica的直接链接" title="enable_force_drop_redundant_replica的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,系统会在副本调度逻辑中,立即删除冗余副本。这可能导致部分正在对对应副本写入的导入作业失败,但是会加速副本的均衡和修复速度。
当集群中有大量等待被均衡或修复的副本时,可以尝试设置此参数,以牺牲部分导入成功率为代价,加速副本的均衡和修复。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="colocate_group_relocate_delay_second"><code>colocate_group_relocate_delay_second</code><a href="#colocate_group_relocate_delay_second" class="hash-link" aria-label="colocate_group_relocate_delay_second的直接链接" title="colocate_group_relocate_delay_second的直接链接"></a></h4><p>默认值:1800</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>重分布一个 Colocation Group 可能涉及大量的tablet迁移。因此,我们需要一个更保守的策略来避免不必要的 Colocation 重分布。
重分布通常发生在 Doris 检测到有 BE 节点宕机后。这个参数用于推迟对BE宕机的判断。如默认参数下,如果 BE 节点能够在 1800 秒内恢复,则不会触发 Colocation 重分布。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="allow_replica_on_same_host"><code>allow_replica_on_same_host</code><a href="#allow_replica_on_same_host" class="hash-link" aria-label="allow_replica_on_same_host的直接链接" title="allow_replica_on_same_host的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>是否允许同一个 tablet 的多个副本分布在同一个 host 上。这个参数主要用于本地测试是,方便搭建多个 BE 已测试某些多副本情况。不要用于非测试环境。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="repair_slow_replica"><code>repair_slow_replica</code><a href="#repair_slow_replica" class="hash-link" aria-label="repair_slow_replica的直接链接" title="repair_slow_replica的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,会自动检测compaction比较慢的副本,并将迁移到其他机器,检测条件是 最慢副本的版本计数超过 <code>min_version_count_indicate_replica_compaction_too_slow</code> 的值, 且与最快副本的版本计数差异所占比例超过 <code>valid_version_count_delta_ratio_between_replicas</code> 的值</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_version_count_indicate_replica_compaction_too_slow"><code>min_version_count_indicate_replica_compaction_too_slow</code><a href="#min_version_count_indicate_replica_compaction_too_slow" class="hash-link" aria-label="min_version_count_indicate_replica_compaction_too_slow的直接链接" title="min_version_count_indicate_replica_compaction_too_slow的直接链接"></a></h4><p>默认值:200</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>版本计数阈值,用来判断副本做 compaction 的速度是否太慢</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="skip_compaction_slower_replica"><code>skip_compaction_slower_replica</code><a href="#skip_compaction_slower_replica" class="hash-link" aria-label="skip_compaction_slower_replica的直接链接" title="skip_compaction_slower_replica的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>如果设置为true,则在选择可查询副本时,将跳过 compaction 较慢的副本</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="valid_version_count_delta_ratio_between_replicas"><code>valid_version_count_delta_ratio_between_replicas</code><a href="#valid_version_count_delta_ratio_between_replicas" class="hash-link" aria-label="valid_version_count_delta_ratio_between_replicas的直接链接" title="valid_version_count_delta_ratio_between_replicas的直接链接"></a></h4><p>默认值:0.5</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>最慢副本的版本计数与最快副本的差异有效比率阈值,如果设置 <code>repair_slow_replica</code> 为 true,则用于判断是否修复最慢的副本</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_bytes_indicate_replica_too_large"><code>min_bytes_indicate_replica_too_large</code><a href="#min_bytes_indicate_replica_too_large" class="hash-link" aria-label="min_bytes_indicate_replica_too_large的直接链接" title="min_bytes_indicate_replica_too_large的直接链接"></a></h4><p>默认值:<code>2 * 1024 * 1024 * 1024</code> (2G)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>数据大小阈值,用来判断副本的数据量是否太大</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="schedule_slot_num_per_path"><code>schedule_slot_num_per_path</code><a href="#schedule_slot_num_per_path" class="hash-link" aria-label="schedule_slot_num_per_path的直接链接" title="schedule_slot_num_per_path的直接链接"></a></h4><p>默认值:2</p><p>tablet 调度程序中每个路径的默认 slot 数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tablet_repair_delay_factor_second"><code>tablet_repair_delay_factor_second</code><a href="#tablet_repair_delay_factor_second" class="hash-link" aria-label="tablet_repair_delay_factor_second的直接链接" title="tablet_repair_delay_factor_second的直接链接"></a></h4><p>默认值:60 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>决定修复 tablet 前的延迟时间因素。</p><ol><li>如果优先级为 VERY_HIGH,请立即修复。</li><li>HIGH,延迟 tablet_repair_delay_factor_second * 1;</li><li>正常:延迟 tablet_repair_delay_factor_second * 2;</li><li>低:延迟 tablet_repair_delay_factor_second * 3;</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tablet_stat_update_interval_second"><code>tablet_stat_update_interval_second</code><a href="#tablet_stat_update_interval_second" class="hash-link" aria-label="tablet_stat_update_interval_second的直接链接" title="tablet_stat_update_interval_second的直接链接"></a></h4><p>默认值:300,(5分钟)</p><p>tablet 状态更新间隔
所有 FE 将在每个时间间隔从所有 BE 获取 tablet 统计信息</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="storage_flood_stage_usage_percent"><code>storage_flood_stage_usage_percent</code><a href="#storage_flood_stage_usage_percent" class="hash-link" aria-label="storage_flood_stage_usage_percent的直接链接" title="storage_flood_stage_usage_percent的直接链接"></a></h4><p>默认值:95 (95%)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="storage_flood_stage_left_capacity_bytes"><code>storage_flood_stage_left_capacity_bytes</code><a href="#storage_flood_stage_left_capacity_bytes" class="hash-link" aria-label="storage_flood_stage_left_capacity_bytes的直接链接" title="storage_flood_stage_left_capacity_bytes的直接链接"></a></h4><p>默认值: 1 <em> 1024 </em> 1024 * 1024 (1GB)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果磁盘容量达到 <code>storage_flood_stage_usage_percent</code><code>storage_flood_stage_left_capacity_bytes</code> 以下操作将被拒绝:</p><ol><li>load 作业</li><li>restore 工作</li></ol><h4 class="anchor anchorWithStickyNavbar_LWe7" id="storage_high_watermark_usage_percent"><code>storage_high_watermark_usage_percent</code><a href="#storage_high_watermark_usage_percent" class="hash-link" aria-label="storage_high_watermark_usage_percent的直接链接" title="storage_high_watermark_usage_percent的直接链接"></a></h4><p>默认值:85 (85%)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="storage_min_left_capacity_bytes"><code>storage_min_left_capacity_bytes</code><a href="#storage_min_left_capacity_bytes" class="hash-link" aria-label="storage_min_left_capacity_bytes的直接链接" title="storage_min_left_capacity_bytes的直接链接"></a></h4><p>默认值: <code>2 * 1024 * 1024 * 1024</code> (2GB)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>storage_high_watermark_usage_percent</code> 限制 BE 端存储路径使用最大容量百的分比。 <code>storage_min_left_capacity_bytes</code>限制 BE 端存储路径的最小剩余容量。 如果达到这两个限制,则不能选择此存储路径作为 tablet 存储目的地。 但是对于 tablet 恢复,我们可能会超过这些限制以尽可能保持数据完整性。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="catalog_trash_expire_second"><code>catalog_trash_expire_second</code><a href="#catalog_trash_expire_second" class="hash-link" aria-label="catalog_trash_expire_second的直接链接" title="catalog_trash_expire_second的直接链接"></a></h4><p>默认值:86400L (1天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>删除数据库(表/分区)后,您可以使用 RECOVER stmt 恢复它。 这指定了最大数据保留时间。 一段时间后,数据将被永久删除。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="storage_cooldown_second"><code>storage_cooldown_second</code><a href="#storage_cooldown_second" class="hash-link" aria-label="storage_cooldown_second的直接链接" title="storage_cooldown_second的直接链接"></a></h4><span class="version-mark paragraph"><span class="v-mark"><span class="version-tags"><span class="version-tag"><span class="version-tag-t">Deprecated</span><span class="version-tag-n deprecated">Version <!-- -->2.0</span></span></span></span></span><p>默认值:<code>30 * 24 * 3600L</code> (30天)</p><p>创建表(或分区)时,可以指定其存储介质(HDD 或 SSD)。 如果设置为 SSD,这将指定tablet在 SSD 上停留的默认时间。 之后,tablet将自动移动到 HDD。 您可以在 <code>CREATE TABLE stmt</code> 中设置存储冷却时间。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_storage_medium"><code>default_storage_medium</code><a href="#default_storage_medium" class="hash-link" aria-label="default_storage_medium的直接链接" title="default_storage_medium的直接链接"></a></h4><p>默认值:HDD</p><p>创建表(或分区)时,可以指定其存储介质(HDD 或 SSD)。 如果未设置,则指定创建时的默认介质。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_storage_policy"><code>enable_storage_policy</code><a href="#enable_storage_policy" class="hash-link" aria-label="enable_storage_policy的直接链接" title="enable_storage_policy的直接链接"></a></h4><p>是否开启 Storage Policy 功能。该功能用户冷热数据分离功能。该功能仍在开发中,不排除后续后功能修改或重构。仅建议测试环境使用。</p><p>默认值:false。即不开启</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="check_consistency_default_timeout_second"><code>check_consistency_default_timeout_second</code><a href="#check_consistency_default_timeout_second" class="hash-link" aria-label="check_consistency_default_timeout_second的直接链接" title="check_consistency_default_timeout_second的直接链接"></a></h4><p>默认值:600 (10分钟)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>单个一致性检查任务的默认超时。 设置足够长以适合您的tablet大小。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="consistency_check_start_time"><code>consistency_check_start_time</code><a href="#consistency_check_start_time" class="hash-link" aria-label="consistency_check_start_time的直接链接" title="consistency_check_start_time的直接链接"></a></h4><p>默认值:23</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>一致性检查开始时间</p><p>一致性检查器将从 <code>consistency_check_start_time</code> 运行到 <code>consistency_check_end_time</code></p><p>如果两个时间相同,则不会触发一致性检查。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="consistency_check_end_time"><code>consistency_check_end_time</code><a href="#consistency_check_end_time" class="hash-link" aria-label="consistency_check_end_time的直接链接" title="consistency_check_end_time的直接链接"></a></h4><p>默认值:23</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>一致性检查结束时间</p><p>一致性检查器将从 <code>consistency_check_start_time</code> 运行到 <code>consistency_check_end_time</code></p><p>如果两个时间相同,则不会触发一致性检查。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="replica_delay_recovery_second"><code>replica_delay_recovery_second</code><a href="#replica_delay_recovery_second" class="hash-link" aria-label="replica_delay_recovery_second的直接链接" title="replica_delay_recovery_second的直接链接"></a></h4><p>默认值:0</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>副本之间的最小延迟秒数失败,并且尝试使用克隆来恢复它。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tablet_create_timeout_second"><code>tablet_create_timeout_second</code><a href="#tablet_create_timeout_second" class="hash-link" aria-label="tablet_create_timeout_second的直接链接" title="tablet_create_timeout_second的直接链接"></a></h4><p>默认值:1(s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>创建单个副本的最长等待时间。</p><p>例如。
如果您为每个表创建一个包含 m 个 tablet 和 n 个副本的表,
创建表请求将在超时前最多运行 (m <em> n </em> tablet_create_timeout_second)。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tablet_delete_timeout_second"><code>tablet_delete_timeout_second</code><a href="#tablet_delete_timeout_second" class="hash-link" aria-label="tablet_delete_timeout_second的直接链接" title="tablet_delete_timeout_second的直接链接"></a></h4><p>默认值:2</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p><code>tablet_create_timeout_second</code> 含义相同,但在删除 tablet 时使用</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="alter_table_timeout_second"><code>alter_table_timeout_second</code><a href="#alter_table_timeout_second" class="hash-link" aria-label="alter_table_timeout_second的直接链接" title="alter_table_timeout_second的直接链接"></a></h4><p>默认值:86400 * 30 (1月)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>ALTER TABLE 请求的最大超时时间。 设置足够长以适合您的表格数据大小</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_replica_count_when_schema_change"><code>max_replica_count_when_schema_change</code><a href="#max_replica_count_when_schema_change" class="hash-link" aria-label="max_replica_count_when_schema_change的直接链接" title="max_replica_count_when_schema_change的直接链接"></a></h4><p>OlapTable在做schema change时,允许的最大副本数,副本数过大会导致FE OOM。</p><p>默认值:100000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="history_job_keep_max_second"><code>history_job_keep_max_second</code><a href="#history_job_keep_max_second" class="hash-link" aria-label="history_job_keep_max_second的直接链接" title="history_job_keep_max_second的直接链接"></a></h4><p>默认值:<code>7 * 24 * 3600</code> (7天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>某些作业的最大保留时间。 像 schema 更改和 Rollup 作业。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_create_table_timeout_second"><code>max_create_table_timeout_second</code><a href="#max_create_table_timeout_second" class="hash-link" aria-label="max_create_table_timeout_second的直接链接" title="max_create_table_timeout_second的直接链接"></a></h4><p>默认值:1 * 3600 (1小时)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>为了在创建表(索引)不等待太久,设置一个最大超时时间</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="外部表">外部表<a href="#外部表" class="hash-link" aria-label="外部表的直接链接" title="外部表的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="file_scan_node_split_num"><code>file_scan_node_split_num</code><a href="#file_scan_node_split_num" class="hash-link" aria-label="file_scan_node_split_num的直接链接" title="file_scan_node_split_num的直接链接"></a></h4><p>默认值:128</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>multi catalog 并发文件扫描线程数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="file_scan_node_split_size"><code>file_scan_node_split_size</code><a href="#file_scan_node_split_size" class="hash-link" aria-label="file_scan_node_split_size的直接链接" title="file_scan_node_split_size的直接链接"></a></h4><p>默认值:256 <em> 1024 </em> 1024</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>multi catalog 并发文件扫描大小</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_odbc_table"><code>enable_odbc_table</code><a href="#enable_odbc_table" class="hash-link" aria-label="enable_odbc_table的直接链接" title="enable_odbc_table的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否启用 ODBC 表,默认不启用,在使用的时候需要手动配置启用,该参数可以通过:</p><p><code>ADMIN SET FRONTEND CONFIG(&quot;key&quot;=&quot;value&quot;) </code>方式进行设置</p><p><strong>注意:</strong> 这个参数在1.2版本中已经删除,默认启用ODBC外表,并且会在以后的某个版本中删除ODBC外表,推荐使用JDBC外表</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="disable_iceberg_hudi_table"><code>disable_iceberg_hudi_table</code><a href="#disable_iceberg_hudi_table" class="hash-link" aria-label="disable_iceberg_hudi_table的直接链接" title="disable_iceberg_hudi_table的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>从 1.2 版本开始,我们不再支持创建hudi和iceberg外表。请改用multi catalog功能。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="iceberg_table_creation_interval_second"><code>iceberg_table_creation_interval_second</code><a href="#iceberg_table_creation_interval_second" class="hash-link" aria-label="iceberg_table_creation_interval_second的直接链接" title="iceberg_table_creation_interval_second的直接链接"></a></h4><p>默认值:10 (s)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>fe 将每隔 iceberg_table_creation_interval_second 创建iceberg table</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="iceberg_table_creation_strict_mode"><code>iceberg_table_creation_strict_mode</code><a href="#iceberg_table_creation_strict_mode" class="hash-link" aria-label="iceberg_table_creation_strict_mode的直接链接" title="iceberg_table_creation_strict_mode的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,iceberg 表和 Doris 表的列定义必须一致。
如果设置为 false,Doris 只创建支持的数据类型的列。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_iceberg_table_creation_record_size"><code>max_iceberg_table_creation_record_size</code><a href="#max_iceberg_table_creation_record_size" class="hash-link" aria-label="max_iceberg_table_creation_record_size的直接链接" title="max_iceberg_table_creation_record_size的直接链接"></a></h4><p>内存中可以存储的最近iceberg库表创建记录的默认最大数量</p><p>默认值:2000</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_hive_partition_cache_num"><code>max_hive_partition_cache_num</code><a href="#max_hive_partition_cache_num" class="hash-link" aria-label="max_hive_partition_cache_num的直接链接" title="max_hive_partition_cache_num的直接链接"></a></h4><p>hive partition 的最大缓存数量。</p><p>默认值:100000</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="hive_metastore_client_timeout_second"><code>hive_metastore_client_timeout_second</code><a href="#hive_metastore_client_timeout_second" class="hash-link" aria-label="hive_metastore_client_timeout_second的直接链接" title="hive_metastore_client_timeout_second的直接链接"></a></h4><p>hive metastore 的默认超时时间</p><p>默认值:10</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_external_cache_loader_thread_pool_size"><code>max_external_cache_loader_thread_pool_size</code><a href="#max_external_cache_loader_thread_pool_size" class="hash-link" aria-label="max_external_cache_loader_thread_pool_size的直接链接" title="max_external_cache_loader_thread_pool_size的直接链接"></a></h4><p>用于 external 外部表的 meta 缓存加载线程池的最大线程数。</p><p>默认值:10</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_external_file_cache_num"><code>max_external_file_cache_num</code><a href="#max_external_file_cache_num" class="hash-link" aria-label="max_external_file_cache_num的直接链接" title="max_external_file_cache_num的直接链接"></a></h4><p>用于 external 外部表的最大文件缓存数量。</p><p>默认值:100000</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_external_schema_cache_num"><code>max_external_schema_cache_num</code><a href="#max_external_schema_cache_num" class="hash-link" aria-label="max_external_schema_cache_num的直接链接" title="max_external_schema_cache_num的直接链接"></a></h4><p>用于 external 外部表的最大 schema 缓存数量。</p><p>默认值:10000</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="external_cache_expire_time_minutes_after_access"><code>external_cache_expire_time_minutes_after_access</code><a href="#external_cache_expire_time_minutes_after_access" class="hash-link" aria-label="external_cache_expire_time_minutes_after_access的直接链接" title="external_cache_expire_time_minutes_after_access的直接链接"></a></h4><p>设置缓存中的数据,在最后一次访问后多久失效。单位为分钟。
适用于 External Schema Cache 以及 Hive Partition Cache.</p><p>默认值:1440</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="es_state_sync_interval_second"><code>es_state_sync_interval_second</code><a href="#es_state_sync_interval_second" class="hash-link" aria-label="es_state_sync_interval_second的直接链接" title="es_state_sync_interval_second的直接链接"></a></h4><p>默认值:10</p><p>FE 会在每隔 es_state_sync_interval_secs 调用 es api 获取 es 索引分片信息</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="外部资源">外部资源<a href="#外部资源" class="hash-link" aria-label="外部资源的直接链接" title="外部资源的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dpp_hadoop_client_path"><code>dpp_hadoop_client_path</code><a href="#dpp_hadoop_client_path" class="hash-link" aria-label="dpp_hadoop_client_path的直接链接" title="dpp_hadoop_client_path的直接链接"></a></h4><p>默认值:/lib/hadoop-client/hadoop/bin/hadoop</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dpp_bytes_per_reduce"><code>dpp_bytes_per_reduce</code><a href="#dpp_bytes_per_reduce" class="hash-link" aria-label="dpp_bytes_per_reduce的直接链接" title="dpp_bytes_per_reduce的直接链接"></a></h4><p>默认值:100 <em> 1024 </em> 1024L (100M)</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dpp_default_cluster"><code>dpp_default_cluster</code><a href="#dpp_default_cluster" class="hash-link" aria-label="dpp_default_cluster的直接链接" title="dpp_default_cluster的直接链接"></a></h4><p>默认值:palo-dpp</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dpp_default_config_str"><code>dpp_default_config_str</code><a href="#dpp_default_config_str" class="hash-link" aria-label="dpp_default_config_str的直接链接" title="dpp_default_config_str的直接链接"></a></h4><p>默认值:{
hadoop_configs : &#x27;mapred.job.priority=NORMAL;mapred.job.map.capacity=50;mapred.job.reduce.capacity=50;mapred.hce.replace.streaming=false;abaci.long.stored.job=true;dce.shuffle.enable=false;dfs.client.authserver.force_stop=true;dfs.client.auth.method=0&#x27;
}</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="dpp_config_str"><code>dpp_config_str</code><a href="#dpp_config_str" class="hash-link" aria-label="dpp_config_str的直接链接" title="dpp_config_str的直接链接"></a></h4><p>默认值:{
palo-dpp : {
hadoop_palo_path : &#x27;/dir&#x27;,
hadoop_configs : &#x27;fs.default.name=hdfs://host:port;mapred.job.tracker=host:port;hadoop.job.ugi=user,password&#x27;
}
}</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="yarn_config_dir"><code>yarn_config_dir</code><a href="#yarn_config_dir" class="hash-link" aria-label="yarn_config_dir的直接链接" title="yarn_config_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/lib/yarn-config&quot;</p><p>默认的 Yarn 配置文件目录每次运行 Yarn 命令之前,我们需要检查一下这个路径下是否存在 config 文件,如果不存在,则创建它们。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="yarn_client_path"><code>yarn_client_path</code><a href="#yarn_client_path" class="hash-link" aria-label="yarn_client_path的直接链接" title="yarn_client_path的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/lib/yarn-client/hadoop/bin/yarn&quot;</p><p>默认 Yarn 客户端路径</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_launcher_log_dir"><code>spark_launcher_log_dir</code><a href="#spark_launcher_log_dir" class="hash-link" aria-label="spark_launcher_log_dir的直接链接" title="spark_launcher_log_dir的直接链接"></a></h4><p>默认值: sys_log_dir + &quot;/spark_launcher_log&quot;</p><p>指定的 Spark 启动器日志目录</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_resource_path"><code>spark_resource_path</code><a href="#spark_resource_path" class="hash-link" aria-label="spark_resource_path的直接链接" title="spark_resource_path的直接链接"></a></h4><p>默认值:空</p><p>默认值的 Spark 依赖路径</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_home_default_dir"><code>spark_home_default_dir</code><a href="#spark_home_default_dir" class="hash-link" aria-label="spark_home_default_dir的直接链接" title="spark_home_default_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/lib/spark2x&quot;</p><p>默认的 Spark home 路径</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="spark_dpp_version"><code>spark_dpp_version</code><a href="#spark_dpp_version" class="hash-link" aria-label="spark_dpp_version的直接链接" title="spark_dpp_version的直接链接"></a></h4><p>默认值:1.0.0</p><p>Spark 默认版本号</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="其他参数">其他参数<a href="#其他参数" class="hash-link" aria-label="其他参数的直接链接" title="其他参数的直接链接"></a></h3><h4 class="anchor anchorWithStickyNavbar_LWe7" id="tmp_dir"><code>tmp_dir</code><a href="#tmp_dir" class="hash-link" aria-label="tmp_dir的直接链接" title="tmp_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/temp_dir&quot;</p><p>temp dir 用于保存某些过程的中间结果,例如备份和恢复过程。 这些过程完成后,将清除此目录中的文件。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="custom_config_dir"><code>custom_config_dir</code><a href="#custom_config_dir" class="hash-link" aria-label="custom_config_dir的直接链接" title="custom_config_dir的直接链接"></a></h4><p>默认值:DorisFE.DORIS_HOME_DIR + &quot;/conf&quot;</p><p>自定义配置文件目录</p><p>配置 <code>fe_custom.conf</code> 文件的位置。默认为 <code>conf/</code> 目录下。</p><p>在某些部署环境下,<code>conf/</code> 目录可能因为系统的版本升级被覆盖掉。这会导致用户在运行是持久化修改的配置项也被覆盖。这时,我们可以将 <code>fe_custom.conf</code> 存储在另一个指定的目录中,以防止配置文件被覆盖。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="plugin_dir"><code>plugin_dir</code><a href="#plugin_dir" class="hash-link" aria-label="plugin_dir的直接链接" title="plugin_dir的直接链接"></a></h4><p>默认值:DORIS_HOME + &quot;/plugins</p><p>插件安装目录</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="plugin_enable"><code>plugin_enable</code><a href="#plugin_enable" class="hash-link" aria-label="plugin_enable的直接链接" title="plugin_enable的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>插件是否启用,默认启用</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="small_file_dir"><code>small_file_dir</code><a href="#small_file_dir" class="hash-link" aria-label="small_file_dir的直接链接" title="small_file_dir的直接链接"></a></h4><p>默认值:DORIS_HOME_DIR + “/small_files”</p><p>保存小文件的目录</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_small_file_size_bytes"><code>max_small_file_size_bytes</code><a href="#max_small_file_size_bytes" class="hash-link" aria-label="max_small_file_size_bytes的直接链接" title="max_small_file_size_bytes的直接链接"></a></h4><p>默认值:1M</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>SmallFileMgr 中单个文件存储的最大大小</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_small_file_number"><code>max_small_file_number</code><a href="#max_small_file_number" class="hash-link" aria-label="max_small_file_number的直接链接" title="max_small_file_number的直接链接"></a></h4><p>默认值:100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>SmallFileMgr 中存储的最大文件数</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_metric_calculator"><code>enable_metric_calculator</code><a href="#enable_metric_calculator" class="hash-link" aria-label="enable_metric_calculator的直接链接" title="enable_metric_calculator的直接链接"></a></h4><p>默认值:true</p><p>如果设置为 true,指标收集器将作为守护程序计时器运行,以固定间隔收集指标</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="report_queue_size"><code>report_queue_size</code><a href="#report_queue_size" class="hash-link" aria-label="report_queue_size的直接链接" title="report_queue_size的直接链接"></a></h4><p>默认值: 100</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>这个阈值是为了避免在 FE 中堆积过多的报告任务,可能会导致 OOM 异常等问题。 </p><p>并且每个 BE 每 1 分钟会报告一次 tablet 信息,因此无限制接收报告是不可接受的。
以后我们会优化 tablet 报告的处理速度</p><p><strong>不建议修改这个值</strong></p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="backup_job_default_timeout_ms"><code>backup_job_default_timeout_ms</code><a href="#backup_job_default_timeout_ms" class="hash-link" aria-label="backup_job_default_timeout_ms的直接链接" title="backup_job_default_timeout_ms的直接链接"></a></h4><p>默认值:86400 * 1000 (1天)</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>备份作业的默认超时时间</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="backup_upload_task_num_per_be"><code>backup_upload_task_num_per_be</code><a href="#backup_upload_task_num_per_be" class="hash-link" aria-label="backup_upload_task_num_per_be的直接链接" title="backup_upload_task_num_per_be的直接链接"></a></h4><p>默认值:3</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>备份过程中,分配给每个be的upload任务最大个数,默认值为3个。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="restore_download_task_num_per_be"><code>restore_download_task_num_per_be</code><a href="#restore_download_task_num_per_be" class="hash-link" aria-label="restore_download_task_num_per_be的直接链接" title="restore_download_task_num_per_be的直接链接"></a></h4><p>默认值:3</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>恢复过程中,分配给每个be的download任务最大个数,默认值为3个。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_backup_restore_job_num_per_db"><code>max_backup_restore_job_num_per_db</code><a href="#max_backup_restore_job_num_per_db" class="hash-link" aria-label="max_backup_restore_job_num_per_db的直接链接" title="max_backup_restore_job_num_per_db的直接链接"></a></h4><p>默认值:10</p><p>此配置用于控制每个 DB 能够记录的 backup/restore 任务的数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_quantile_state_type"><code>enable_quantile_state_type</code><a href="#enable_quantile_state_type" class="hash-link" aria-label="enable_quantile_state_type的直接链接" title="enable_quantile_state_type的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>是否开启 quantile_state 数据类型</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_date_conversion"><code>enable_date_conversion</code><a href="#enable_date_conversion" class="hash-link" aria-label="enable_date_conversion的直接链接" title="enable_date_conversion的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,FE 会自动将 Date/Datetime 转换为 DateV2/DatetimeV2(0)。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_decimal_conversion"><code>enable_decimal_conversion</code><a href="#enable_decimal_conversion" class="hash-link" aria-label="enable_decimal_conversion的直接链接" title="enable_decimal_conversion的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>如果设置为 true,FE 将自动将 DecimalV2 转换为 DecimalV3。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="proxy_auth_magic_prefix"><code>proxy_auth_magic_prefix</code><a href="#proxy_auth_magic_prefix" class="hash-link" aria-label="proxy_auth_magic_prefix的直接链接" title="proxy_auth_magic_prefix的直接链接"></a></h4><p>默认值:x@8</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="proxy_auth_enable"><code>proxy_auth_enable</code><a href="#proxy_auth_enable" class="hash-link" aria-label="proxy_auth_enable的直接链接" title="proxy_auth_enable的直接链接"></a></h4><p>默认值:false</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="enable_func_pushdown"><code>enable_func_pushdown</code><a href="#enable_func_pushdown" class="hash-link" aria-label="enable_func_pushdown的直接链接" title="enable_func_pushdown的直接链接"></a></h4><p>默认值:true</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>在ODBC、JDBC的MYSQL外部表查询时,是否将带函数的过滤条件下推到MYSQL中执行</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="jdbc_drivers_dir"><code>jdbc_drivers_dir</code><a href="#jdbc_drivers_dir" class="hash-link" aria-label="jdbc_drivers_dir的直接链接" title="jdbc_drivers_dir的直接链接"></a></h4><p>默认值:<code>${DORIS_HOME}/jdbc_drivers</code>;</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>用于存放默认的 jdbc drivers</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="max_error_tablet_of_broker_load"><code>max_error_tablet_of_broker_load</code><a href="#max_error_tablet_of_broker_load" class="hash-link" aria-label="max_error_tablet_of_broker_load的直接链接" title="max_error_tablet_of_broker_load的直接链接"></a></h4><p>默认值:3;</p><p>是否可以动态配置: true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>broker load job 保存的失败tablet 信息的最大数量</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="default_db_max_running_txn_num"><code>default_db_max_running_txn_num</code><a href="#default_db_max_running_txn_num" class="hash-link" aria-label="default_db_max_running_txn_num的直接链接" title="default_db_max_running_txn_num的直接链接"></a></h4><p>默认值:-1</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:true</p><p>用于设置默认数据库事务配额大小。</p><p>默认值设置为 -1 意味着使用 <code>max_running_txn_num_per_db</code> 而不是 <code>default_db_max_running_txn_num</code></p><p>设置单个数据库的配额大小可以使用:</p><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">设置数据库事务量配额</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">ALTER DATABASE db_name SET TRANSACTION QUOTA quota;</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">查看配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">show data (其他用法:HELP SHOW DATA)</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="复制代码到剪贴板" title="复制" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h4 class="anchor anchorWithStickyNavbar_LWe7" id="prefer_compute_node_for_external_table"><code>prefer_compute_node_for_external_table</code><a href="#prefer_compute_node_for_external_table" class="hash-link" aria-label="prefer_compute_node_for_external_table的直接链接" title="prefer_compute_node_for_external_table的直接链接"></a></h4><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>如果设置为 true,对外部表的查询将优先分配给计算节点。计算节点的最大数量由 <code>min_backend_num_for_external_table</code> 控制。如果设置为 false,对外部表的查询将分配给任何节点。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="min_backend_num_for_external_table"><code>min_backend_num_for_external_table</code><a href="#min_backend_num_for_external_table" class="hash-link" aria-label="min_backend_num_for_external_table的直接链接" title="min_backend_num_for_external_table的直接链接"></a></h4><p>默认值:3</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>仅在 <code>prefer_compute_node_for_external_table</code> 为 true 时生效。如果计算节点数小于此值,则对外部表的查询将尝试使用一些混合节点,让节点总数达到这个值。
如果计算节点数大于这个值,外部表的查询将只分配给计算节点。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="infodb_support_ext_catalog"><code>infodb_support_ext_catalog</code><a href="#infodb_support_ext_catalog" class="hash-link" aria-label="infodb_support_ext_catalog的直接链接" title="infodb_support_ext_catalog的直接链接"></a></h4><span class="version-mark paragraph"><span class="v-mark"><span class="version-tags"><span class="version-tag"><span class="version-tag-t">Since</span><span class="version-tag-n since">Version <!-- -->1.2.4</span></span></span></span></span><p>默认值:false</p><p>是否可以动态配置:true</p><p>是否为 Master FE 节点独有的配置项:false</p><p>当设置为 false 时,查询 <code>information_schema</code> 中的表时,将不再返回 external catalog 中的表的信息。</p><p>这个参数主要用于避免因 external catalog 无法访问、信息过多等原因导致的查询 <code>information_schema</code> 超时的问题。</p><h4 class="anchor anchorWithStickyNavbar_LWe7" id="fe_thrift_max_pkg_bytes"><code>fe_thrift_max_pkg_bytes</code><a href="#fe_thrift_max_pkg_bytes" class="hash-link" aria-label="fe_thrift_max_pkg_bytes的直接链接" title="fe_thrift_max_pkg_bytes的直接链接"></a></h4><p>默认值:20000000</p><p>是否可以动态配置:false</p><p>是否为 Master FE 节点独有的配置项:false</p><p>用于限制fe节点thrift端口可以接收的最大包长度,避免接收到过大或者错误的包导致OOM</p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="文件选项卡"><a class="pagination-nav__link pagination-nav__link--prev" href="/zh-CN/docs/1.2/admin-manual/config/config-dir"><div class="pagination-nav__sublabel">上一页</div><div class="pagination-nav__label">配置文件目录</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/zh-CN/docs/1.2/admin-manual/config/be-config"><div class="pagination-nav__sublabel">下一页</div><div class="pagination-nav__label">BE 配置项</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_jeP5 thin-scrollbar theme-doc-toc-desktop"><a href="https://ask.selectdb.com" target="_blank" rel="noopener noreferrer" class="ml-4 mb-8 flex items-center hover:no-underline"><span class="pr-2">问答论坛</span><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8500" id="mx_n_1711090272569" width="16" height="16"><path d="M522.24 896.512c-25.6 4.608-51.712 7.168-78.336 7.168-79.36 0-157.696-21.504-225.792-62.464l-18.432-10.752-103.936 28.16c-28.672 7.68-54.784-18.432-47.104-47.104l28.16-103.936c-10.752-17.92-17.408-30.208-20.992-36.864C20.992 607.232 3.072 536.064 3.584 463.36c0-243.2 197.12-440.32 440.32-440.32 221.696 0 405.504 164.352 435.712 377.856 90.112 55.808 144.896 154.112 144.896 260.096 0 51.2-12.8 100.352-36.352 144.384-2.048 4.096-6.144 10.752-11.776 20.48l17.408 64c7.68 28.672-18.432 54.784-47.104 47.104l-64-17.408-7.68 4.608c-47.616 28.672-101.888 43.52-157.184 43.52-71.68-0.512-140.8-25.088-195.584-71.168z m95.232-28.672c31.232 15.36 65.536 23.04 100.352 23.04 41.472 0 82.432-11.264 117.76-32.768 2.56-1.536 9.728-5.632 22.016-12.8 8.704-5.12 19.456-6.656 29.184-3.584l14.848 4.096-4.096-14.848c-2.56-10.24-1.536-20.48 4.096-29.696 6.144-10.24 12.288-20.992 18.432-31.232 17.92-33.28 27.136-70.656 27.136-108.544 0-59.904-23.552-117.76-65.536-160.256-13.312 164.352-118.272 303.616-264.192 366.592z m-462.848-155.648l-14.848 54.784 54.784-14.848c9.728-2.56 20.48-1.536 29.184 4.096 18.432 10.752 29.184 16.896 32.768 19.456 56.32 33.792 120.832 51.712 186.88 51.712 200.704 0 363.52-162.816 363.52-363.52s-162.816-363.52-363.52-363.52-363.52 162.816-363.52 363.52c0 60.928 14.848 119.296 43.008 171.52 3.584 7.168 13.312 23.04 27.648 47.616 5.632 8.704 6.656 19.456 4.096 29.184z m448.512-382.976c20.992 0 38.4 16.896 38.4 38.4 0 20.992-16.896 38.4-38.4 38.4H284.16c-20.992 0-38.4-16.896-38.4-38.4 0-20.992 16.896-38.4 38.4-38.4h318.976z m-153.088 191.488c20.992 0 38.4 16.896 38.4 38.4 0 20.992-16.896 38.4-38.4 38.4H284.16c-20.992 0-38.4-16.896-38.4-38.4 0-20.992 16.896-38.4 38.4-38.4h165.888z m0 0" p-id="8501" fill="currentColor"></path></svg></a><span class="ml-4">本页导航</span><ul class="table-of-contents table-of-contents__left-border"><li><a href="#查看配置项" class="table-of-contents__link toc-highlight">查看配置项</a></li><li><a href="#设置配置项" class="table-of-contents__link toc-highlight">设置配置项</a></li><li><a href="#应用举例" class="table-of-contents__link toc-highlight">应用举例</a></li><li><a href="#配置项列表" class="table-of-contents__link toc-highlight">配置项列表</a><ul><li><a href="#元数据与集群管理" class="table-of-contents__link toc-highlight">元数据与集群管理</a><ul><li><a href="#meta_dir" class="table-of-contents__link toc-highlight"><code>meta_dir</code></a></li><li><a href="#catalog_try_lock_timeout_ms" class="table-of-contents__link toc-highlight"><code>catalog_try_lock_timeout_ms</code></a></li><li><a href="#enable_bdbje_debug_mode" class="table-of-contents__link toc-highlight"><code>enable_bdbje_debug_mode</code></a></li><li><a href="#max_bdbje_clock_delta_ms" class="table-of-contents__link toc-highlight"><code>max_bdbje_clock_delta_ms</code></a></li><li><a href="#metadata_failure_recovery" class="table-of-contents__link toc-highlight"><code>metadata_failure_recovery</code></a></li><li><a href="#txn_rollback_limit" class="table-of-contents__link toc-highlight"><code>txn_rollback_limit</code></a></li><li><a href="#bdbje_replica_ack_timeout_second" class="table-of-contents__link toc-highlight"><code>bdbje_replica_ack_timeout_second</code></a></li></ul></li><li><a href="#grpc_threadmgr_threads_nums" class="table-of-contents__link toc-highlight"><code>grpc_threadmgr_threads_nums</code></a><ul><li><a href="#bdbje_lock_timeout_second" class="table-of-contents__link toc-highlight"><code>bdbje_lock_timeout_second</code></a></li><li><a href="#bdbje_heartbeat_timeout_second" class="table-of-contents__link toc-highlight"><code>bdbje_heartbeat_timeout_second</code></a></li><li><a href="#replica_ack_policy" class="table-of-contents__link toc-highlight"><code>replica_ack_policy</code></a></li><li><a href="#replica_sync_policy" class="table-of-contents__link toc-highlight"><code>replica_sync_policy</code></a></li><li><a href="#master_sync_policy" class="table-of-contents__link toc-highlight"><code>master_sync_policy</code></a></li><li><a href="#bdbje_reserved_disk_bytes" class="table-of-contents__link toc-highlight"><code>bdbje_reserved_disk_bytes</code></a></li><li><a href="#ignore_meta_check" class="table-of-contents__link toc-highlight"><code>ignore_meta_check</code></a></li><li><a href="#meta_delay_toleration_second" class="table-of-contents__link toc-highlight"><code>meta_delay_toleration_second</code></a></li><li><a href="#edit_log_port" class="table-of-contents__link toc-highlight"><code>edit_log_port</code></a></li><li><a href="#edit_log_type" class="table-of-contents__link toc-highlight"><code>edit_log_type</code></a></li><li><a href="#edit_log_roll_num" class="table-of-contents__link toc-highlight"><code>edit_log_roll_num</code></a></li><li><a href="#force_do_metadata_checkpoint" class="table-of-contents__link toc-highlight"><code>force_do_metadata_checkpoint</code></a></li><li><a href="#metadata_checkpoint_memory_threshold" class="table-of-contents__link toc-highlight"><code>metadata_checkpoint_memory_threshold</code></a></li><li><a href="#max_same_name_catalog_trash_num" class="table-of-contents__link toc-highlight"><code>max_same_name_catalog_trash_num</code></a></li><li><a href="#cluster_id" class="table-of-contents__link toc-highlight"><code>cluster_id</code></a></li><li><a href="#heartbeat_mgr_blocking_queue_size" class="table-of-contents__link toc-highlight"><code>heartbeat_mgr_blocking_queue_size</code></a></li><li><a href="#heartbeat_mgr_threads_num" class="table-of-contents__link toc-highlight"><code>heartbeat_mgr_threads_num</code></a></li><li><a href="#disable_cluster_feature" class="table-of-contents__link toc-highlight"><code>disable_cluster_feature</code></a></li><li><a href="#enable_deploy_manager" class="table-of-contents__link toc-highlight"><code>enable_deploy_manager</code></a></li><li><a href="#with_k8s_certs" class="table-of-contents__link toc-highlight"><code>with_k8s_certs</code></a></li><li><a href="#enable_fqdn_mode" class="table-of-contents__link toc-highlight"><code>enable_fqdn_mode</code></a></li><li><a href="#enable_token_check" class="table-of-contents__link toc-highlight"><code>enable_token_check</code></a></li><li><a href="#enable_multi_tags" class="table-of-contents__link toc-highlight"><code>enable_multi_tags</code></a></li></ul></li><li><a href="#服务" class="table-of-contents__link toc-highlight">服务</a><ul><li><a href="#query_port" class="table-of-contents__link toc-highlight"><code>query_port</code></a></li><li><a href="#frontend_address" class="table-of-contents__link toc-highlight"><code>frontend_address</code></a></li><li><a href="#priority_networks" class="table-of-contents__link toc-highlight"><code>priority_networks</code></a></li><li><a href="#http_port" class="table-of-contents__link toc-highlight"><code>http_port</code></a></li><li><a href="#https_port" class="table-of-contents__link toc-highlight"><code>https_port</code></a></li><li><a href="#enable_https" class="table-of-contents__link toc-highlight"><code>enable_https</code></a></li><li><a href="#enable_ssl" class="table-of-contents__link toc-highlight"><code>enable_ssl</code></a></li><li><a href="#qe_max_connection" class="table-of-contents__link toc-highlight"><code>qe_max_connection</code></a></li><li><a href="#max_connection_scheduler_threads_num" class="table-of-contents__link toc-highlight"><code>max_connection_scheduler_threads_num</code></a></li><li><a href="#check_java_version" class="table-of-contents__link toc-highlight"><code>check_java_version</code></a></li><li><a href="#rpc_port" class="table-of-contents__link toc-highlight"><code>rpc_port</code></a></li><li><a href="#thrift_server_type" class="table-of-contents__link toc-highlight"><code>thrift_server_type</code></a></li><li><a href="#thrift_server_max_worker_threads" class="table-of-contents__link toc-highlight"><code>thrift_server_max_worker_threads</code></a></li><li><a href="#thrift_backlog_num" class="table-of-contents__link toc-highlight"><code>thrift_backlog_num</code></a></li><li><a href="#thrift_client_timeout_ms" class="table-of-contents__link toc-highlight"><code>thrift_client_timeout_ms</code></a></li><li><a href="#use_compact_thrift_rpc" class="table-of-contents__link toc-highlight"><code>use_compact_thrift_rpc</code></a></li><li><a href="#grpc_max_message_size_bytes" class="table-of-contents__link toc-highlight"><code>grpc_max_message_size_bytes</code></a></li><li><a href="#max_mysql_service_task_threads_num" class="table-of-contents__link toc-highlight"><code>max_mysql_service_task_threads_num</code></a></li><li><a href="#mysql_service_io_threads_num" class="table-of-contents__link toc-highlight"><code>mysql_service_io_threads_num</code></a></li><li><a href="#mysql_nio_backlog_num" class="table-of-contents__link toc-highlight"><code>mysql_nio_backlog_num</code></a></li><li><a href="#broker_timeout_ms" class="table-of-contents__link toc-highlight"><code>broker_timeout_ms</code></a></li><li><a href="#backend_rpc_timeout_ms" class="table-of-contents__link toc-highlight"><code>backend_rpc_timeout_ms</code></a></li><li><a href="#drop_backend_after_decommission" class="table-of-contents__link toc-highlight"><code>drop_backend_after_decommission</code></a></li><li><a href="#max_backend_down_time_second" class="table-of-contents__link toc-highlight"><code>max_backend_down_time_second</code></a></li><li><a href="#disable_backend_black_list" class="table-of-contents__link toc-highlight"><code>disable_backend_black_list</code></a></li><li><a href="#max_backend_heartbeat_failure_tolerance_count" class="table-of-contents__link toc-highlight"><code>max_backend_heartbeat_failure_tolerance_count</code></a></li><li><a href="#enable_access_file_without_broker" class="table-of-contents__link toc-highlight"><code>enable_access_file_without_broker</code></a></li><li><a href="#agent_task_resend_wait_time_ms" class="table-of-contents__link toc-highlight"><code>agent_task_resend_wait_time_ms</code></a></li><li><a href="#max_agent_task_threads_num" class="table-of-contents__link toc-highlight"><code>max_agent_task_threads_num</code></a></li><li><a href="#remote_fragment_exec_timeout_ms" class="table-of-contents__link toc-highlight"><code>remote_fragment_exec_timeout_ms</code></a></li><li><a href="#auth_token" class="table-of-contents__link toc-highlight"><code>auth_token</code></a></li><li><a href="#enable_http_server_v2" class="table-of-contents__link toc-highlight"><code>enable_http_server_v2</code></a></li><li><a href="#http_api_extra_base_path" class="table-of-contents__link toc-highlight"><code>http_api_extra_base_path</code></a></li><li><a href="#jetty_server_acceptors" class="table-of-contents__link toc-highlight"><code>jetty_server_acceptors</code></a></li><li><a href="#jetty_server_selectors" class="table-of-contents__link toc-highlight"><code>jetty_server_selectors</code></a></li><li><a href="#jetty_server_workers" class="table-of-contents__link toc-highlight"><code>jetty_server_workers</code></a></li><li><a href="#jetty_server_max_http_post_size" class="table-of-contents__link toc-highlight"><code>jetty_server_max_http_post_size</code></a></li><li><a href="#jetty_server_max_http_header_size" class="table-of-contents__link toc-highlight"><code>jetty_server_max_http_header_size</code></a></li><li><a href="#enable_tracing" class="table-of-contents__link toc-highlight"><code>enable_tracing</code></a></li><li><a href="#trace_exporter" class="table-of-contents__link toc-highlight"><code>trace_exporter</code></a></li><li><a href="#trace_export_url" class="table-of-contents__link toc-highlight"><code>trace_export_url</code></a></li><li><a href="#http_sql_submitter_max_worker_threads" class="table-of-contents__link toc-highlight"><code>http_sql_submitter_max_worker_threads</code></a></li><li><a href="#http_load_submitter_max_worker_threads" class="table-of-contents__link toc-highlight"><code>http_load_submitter_max_worker_threads</code></a></li></ul></li><li><a href="#查询引擎" class="table-of-contents__link toc-highlight">查询引擎</a><ul><li><a href="#default_max_query_instances" class="table-of-contents__link toc-highlight"><code>default_max_query_instances</code></a></li><li><a href="#max_query_retry_time" class="table-of-contents__link toc-highlight"><code>max_query_retry_time</code></a></li><li><a href="#max_dynamic_partition_num" class="table-of-contents__link toc-highlight"><code>max_dynamic_partition_num</code></a></li><li><a href="#dynamic_partition_enable" class="table-of-contents__link toc-highlight"><code>dynamic_partition_enable</code></a></li><li><a href="#dynamic_partition_check_interval_seconds" class="table-of-contents__link toc-highlight"><code>dynamic_partition_check_interval_seconds</code></a></li><li><a href="#max_multi_partition_num" class="table-of-contents__link toc-highlight"><code>max_multi_partition_num</code></a></li><li><a href="#partition_in_memory_update_interval_secs" class="table-of-contents__link toc-highlight"><code>partition_in_memory_update_interval_secs</code></a></li><li><a href="#enable_concurrent_update" class="table-of-contents__link toc-highlight"><code>enable_concurrent_update</code></a></li><li><a href="#lower_case_table_names" class="table-of-contents__link toc-highlight"><code>lower_case_table_names</code></a></li><li><a href="#table_name_length_limit" class="table-of-contents__link toc-highlight"><code>table_name_length_limit</code></a></li><li><a href="#cache_enable_sql_mode" class="table-of-contents__link toc-highlight"><code>cache_enable_sql_mode</code></a></li><li><a href="#cache_enable_partition_mode" class="table-of-contents__link toc-highlight"><code>cache_enable_partition_mode</code></a></li><li><a href="#cache_result_max_row_count" class="table-of-contents__link toc-highlight"><code>cache_result_max_row_count</code></a></li><li><a href="#cache_last_version_interval_second" class="table-of-contents__link toc-highlight"><code>cache_last_version_interval_second</code></a></li><li><a href="#enable_batch_delete_by_default" class="table-of-contents__link toc-highlight"><code>enable_batch_delete_by_default</code></a></li><li><a href="#max_allowed_in_element_num_of_delete" class="table-of-contents__link toc-highlight"><code>max_allowed_in_element_num_of_delete</code></a></li><li><a href="#max_running_rollup_job_num_per_table" class="table-of-contents__link toc-highlight"><code>max_running_rollup_job_num_per_table</code></a></li><li><a href="#max_distribution_pruner_recursion_depth" class="table-of-contents__link toc-highlight"><code>max_distribution_pruner_recursion_depth</code></a></li><li><a href="#enable_local_replica_selection" class="table-of-contents__link toc-highlight"><code>enable_local_replica_selection</code></a></li><li><a href="#enable_local_replica_selection_fallback" class="table-of-contents__link toc-highlight"><code>enable_local_replica_selection_fallback</code></a></li><li><a href="#expr_depth_limit" class="table-of-contents__link toc-highlight"><code>expr_depth_limit</code></a></li><li><a href="#expr_children_limit" class="table-of-contents__link toc-highlight"><code>expr_children_limit</code></a></li><li><a href="#be_exec_version" class="table-of-contents__link toc-highlight"><code>be_exec_version</code></a></li><li><a href="#max_be_exec_version" class="table-of-contents__link toc-highlight"><code>max_be_exec_version</code></a></li><li><a href="#min_be_exec_version" class="table-of-contents__link toc-highlight"><code>min_be_exec_version</code></a></li><li><a href="#max_query_profile_num" class="table-of-contents__link toc-highlight"><code>max_query_profile_num</code></a></li><li><a href="#publish_version_interval_ms" class="table-of-contents__link toc-highlight"><code>publish_version_interval_ms</code></a></li><li><a href="#publish_version_timeout_second" class="table-of-contents__link toc-highlight"><code>publish_version_timeout_second</code></a></li><li><a href="#query_colocate_join_memory_limit_penalty_factor" class="table-of-contents__link toc-highlight"><code>query_colocate_join_memory_limit_penalty_factor</code></a></li><li><a href="#rewrite_count_distinct_to_bitmap_hll" class="table-of-contents__link toc-highlight"><code>rewrite_count_distinct_to_bitmap_hll</code></a></li></ul></li><li><a href="#导入与导出" class="table-of-contents__link toc-highlight">导入与导出</a><ul><li><a href="#enable_vectorized_load" class="table-of-contents__link toc-highlight"><code>enable_vectorized_load</code></a></li><li><a href="#enable_new_load_scan_node" class="table-of-contents__link toc-highlight"><code>enable_new_load_scan_node</code></a></li><li><a href="#default_max_filter_ratio" class="table-of-contents__link toc-highlight"><code>default_max_filter_ratio</code></a></li><li><a href="#max_running_txn_num_per_db" class="table-of-contents__link toc-highlight"><code>max_running_txn_num_per_db</code></a></li><li><a href="#using_old_load_usage_pattern" class="table-of-contents__link toc-highlight"><code>using_old_load_usage_pattern</code></a></li><li><a href="#disable_load_job" class="table-of-contents__link toc-highlight"><code>disable_load_job</code></a></li><li><a href="#commit_timeout_second" class="table-of-contents__link toc-highlight"><code>commit_timeout_second</code></a></li><li><a href="#max_unfinished_load_job" class="table-of-contents__link toc-highlight"><code>max_unfinished_load_job</code></a></li><li><a href="#db_used_data_quota_update_interval_secs" class="table-of-contents__link toc-highlight"><code>db_used_data_quota_update_interval_secs</code></a></li><li><a href="#disable_show_stream_load" class="table-of-contents__link toc-highlight"><code>disable_show_stream_load</code></a></li><li><a href="#max_stream_load_record_size" class="table-of-contents__link toc-highlight"><code>max_stream_load_record_size</code></a></li><li><a href="#fetch_stream_load_record_interval_second" class="table-of-contents__link toc-highlight"><code>fetch_stream_load_record_interval_second</code></a></li><li><a href="#max_bytes_per_broker_scanner" class="table-of-contents__link toc-highlight"><code>max_bytes_per_broker_scanner</code></a></li><li><a href="#default_load_parallelism" class="table-of-contents__link toc-highlight"><code>default_load_parallelism</code></a></li><li><a href="#max_broker_concurrency" class="table-of-contents__link toc-highlight"><code>max_broker_concurrency</code></a></li><li><a href="#min_bytes_per_broker_scanner" class="table-of-contents__link toc-highlight"><code>min_bytes_per_broker_scanner</code></a></li><li><a href="#period_of_auto_resume_min" class="table-of-contents__link toc-highlight"><code>period_of_auto_resume_min</code></a></li><li><a href="#max_tolerable_backend_down_num" class="table-of-contents__link toc-highlight"><code>max_tolerable_backend_down_num</code></a></li><li><a href="#max_routine_load_task_num_per_be" class="table-of-contents__link toc-highlight"><code>max_routine_load_task_num_per_be</code></a></li><li><a href="#max_routine_load_task_concurrent_num" class="table-of-contents__link toc-highlight"><code>max_routine_load_task_concurrent_num</code></a></li><li><a href="#max_routine_load_job_num" class="table-of-contents__link toc-highlight"><code>max_routine_load_job_num</code></a></li><li><a href="#desired_max_waiting_jobs" class="table-of-contents__link toc-highlight"><code>desired_max_waiting_jobs</code></a></li><li><a href="#disable_hadoop_load" class="table-of-contents__link toc-highlight"><code>disable_hadoop_load</code></a></li><li><a href="#enable_spark_load" class="table-of-contents__link toc-highlight"><code>enable_spark_load</code></a></li><li><a href="#spark_load_checker_interval_second" class="table-of-contents__link toc-highlight"><code>spark_load_checker_interval_second</code></a></li><li><a href="#async_loading_load_task_pool_size" class="table-of-contents__link toc-highlight"><code>async_loading_load_task_pool_size</code></a></li><li><a href="#async_pending_load_task_pool_size" class="table-of-contents__link toc-highlight"><code>async_pending_load_task_pool_size</code></a></li><li><a href="#async_load_task_pool_size" class="table-of-contents__link toc-highlight"><code>async_load_task_pool_size</code></a></li><li><a href="#enable_single_replica_load" class="table-of-contents__link toc-highlight"><code>enable_single_replica_load</code></a></li><li><a href="#min_load_timeout_second" class="table-of-contents__link toc-highlight"><code>min_load_timeout_second</code></a></li><li><a href="#max_stream_load_timeout_second" class="table-of-contents__link toc-highlight"><code>max_stream_load_timeout_second</code></a></li><li><a href="#max_load_timeout_second" class="table-of-contents__link toc-highlight"><code>max_load_timeout_second</code></a></li><li><a href="#stream_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>stream_load_default_timeout_second</code></a></li><li><a href="#stream_load_default_precommit_timeout_second" class="table-of-contents__link toc-highlight"><code>stream_load_default_precommit_timeout_second</code></a></li><li><a href="#insert_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>insert_load_default_timeout_second</code></a></li><li><a href="#mini_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>mini_load_default_timeout_second</code></a></li><li><a href="#broker_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>broker_load_default_timeout_second</code></a></li><li><a href="#spark_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>spark_load_default_timeout_second</code></a></li><li><a href="#hadoop_load_default_timeout_second" class="table-of-contents__link toc-highlight"><code>hadoop_load_default_timeout_second</code></a></li><li><a href="#load_running_job_num_limit" class="table-of-contents__link toc-highlight"><code>load_running_job_num_limit</code></a></li><li><a href="#load_input_size_limit_gb" class="table-of-contents__link toc-highlight"><code>load_input_size_limit_gb</code></a></li><li><a href="#load_etl_thread_num_normal_priority" class="table-of-contents__link toc-highlight"><code>load_etl_thread_num_normal_priority</code></a></li><li><a href="#load_etl_thread_num_high_priority" class="table-of-contents__link toc-highlight"><code>load_etl_thread_num_high_priority</code></a></li><li><a href="#load_pending_thread_num_normal_priority" class="table-of-contents__link toc-highlight"><code>load_pending_thread_num_normal_priority</code></a></li><li><a href="#load_pending_thread_num_high_priority" class="table-of-contents__link toc-highlight"><code>load_pending_thread_num_high_priority</code></a></li><li><a href="#load_checker_interval_second" class="table-of-contents__link toc-highlight"><code>load_checker_interval_second</code></a></li><li><a href="#load_straggler_wait_second" class="table-of-contents__link toc-highlight"><code>load_straggler_wait_second</code></a></li><li><a href="#label_keep_max_second" class="table-of-contents__link toc-highlight"><code>label_keep_max_second</code></a></li><li><a href="#streaming_label_keep_max_second" class="table-of-contents__link toc-highlight"><code>streaming_label_keep_max_second</code></a></li><li><a href="#label_clean_interval_second" class="table-of-contents__link toc-highlight"><code>label_clean_interval_second</code></a></li><li><a href="#transaction_clean_interval_second" class="table-of-contents__link toc-highlight"><code>transaction_clean_interval_second</code></a></li><li><a href="#sync_commit_interval_second" class="table-of-contents__link toc-highlight"><code>sync_commit_interval_second</code></a></li><li><a href="#sync_checker_interval_second" class="table-of-contents__link toc-highlight"><code>sync_checker_interval_second</code></a></li><li><a href="#max_sync_task_threads_num" class="table-of-contents__link toc-highlight"><code>max_sync_task_threads_num</code></a></li><li><a href="#min_sync_commit_size" class="table-of-contents__link toc-highlight"><code>min_sync_commit_size</code></a></li><li><a href="#min_bytes_sync_commit" class="table-of-contents__link toc-highlight"><code>min_bytes_sync_commit</code></a></li><li><a href="#max_bytes_sync_commit" class="table-of-contents__link toc-highlight"><code>max_bytes_sync_commit</code></a></li><li><a href="#enable_outfile_to_local" class="table-of-contents__link toc-highlight"><code>enable_outfile_to_local</code></a></li><li><a href="#export_tablet_num_per_task" class="table-of-contents__link toc-highlight"><code>export_tablet_num_per_task</code></a></li><li><a href="#export_task_default_timeout_second" class="table-of-contents__link toc-highlight"><code>export_task_default_timeout_second</code></a></li><li><a href="#export_running_job_num_limit" class="table-of-contents__link toc-highlight"><code>export_running_job_num_limit</code></a></li><li><a href="#export_checker_interval_second" class="table-of-contents__link toc-highlight"><code>export_checker_interval_second</code></a></li></ul></li><li><a href="#日志" class="table-of-contents__link toc-highlight">日志</a><ul><li><a href="#log_roll_size_mb" class="table-of-contents__link toc-highlight"><code>log_roll_size_mb</code></a></li><li><a href="#sys_log_dir" class="table-of-contents__link toc-highlight"><code>sys_log_dir</code></a></li><li><a href="#sys_log_level" class="table-of-contents__link toc-highlight"><code>sys_log_level</code></a></li><li><a href="#sys_log_roll_num" class="table-of-contents__link toc-highlight"><code>sys_log_roll_num</code></a></li><li><a href="#sys_log_verbose_modules" class="table-of-contents__link toc-highlight"><code>sys_log_verbose_modules</code></a></li><li><a href="#sys_log_roll_interval" class="table-of-contents__link toc-highlight"><code>sys_log_roll_interval</code></a></li><li><a href="#sys_log_delete_age" class="table-of-contents__link toc-highlight"><code>sys_log_delete_age</code></a></li><li><a href="#sys_log_roll_mode" class="table-of-contents__link toc-highlight"><code>sys_log_roll_mode</code></a></li><li><a href="#sys_log_enable_compress" class="table-of-contents__link toc-highlight"><code>sys_log_enable_compress</code></a></li><li><a href="#audit_log_dir" class="table-of-contents__link toc-highlight"><code>audit_log_dir</code></a></li><li><a href="#audit_log_roll_num" class="table-of-contents__link toc-highlight"><code>audit_log_roll_num</code></a></li><li><a href="#audit_log_modules" class="table-of-contents__link toc-highlight"><code>audit_log_modules</code></a></li><li><a href="#qe_slow_log_ms" class="table-of-contents__link toc-highlight"><code>qe_slow_log_ms</code></a></li><li><a href="#audit_log_roll_interval" class="table-of-contents__link toc-highlight"><code>audit_log_roll_interval</code></a></li><li><a href="#audit_log_delete_age" class="table-of-contents__link toc-highlight"><code>audit_log_delete_age</code></a></li><li><a href="#audit_log_enable_compress" class="table-of-contents__link toc-highlight"><code>audit_log_enable_compress</code></a></li></ul></li><li><a href="#存储" class="table-of-contents__link toc-highlight">存储</a><ul><li><a href="#min_replication_num_per_tablet" class="table-of-contents__link toc-highlight"><code>min_replication_num_per_tablet</code></a></li><li><a href="#max_replication_num_per_tablet" class="table-of-contents__link toc-highlight"><code>max_replication_num_per_tablet</code></a></li><li><a href="#default_db_data_quota_bytes" class="table-of-contents__link toc-highlight"><code>default_db_data_quota_bytes</code></a></li><li><a href="#default_db_replica_quota_size" class="table-of-contents__link toc-highlight"><code>default_db_replica_quota_size</code></a></li><li><a href="#recover_with_empty_tablet" class="table-of-contents__link toc-highlight"><code>recover_with_empty_tablet</code></a></li><li><a href="#min_clone_task_timeout_sec--和-max_clone_task_timeout_sec" class="table-of-contents__link toc-highlight"><code>min_clone_task_timeout_sec</code><code>max_clone_task_timeout_sec</code></a></li><li><a href="#disable_storage_medium_check" class="table-of-contents__link toc-highlight"><code>disable_storage_medium_check</code></a></li><li><a href="#decommission_tablet_check_threshold" class="table-of-contents__link toc-highlight"><code>decommission_tablet_check_threshold</code></a></li><li><a href="#partition_rebalance_max_moves_num_per_selection" class="table-of-contents__link toc-highlight"><code>partition_rebalance_max_moves_num_per_selection</code></a></li><li><a href="#partition_rebalance_move_expire_after_access" class="table-of-contents__link toc-highlight"><code>partition_rebalance_move_expire_after_access</code></a></li><li><a href="#tablet_rebalancer_type" class="table-of-contents__link toc-highlight">tablet_rebalancer_type</a></li><li><a href="#max_balancing_tablets" class="table-of-contents__link toc-highlight"><code>max_balancing_tablets</code></a></li><li><a href="#max_scheduling_tablets" class="table-of-contents__link toc-highlight"><code>max_scheduling_tablets</code></a></li><li><a href="#disable_balance" class="table-of-contents__link toc-highlight"><code>disable_balance</code></a></li><li><a href="#disable_disk_balance" class="table-of-contents__link toc-highlight"><code>disable_disk_balance</code></a></li><li><a href="#balance_load_score_threshold" class="table-of-contents__link toc-highlight"><code>balance_load_score_threshold</code></a></li><li><a href="#capacity_used_percent_high_water" class="table-of-contents__link toc-highlight"><code>capacity_used_percent_high_water</code></a></li><li><a href="#clone_distribution_balance_threshold" class="table-of-contents__link toc-highlight"><code>clone_distribution_balance_threshold</code></a></li><li><a href="#clone_capacity_balance_threshold" class="table-of-contents__link toc-highlight"><code>clone_capacity_balance_threshold</code></a></li><li><a href="#disable_colocate_balance" class="table-of-contents__link toc-highlight"><code>disable_colocate_balance</code></a></li><li><a href="#balance_slot_num_per_path" class="table-of-contents__link toc-highlight"><code>balance_slot_num_per_path</code></a></li><li><a href="#disable_tablet_scheduler" class="table-of-contents__link toc-highlight"><code>disable_tablet_scheduler</code></a></li><li><a href="#enable_force_drop_redundant_replica" class="table-of-contents__link toc-highlight"><code>enable_force_drop_redundant_replica</code></a></li><li><a href="#colocate_group_relocate_delay_second" class="table-of-contents__link toc-highlight"><code>colocate_group_relocate_delay_second</code></a></li><li><a href="#allow_replica_on_same_host" class="table-of-contents__link toc-highlight"><code>allow_replica_on_same_host</code></a></li><li><a href="#repair_slow_replica" class="table-of-contents__link toc-highlight"><code>repair_slow_replica</code></a></li><li><a href="#min_version_count_indicate_replica_compaction_too_slow" class="table-of-contents__link toc-highlight"><code>min_version_count_indicate_replica_compaction_too_slow</code></a></li><li><a href="#skip_compaction_slower_replica" class="table-of-contents__link toc-highlight"><code>skip_compaction_slower_replica</code></a></li><li><a href="#valid_version_count_delta_ratio_between_replicas" class="table-of-contents__link toc-highlight"><code>valid_version_count_delta_ratio_between_replicas</code></a></li><li><a href="#min_bytes_indicate_replica_too_large" class="table-of-contents__link toc-highlight"><code>min_bytes_indicate_replica_too_large</code></a></li><li><a href="#schedule_slot_num_per_path" class="table-of-contents__link toc-highlight"><code>schedule_slot_num_per_path</code></a></li><li><a href="#tablet_repair_delay_factor_second" class="table-of-contents__link toc-highlight"><code>tablet_repair_delay_factor_second</code></a></li><li><a href="#tablet_stat_update_interval_second" class="table-of-contents__link toc-highlight"><code>tablet_stat_update_interval_second</code></a></li><li><a href="#storage_flood_stage_usage_percent" class="table-of-contents__link toc-highlight"><code>storage_flood_stage_usage_percent</code></a></li><li><a href="#storage_flood_stage_left_capacity_bytes" class="table-of-contents__link toc-highlight"><code>storage_flood_stage_left_capacity_bytes</code></a></li><li><a href="#storage_high_watermark_usage_percent" class="table-of-contents__link toc-highlight"><code>storage_high_watermark_usage_percent</code></a></li><li><a href="#storage_min_left_capacity_bytes" class="table-of-contents__link toc-highlight"><code>storage_min_left_capacity_bytes</code></a></li><li><a href="#catalog_trash_expire_second" class="table-of-contents__link toc-highlight"><code>catalog_trash_expire_second</code></a></li><li><a href="#storage_cooldown_second" class="table-of-contents__link toc-highlight"><code>storage_cooldown_second</code></a></li><li><a href="#default_storage_medium" class="table-of-contents__link toc-highlight"><code>default_storage_medium</code></a></li><li><a href="#enable_storage_policy" class="table-of-contents__link toc-highlight"><code>enable_storage_policy</code></a></li><li><a href="#check_consistency_default_timeout_second" class="table-of-contents__link toc-highlight"><code>check_consistency_default_timeout_second</code></a></li><li><a href="#consistency_check_start_time" class="table-of-contents__link toc-highlight"><code>consistency_check_start_time</code></a></li><li><a href="#consistency_check_end_time" class="table-of-contents__link toc-highlight"><code>consistency_check_end_time</code></a></li><li><a href="#replica_delay_recovery_second" class="table-of-contents__link toc-highlight"><code>replica_delay_recovery_second</code></a></li><li><a href="#tablet_create_timeout_second" class="table-of-contents__link toc-highlight"><code>tablet_create_timeout_second</code></a></li><li><a href="#tablet_delete_timeout_second" class="table-of-contents__link toc-highlight"><code>tablet_delete_timeout_second</code></a></li><li><a href="#alter_table_timeout_second" class="table-of-contents__link toc-highlight"><code>alter_table_timeout_second</code></a></li><li><a href="#max_replica_count_when_schema_change" class="table-of-contents__link toc-highlight"><code>max_replica_count_when_schema_change</code></a></li><li><a href="#history_job_keep_max_second" class="table-of-contents__link toc-highlight"><code>history_job_keep_max_second</code></a></li><li><a href="#max_create_table_timeout_second" class="table-of-contents__link toc-highlight"><code>max_create_table_timeout_second</code></a></li></ul></li><li><a href="#外部表" class="table-of-contents__link toc-highlight">外部表</a><ul><li><a href="#file_scan_node_split_num" class="table-of-contents__link toc-highlight"><code>file_scan_node_split_num</code></a></li><li><a href="#file_scan_node_split_size" class="table-of-contents__link toc-highlight"><code>file_scan_node_split_size</code></a></li><li><a href="#enable_odbc_table" class="table-of-contents__link toc-highlight"><code>enable_odbc_table</code></a></li><li><a href="#disable_iceberg_hudi_table" class="table-of-contents__link toc-highlight"><code>disable_iceberg_hudi_table</code></a></li><li><a href="#iceberg_table_creation_interval_second" class="table-of-contents__link toc-highlight"><code>iceberg_table_creation_interval_second</code></a></li><li><a href="#iceberg_table_creation_strict_mode" class="table-of-contents__link toc-highlight"><code>iceberg_table_creation_strict_mode</code></a></li><li><a href="#max_iceberg_table_creation_record_size" class="table-of-contents__link toc-highlight"><code>max_iceberg_table_creation_record_size</code></a></li><li><a href="#max_hive_partition_cache_num" class="table-of-contents__link toc-highlight"><code>max_hive_partition_cache_num</code></a></li><li><a href="#hive_metastore_client_timeout_second" class="table-of-contents__link toc-highlight"><code>hive_metastore_client_timeout_second</code></a></li><li><a href="#max_external_cache_loader_thread_pool_size" class="table-of-contents__link toc-highlight"><code>max_external_cache_loader_thread_pool_size</code></a></li><li><a href="#max_external_file_cache_num" class="table-of-contents__link toc-highlight"><code>max_external_file_cache_num</code></a></li><li><a href="#max_external_schema_cache_num" class="table-of-contents__link toc-highlight"><code>max_external_schema_cache_num</code></a></li><li><a href="#external_cache_expire_time_minutes_after_access" class="table-of-contents__link toc-highlight"><code>external_cache_expire_time_minutes_after_access</code></a></li><li><a href="#es_state_sync_interval_second" class="table-of-contents__link toc-highlight"><code>es_state_sync_interval_second</code></a></li></ul></li><li><a href="#外部资源" class="table-of-contents__link toc-highlight">外部资源</a><ul><li><a href="#dpp_hadoop_client_path" class="table-of-contents__link toc-highlight"><code>dpp_hadoop_client_path</code></a></li><li><a href="#dpp_bytes_per_reduce" class="table-of-contents__link toc-highlight"><code>dpp_bytes_per_reduce</code></a></li><li><a href="#dpp_default_cluster" class="table-of-contents__link toc-highlight"><code>dpp_default_cluster</code></a></li><li><a href="#dpp_default_config_str" class="table-of-contents__link toc-highlight"><code>dpp_default_config_str</code></a></li><li><a href="#dpp_config_str" class="table-of-contents__link toc-highlight"><code>dpp_config_str</code></a></li><li><a href="#yarn_config_dir" class="table-of-contents__link toc-highlight"><code>yarn_config_dir</code></a></li><li><a href="#yarn_client_path" class="table-of-contents__link toc-highlight"><code>yarn_client_path</code></a></li><li><a href="#spark_launcher_log_dir" class="table-of-contents__link toc-highlight"><code>spark_launcher_log_dir</code></a></li><li><a href="#spark_resource_path" class="table-of-contents__link toc-highlight"><code>spark_resource_path</code></a></li><li><a href="#spark_home_default_dir" class="table-of-contents__link toc-highlight"><code>spark_home_default_dir</code></a></li><li><a href="#spark_dpp_version" class="table-of-contents__link toc-highlight"><code>spark_dpp_version</code></a></li></ul></li><li><a href="#其他参数" class="table-of-contents__link toc-highlight">其他参数</a><ul><li><a href="#tmp_dir" class="table-of-contents__link toc-highlight"><code>tmp_dir</code></a></li><li><a href="#custom_config_dir" class="table-of-contents__link toc-highlight"><code>custom_config_dir</code></a></li><li><a href="#plugin_dir" class="table-of-contents__link toc-highlight"><code>plugin_dir</code></a></li><li><a href="#plugin_enable" class="table-of-contents__link toc-highlight"><code>plugin_enable</code></a></li><li><a href="#small_file_dir" class="table-of-contents__link toc-highlight"><code>small_file_dir</code></a></li><li><a href="#max_small_file_size_bytes" class="table-of-contents__link toc-highlight"><code>max_small_file_size_bytes</code></a></li><li><a href="#max_small_file_number" class="table-of-contents__link toc-highlight"><code>max_small_file_number</code></a></li><li><a href="#enable_metric_calculator" class="table-of-contents__link toc-highlight"><code>enable_metric_calculator</code></a></li><li><a href="#report_queue_size" class="table-of-contents__link toc-highlight"><code>report_queue_size</code></a></li><li><a href="#backup_job_default_timeout_ms" class="table-of-contents__link toc-highlight"><code>backup_job_default_timeout_ms</code></a></li><li><a href="#backup_upload_task_num_per_be" class="table-of-contents__link toc-highlight"><code>backup_upload_task_num_per_be</code></a></li><li><a href="#restore_download_task_num_per_be" class="table-of-contents__link toc-highlight"><code>restore_download_task_num_per_be</code></a></li><li><a href="#max_backup_restore_job_num_per_db" class="table-of-contents__link toc-highlight"><code>max_backup_restore_job_num_per_db</code></a></li><li><a href="#enable_quantile_state_type" class="table-of-contents__link toc-highlight"><code>enable_quantile_state_type</code></a></li><li><a href="#enable_date_conversion" class="table-of-contents__link toc-highlight"><code>enable_date_conversion</code></a></li><li><a href="#enable_decimal_conversion" class="table-of-contents__link toc-highlight"><code>enable_decimal_conversion</code></a></li><li><a href="#proxy_auth_magic_prefix" class="table-of-contents__link toc-highlight"><code>proxy_auth_magic_prefix</code></a></li><li><a href="#proxy_auth_enable" class="table-of-contents__link toc-highlight"><code>proxy_auth_enable</code></a></li><li><a href="#enable_func_pushdown" class="table-of-contents__link toc-highlight"><code>enable_func_pushdown</code></a></li><li><a href="#jdbc_drivers_dir" class="table-of-contents__link toc-highlight"><code>jdbc_drivers_dir</code></a></li><li><a href="#max_error_tablet_of_broker_load" class="table-of-contents__link toc-highlight"><code>max_error_tablet_of_broker_load</code></a></li><li><a href="#default_db_max_running_txn_num" class="table-of-contents__link toc-highlight"><code>default_db_max_running_txn_num</code></a></li><li><a href="#prefer_compute_node_for_external_table" class="table-of-contents__link toc-highlight"><code>prefer_compute_node_for_external_table</code></a></li><li><a href="#min_backend_num_for_external_table" class="table-of-contents__link toc-highlight"><code>min_backend_num_for_external_table</code></a></li><li><a href="#infodb_support_ext_catalog" class="table-of-contents__link toc-highlight"><code>infodb_support_ext_catalog</code></a></li><li><a href="#fe_thrift_max_pkg_bytes" class="table-of-contents__link toc-highlight"><code>fe_thrift_max_pkg_bytes</code></a></li></ul></li></ul></li></ul></div></div></div></div></main></div></div></div><div class="footer pt-16 pb-10"><div class="container"><div class="footer-box"><div class="left"><img src="/zh-CN/images/asf_logo_apache.svg" alt="" class="themedImage_ToTc themedImage--light_HNdA footer__logo"><img src="/zh-CN/images/asf_logo_apache.svg" alt="" class="themedImage_ToTc themedImage--dark_i4oU footer__logo"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">ASF</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://www.apache.org/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Foundation<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/licenses/" target="_blank" rel="noopener noreferrer" class="footer__link-item">License<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/events/current-event" target="_blank" rel="noopener noreferrer" class="footer__link-item">Events<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/foundation/sponsorship.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Sponsorship<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://privacy.apache.org/policies/privacy-policy-public.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Privacy<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/security/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Security<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/foundation/thanks.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Thanks<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">Resources</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/zh-CN/download">Download</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/docs/get-starting/quick-start">Docs</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/blog">Blog</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/ecosystem/cluster-management">Ecosystem</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/users">Users</a></li><li class="footer__item"><a href="https://github.com/apache/doris/discussions" target="_blank" rel="noopener noreferrer" class="footer__link-item">Discussions<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/zh-CN/community/how-to-contribute/">How to contribute</a></li><li class="footer__item"><a href="https://github.com/apache/doris/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Source code<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://cwiki.apache.org/confluence/display/DORIS/Doris+Improvement+Proposals" target="_blank" rel="noopener noreferrer" class="footer__link-item">Improvement proposal<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/community/team">Doris team</a></li><li class="footer__item"><a href="https://github.com/apache/doris/issues/30669" target="_blank" rel="noopener noreferrer" class="footer__link-item">Roadmap<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div></div><div class="right"><div class="footer__title">Join the community</div><div class="social-list"><div class="social"><a href="mailto:dev@doris.apache.org" target="_blank" title="mail" class="item"><svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 32 32" fill="none"><path d="M5.6003 6H26.3997C27.8186 6 28.982 7.10964 29 8.46946L16.0045 15.454L3.01202 8.47829C3.02405 7.11258 4.1784 6 5.6003 6ZM3.01202 11.1508L3 23.5011C3 24.8756 4.16938 26 5.6003 26H26.3997C27.8306 26 29 24.8756 29 23.5011V11.145L16.3111 17.8028C16.1157 17.9058 15.8813 17.9058 15.6889 17.8028L3.01202 11.1508Z" fill="currentColor"></path></svg></a><a href="https://github.com/apache/doris" target="_blank" title="github" class="item"><svg width="2em" height="2em" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.0001 2.66675C8.63342 2.66675 2.66675 8.63341 2.66675 16.0001C2.66524 18.7991 3.54517 21.5276 5.1817 23.7983C6.81824 26.0691 9.12828 27.7668 11.7841 28.6508C12.4508 28.7668 12.7001 28.3668 12.7001 28.0161C12.7001 27.7001 12.6828 26.6508 12.6828 25.5334C9.33342 26.1508 8.46675 24.7174 8.20008 23.9668C8.04942 23.5828 7.40008 22.4001 6.83342 22.0828C6.36675 21.8334 5.70008 21.2161 6.81608 21.2001C7.86675 21.1828 8.61608 22.1668 8.86675 22.5668C10.0668 24.5828 11.9841 24.0161 12.7494 23.6668C12.8668 22.8001 13.2161 22.2174 13.6001 21.8841C10.6334 21.5508 7.53342 20.4001 7.53342 15.3001C7.53342 13.8494 8.04942 12.6507 8.90008 11.7161C8.76675 11.3827 8.30008 10.0161 9.03342 8.18275C9.03342 8.18275 10.1494 7.83342 12.7001 9.55075C13.7855 9.2495 14.907 9.09787 16.0334 9.10008C17.1668 9.10008 18.3001 9.24942 19.3668 9.54942C21.9161 7.81608 23.0334 8.18408 23.0334 8.18408C23.7668 10.0174 23.3001 11.3841 23.1668 11.7174C24.0161 12.6507 24.5334 13.8334 24.5334 15.3001C24.5334 20.4174 21.4174 21.5508 18.4508 21.8841C18.9334 22.3001 19.3508 23.1001 19.3508 24.3508C19.3508 26.1334 19.3334 27.5668 19.3334 28.0174C19.3334 28.3668 19.5841 28.7828 20.2508 28.6494C22.8975 27.7558 25.1973 26.0547 26.8266 23.7856C28.4559 21.5165 29.3327 18.7936 29.3334 16.0001C29.3334 8.63341 23.3668 2.66675 16.0001 2.66675V2.66675Z" fill="currentColor"></path></svg></a><a href="https://twitter.com/doris_apache" target="_blank" title="twitter" class="item"><svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 32 32" fill="none"><path d="M4.625 4.625H11.2809L27.375 27.375H20.7191L4.625 4.625ZM7.52549 6.10639L21.5236 25.8936H24.4746L10.4764 6.10639H7.52549Z" fill="currentColor"></path><path d="M14.4268 18.4803L6.53447 27.375H4.625L13.5581 17.2525L14.4268 18.4803ZM18.1299 14.3066L26.7203 4.625H24.7017L17.2525 13.0662L18.1299 14.3066Z" fill="currentColor"></path></svg></a><a href="https://join.slack.com/t/apachedoriscommunity/shared_invite/zt-2kl08hzc0-SPJe4VWmL_qzrFd2u2XYQA" title="slack" target="_blank" class="item"><svg width="2em" height="2em" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_125_278)"><path d="M12.5875 16.6906C11.0844 16.6906 9.86562 17.9094 9.86562 19.4125V26.2375C9.86562 26.9594 10.1524 27.6517 10.6628 28.1622C11.1733 28.6726 11.8656 28.9594 12.5875 28.9594C13.3094 28.9594 14.0017 28.6726 14.5122 28.1622C15.0226 27.6517 15.3094 26.9594 15.3094 26.2375V19.4531C15.3094 17.9094 14.0906 16.6906 12.5875 16.6906ZM3 19.4531C3 20.175 3.28677 20.8673 3.79722 21.3778C4.30767 21.8882 4.99999 22.175 5.72187 22.175C6.44376 22.175 7.13608 21.8882 7.64653 21.3778C8.15698 20.8673 8.44375 20.175 8.44375 19.4531V16.7312H5.7625C4.25938 16.6906 3 17.9094 3 19.4531ZM12.5875 3C11.8656 3 11.1733 3.28677 10.6628 3.79722C10.1524 4.30767 9.86562 4.99999 9.86562 5.72187C9.86562 6.44376 10.1524 7.13608 10.6628 7.64653C11.1733 8.15698 11.8656 8.44375 12.5875 8.44375H15.3094V5.72187C15.3094 4.21875 14.0906 3 12.5875 3ZM5.72187 15.3094H12.5469C13.2688 15.3094 13.9611 15.0226 14.4715 14.5122C14.982 14.0017 15.2688 13.3094 15.2688 12.5875C15.2688 11.8656 14.982 11.1733 14.4715 10.6628C13.9611 10.1524 13.2688 9.86562 12.5469 9.86562H5.72187C4.99999 9.86562 4.30767 10.1524 3.79722 10.6628C3.28677 11.1733 3 11.8656 3 12.5875C3 13.3094 3.28677 14.0017 3.79722 14.5122C4.30767 15.0226 4.99999 15.3094 5.72187 15.3094ZM26.2375 9.86562C24.7344 9.86562 23.5156 11.0844 23.5156 12.5875V15.3094H26.2375C26.9594 15.3094 27.6517 15.0226 28.1622 14.5122C28.6726 14.0017 28.9594 13.3094 28.9594 12.5875C28.9594 11.8656 28.6726 11.1733 28.1622 10.6628C27.6517 10.1524 26.9594 9.86562 26.2375 9.86562ZM16.6906 5.72187V12.5875C16.6906 13.3094 16.9774 14.0017 17.4878 14.5122C17.9983 15.0226 18.6906 15.3094 19.4125 15.3094C20.1344 15.3094 20.8267 15.0226 21.3372 14.5122C21.8476 14.0017 22.1344 13.3094 22.1344 12.5875V5.72187C22.1344 4.99999 21.8476 4.30767 21.3372 3.79722C20.8267 3.28677 20.1344 3 19.4125 3C18.6906 3 17.9983 3.28677 17.4878 3.79722C16.9774 4.30767 16.6906 4.99999 16.6906 5.72187ZM22.1344 26.2781C22.1344 24.775 20.9156 23.5562 19.4125 23.5562H16.6906V26.2781C16.6906 27 16.9774 27.6923 17.4878 28.2028C17.9983 28.7132 18.6906 29 19.4125 29C20.1344 29 20.8267 28.7132 21.3372 28.2028C21.8476 27.6923 22.1344 27 22.1344 26.2781ZM26.2781 16.6906H19.4125C18.6906 16.6906 17.9983 16.9774 17.4878 17.4878C16.9774 17.9983 16.6906 18.6906 16.6906 19.4125C16.6906 20.1344 16.9774 20.8267 17.4878 21.3372C17.9983 21.8476 18.6906 22.1344 19.4125 22.1344H26.2375C27.7406 22.1344 28.9594 20.9156 28.9594 19.4125C29 17.9094 27.7812 16.6906 26.2781 16.6906Z" fill="currentColor"></path></g><defs><clipPath id="clip0_125_278"><rect width="26" height="26" fill="currentColor" transform="translate(3 3)"></rect></clipPath></defs></svg></a></div><div class="social"><a href="https://www.youtube.com/@apachedoris/channels" title="youtube" target="_blank" class="item"><svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 32 32" fill="none"><path d="M28.5167 7.83429C28.9436 8.25423 29.2532 8.77539 29.4154 9.34742C29.8205 11.5462 30.0159 13.7775 29.999 16.0121C30.0144 18.2382 29.819 20.4609 29.4154 22.6515C29.2532 23.2235 28.9436 23.7446 28.5167 24.1645C28.0898 24.5845 27.5601 24.889 26.9785 25.0486C24.7728 25.625 16.0124 25.625 16.0124 25.625C16.0124 25.625 7.22652 25.625 5.04638 25.0486C4.46489 24.889 3.9351 24.5845 3.5082 24.1645C3.08132 23.7446 2.77176 23.2235 2.60948 22.6515C2.19736 20.4617 1.9934 18.239 2.00025 16.0121C1.9918 13.7767 2.19577 11.5455 2.60948 9.34742C2.77176 8.77539 3.08132 8.25423 3.5082 7.83429C3.9351 7.41436 4.46489 7.10985 5.04638 6.95021C7.25103 6.36354 16.0124 6.37502 16.0124 6.37502C16.0124 6.37502 24.796 6.37502 26.9785 6.95021C27.5601 7.10985 28.0898 7.41436 28.5167 7.83429ZM12.5 21.25L21.25 16.008L12.5 10.75V21.25Z" fill="currentColor"></path></svg></a><a href="https://www.linkedin.com/company/doris-apache/" title="linkedin" target="_blank" class="item"><svg width="2rem" height="2rem" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.29925 26.9996H9.66738V11.6781H4.29925V26.9996ZM22.1628 11.1949C19.9409 11.1949 18.7157 11.9388 17.3054 13.7407V11.6777H11.9459V26.9996H17.305V18.6738C17.305 16.9168 18.145 15.1982 20.1535 15.1982C22.162 15.1982 22.6559 16.9164 22.6559 18.632V27H28V18.2902C28 12.2386 24.3854 11.1949 22.1628 11.1949ZM6.99325 4C5.3395 4 4 5.21047 4 6.7046C4 8.19759 5.3395 9.40617 6.99325 9.40617C8.6455 9.40617 9.985 8.19722 9.985 6.7046C9.985 5.21047 8.6455 4 6.99325 4Z" fill="white"></path></svg></a><a href="https://medium.com/@ApacheDoris" title="medium" target="_blank" class="item"><svg width="2em" height="2em" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Frame"><path id="Vector" d="M17.7967 16.5385C17.8029 18.53 16.9746 20.4425 15.4937 21.8559C14.0128 23.2693 12.0004 24.0681 9.89836 24.0769C7.79633 24.0681 5.78391 23.2693 4.30302 21.8559C2.82212 20.4425 1.99383 18.53 2.00003 16.5385C1.99383 14.5469 2.82212 12.6344 4.30302 11.221C5.78391 9.80759 7.79633 9.00878 9.89836 9C12.0004 9.00878 14.0128 9.80759 15.4937 11.221C16.9746 12.6344 17.8029 14.5469 17.7967 16.5385ZM26.4533 16.5385C26.4533 20.4514 24.6917 23.6348 22.51 23.6348C20.3283 23.6348 18.555 20.4514 18.555 16.5385C18.555 12.6255 20.3283 9.44214 22.51 9.44214C24.6917 9.44214 26.4533 12.6255 26.4533 16.5385ZM30 16.5385C30 20.0424 29.3817 22.8942 28.6117 22.8942C27.8417 22.8942 27.2233 20.0424 27.2233 16.5385C27.2233 13.0345 27.8417 10.1827 28.6117 10.1827C29.3817 10.1827 30 13.0345 30 16.5385Z" fill="currentColor"></path></g></svg></a><a class="item wechat"><svg width="2em" height="2em" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.7578 11.5169C21.0708 11.5169 21.3795 11.5398 21.6851 11.573C20.8524 7.73517 16.7052 4.88306 11.9718 4.88306C6.67951 4.88306 2.34412 8.45283 2.34412 12.9854C2.34412 15.6013 3.78679 17.7498 6.19667 19.4161L5.2339 22.2827L8.59917 20.6122C9.80411 20.8478 10.7698 21.0906 11.9718 21.0906C12.2738 21.0906 12.5728 21.0759 12.8703 21.0523C12.682 20.4159 12.5728 19.7485 12.5728 19.0566C12.5728 14.8947 16.1847 11.5169 20.7578 11.5169ZM15.5822 8.9335C16.3072 8.9335 16.7871 9.40601 16.7871 10.1229C16.7871 10.8369 16.3072 11.3153 15.5822 11.3153C14.8601 11.3153 14.1365 10.8369 14.1365 10.1229C14.1365 9.40601 14.8601 8.9335 15.5822 8.9335ZM8.84429 11.3153C8.12218 11.3153 7.3942 10.8368 7.3942 10.1229C7.3942 9.40597 8.12218 8.93346 8.84429 8.93346C9.56559 8.93346 10.0463 9.40597 10.0463 10.1229C10.0463 10.8369 9.56559 11.3153 8.84429 11.3153ZM29.5453 18.9422C29.5453 15.1332 25.6935 12.0285 21.3677 12.0285C16.7871 12.0285 13.1797 15.1332 13.1797 18.9422C13.1797 22.7567 16.7871 25.8547 21.3677 25.8547C22.326 25.8547 23.2932 25.6169 24.2559 25.3777L26.897 26.8086L26.1726 24.4282C28.1056 22.993 29.5453 21.0906 29.5453 18.9422ZM18.7126 17.7498C18.2335 17.7498 17.7499 17.278 17.7499 16.7966C17.7499 16.3219 18.2335 15.8442 18.7126 15.8442C19.4406 15.8442 19.9176 16.3219 19.9176 16.7966C19.9176 17.278 19.4406 17.7498 18.7126 17.7498ZM24.0079 17.7498C23.5324 17.7498 23.0518 17.278 23.0518 16.7966C23.0518 16.3219 23.5324 15.8442 24.0079 15.8442C24.73 15.8442 25.2128 16.3219 25.2128 16.7966C25.2128 17.278 24.73 17.7498 24.0079 17.7498Z" fill="currentColor"></path></svg><div class="wechat-dropdown"><p class="text-[#4c576c] text-xs">Connect on WeChat</p><img src="https://cdnd.selectdb.com/zh-CN/assets/images/doris-wechat-b949e908a3bc2776d824f79a9100bd4b.png" alt=""></div></a></div></div></div></div><div class="footer__copyright">Copyright © 2024 The Apache Software Foundation,Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>. Apache, Doris, Apache Doris, the Apache feather logo and the Apache Doris logo are trademarks of The Apache Software Foundation.</div></div></div></div>
<script src="https://cdnd.selectdb.com/zh-CN/assets/js/runtime~main.ea863d93.js"></script>
<script src="https://cdnd.selectdb.com/zh-CN/assets/js/main.bda5da23.js"></script>
</body>
</html>