{"id":119142,"date":"2026-10-29T00:24:26","date_gmt":"2026-10-28T16:24:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/119142.html"},"modified":"2026-10-29T00:24:26","modified_gmt":"2026-10-28T16:24:26","slug":"clickhouse-%e6%94%af%e6%8c%81%e5%ad%98%e7%ae%97%e5%88%86%e7%a6%bb%e5%90%97%ef%bc%9fdoris-%e7%a4%be%e5%8c%ba%e7%89%88%e5%8e%9f%e7%94%9f%e5%ad%98%e7%ae%97%e5%88%86%e7%a6%bb%e6%80%8e%e4%b9%88%e8%90%bd","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/119142.html","title":{"rendered":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730"},"content":{"rendered":"<p>ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u2014\u2014\u4e91\u4e0a\u7528 SharedMergeTree&#xff0c;\u81ea\u7ba1\u53ef\u4ee5\u7528 S3BackedMergeTree \u628a S3 \u5f53\u5b58\u50a8\u3002\u4f46\u5b98\u65b9\u6587\u6863\u4e5f\u660e\u8bf4&#xff0c;\u81ea\u7ba1\u8fd9\u5957&#034;\u5b9e\u73b0\u548c\u7ba1\u7406\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742&#034;&#xff0c;\u5b8c\u6574\u80fd\u529b\u591a\u9501\u5728 ClickHouse Cloud\u3002\u53e6\u4e00\u8fb9&#xff0c;Apache Doris \u4ece 3.0 \u8d77\u628a\u5b58\u7b97\u5206\u79bb\u505a\u6210\u4e86\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u539f\u751f\u80fd\u529b&#xff1a;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1 &#043; \u65e0\u72b6\u6001\u8ba1\u7b97\u7ec4 &#043; \u591a\u8ba1\u7b97\u96c6\u7fa4\u9694\u79bb &#043; TTL \u6587\u4ef6\u7f13\u5b58&#xff0c;\u5168\u90e8\u5f00\u653e&#xff0c;\u4e0d\u7528\u4e0a\u4f01\u4e1a\u7248\u3002\u8fd9\u7bc7\u628a\u4e24\u8fb9\u7684\u843d\u5730\u590d\u6742\u5ea6\u644a\u5f00\u6bd4&#xff0c;\u987a\u5e26\u628a&#034;\u793e\u533a\u7248\u80fd\u4e0d\u80fd\u76f4\u63a5\u7528&#034;\u8fd9\u4e2a\u6700\u5f71\u54cd\u9009\u578b\u7684\u70b9\u8bb2\u900f&#xff0c;\u5e2e\u4f60\u5224\u65ad\u540c\u6837\u7684\u5f39\u6027\u9700\u6c42\u4e0b\u54ea\u8fb9\u7684\u603b\u62e5\u6709\u6210\u672c\u66f4\u4f4e\u3001\u8fd0\u7ef4\u66f4\u7701\u5fc3\u3002<\/p>\n<h3>\u4e00\u3001\u5148\u8bf4\u7ed3\u8bba<\/h3>\n<ul>\n<li>\u4e24\u8005\u90fd\u652f\u6301\u5b58\u7b97\u5206\u79bb&#xff0c;\u8fd9\u4e00\u70b9\u5148\u786e\u8ba4&#xff0c;\u4e0d\u7ed5\u3002<\/li>\n<li>\u5dee\u5f02\u5728\u5f00\u653e\u7a0b\u5ea6\u4e0e\u843d\u5730\u590d\u6742\u5ea6&#xff1a;ClickHouse \u81ea\u7ba1\u9700\u8981\u6539 config.d \u7684 XML\u3001\u6539\u5b8c chown\u3001\u518d restart&#xff0c;\u6216\u8005\u5e72\u8106\u4e0a\u4e91\u624d\u62ff\u5230\u5b8c\u6574\u4f53\u9a8c&#xff1b;Doris \u7684\u5b58\u7b97\u5206\u79bb\u5728\u793e\u533a\u7248\u5f00\u7bb1\u5373\u7528&#xff0c;\u8ba1\u7b97\u7ec4\u7528 SQL \u7ba1\u7406&#xff0c;\u4e0d\u7528\u624b\u6539\u4e00\u5806\u914d\u7f6e\u6587\u4ef6\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u5f39\u6027\u4f38\u7f29\u8fd9\u4ef6\u4e8b\u5728 Doris \u8fd9\u91cc\u662f\u8fd0\u7ef4\u8bed\u53e5&#xff0c;\u4e0d\u662f\u4e00\u6b21\u67b6\u6784\u6539\u9020\u3002<\/li>\n<li>\u9009\u578b\u770b\u7684\u662f&#034;\u4f60\u8981 DIY \u6539\u9020&#xff0c;\u8fd8\u662f\u5f00\u7bb1\u5373\u7528\u7684\u5f39\u6027&#034;&#xff1a;\u5982\u679c\u56e2\u961f\u6ca1\u6709\u4e13\u804c\u5f15\u64ce\u8fd0\u7ef4&#xff0c;Doris \u793e\u533a\u7248\u539f\u751f\u8fd9\u6761\u8def\u66f4\u7701\u5fc3&#xff1b;\u5982\u679c\u5df2\u7ecf\u6df1\u5ea6\u5728 ClickHouse Cloud \u91cc&#xff0c;\u90a3\u672c\u5c31\u5b8c\u6574\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<h3>\u4e8c\u3001\u95ee\u9898\u662f\u600e\u4e48\u4ea7\u751f\u7684<\/h3>\n<p>\u5b58\u7b97\u5206\u79bb\u7684\u672c\u8d28\u5c31\u4e00\u53e5\u8bdd&#xff1a;\u8ba1\u7b97\u8282\u70b9\u53d8\u6210\u65e0\u72b6\u6001&#xff0c;\u6570\u636e\u653e\u5230\u5171\u4eab\u5b58\u50a8&#xff08;\u5bf9\u8c61\u5b58\u50a8 \/ HDFS&#xff09;\u3002\u597d\u5904\u662f\u8ba1\u7b97\u548c\u5b58\u50a8\u80fd\u5404\u81ea\u4f38\u7f29&#xff0c;\u5b58\u50a8\u53ea\u4e70\u4e00\u4efd\u3002Doris \u7684\u505a\u6cd5\u662f\u628a\u5143\u6570\u636e\u4ece BE \u91cc\u62bd\u51fa\u6765&#xff0c;\u4ea4\u7ed9\u4e00\u4e2a\u65e0\u72b6\u6001\u7684 Meta Service \u7edf\u4e00\u7ba1\u4e8b\u52a1\u7248\u672c\u548c Tablet \u5143\u6570\u636e&#xff0c;BE \u53ea\u7b97\u4e0d\u5b58\u4e3b\u6570\u636e\u3002\u8fd9\u6837\u8ba1\u7b97\u8282\u70b9\u6302\u4e86\u4e0d\u5f71\u54cd\u6570\u636e&#xff0c;\u6269\u8ba1\u7b97\u4e5f\u4e0d\u7528\u642c\u526f\u672c\u3002\u7406\u89e3\u8fd9\u4e2a\u5206\u6cd5&#xff0c;\u540e\u9762\u770b\u4e24\u8fb9\u843d\u5730\u5dee\u5f02\u5c31\u6e05\u695a\u4e86\u3002<\/p>\n<p>\u4f46&#034;\u80fd\u4e0d\u80fd\u5206\u79bb&#034;\u548c&#034;\u5206\u79bb\u5f97\u597d\u4e0d\u597d\u843d\u5730&#034;\u662f\u4e24\u4ef6\u4e8b\u3002<\/p>\n<p>ClickHouse \u8fd9\u8fb9&#xff0c;\u8001\u67b6\u6784 ReplicatedMergeTree \u867d\u7136\u6570\u636e\u80fd\u653e\u5bf9\u8c61\u5b58\u50a8&#xff0c;\u4f46\u5143\u6570\u636e\u4ecd\u7559\u5728\u6bcf\u4e2a clickhouse-server \u4e0a&#xff0c;\u6bcf\u6b21\u590d\u5236\u64cd\u4f5c\u5143\u6570\u636e\u4e5f\u8981\u5728\u526f\u672c\u95f4\u540c\u6b65\u3002SharedMergeTree \u628a\u5143\u6570\u636e\u632a\u5230 clickhouse-keeper &#043; \u5171\u4eab\u5b58\u50a8&#xff0c;\u5206\u79bb\u66f4\u5f7b\u5e95\u2014\u2014\u4f46\u5b98\u65b9\u660e\u786e\u8bf4\u8fd9\u5957\u4e3b\u8981\u5728 ClickHouse Cloud \u91cc&#034;\u65e0\u9700\u914d\u7f6e&#034;\u5373\u7528&#xff0c;\u81ea\u7ba1\u8981\u8d70&#034;\u6539 XML &#043; chown &#043; restart&#034;\u7684\u8def\u5b50\u3002\u5b98\u65b9\u6587\u6863\u5bf9\u81ea\u7ba1\u7684\u63aa\u8f9e\u5f88\u76f4\u767d&#xff1a;\u5b9e\u73b0\u548c\u7ba1\u7406\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742&#xff0c;\u6240\u4ee5\u63a8\u8350\u76f4\u63a5\u7528 ClickHouse Cloud \u624d\u80fd without configuration \u7528\u4e0a SharedMergeTree\u3002\u6362\u53e5\u8bdd\u8bf4&#xff0c;\u60f3\u767d\u5ad6\u5b8c\u6574\u4f53\u9a8c&#xff0c;\u8981\u4e48\u63a5\u53d7\u4e0a\u4e91&#xff0c;\u8981\u4e48\u81ea\u5df1\u627f\u62c5\u6539\u914d\u7f6e\u548c\u8fd0\u7ef4\u7684\u590d\u6742\u5ea6\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u5b58\u7b97\u5206\u79bb\u4e0d\u662f&#034;\u5f00\u4e2a\u5f00\u5173&#034;&#xff0c;\u800c\u662f\u4e00\u6b21\u8fd0\u7ef4\u6a21\u578b\u7684\u8f6c\u53d8&#xff0c;\u8bc4\u4f30\u65f6\u8be5\u628a\u8fd0\u7ef4\u6210\u719f\u5ea6\u7b97\u8fdb\u53bb\u3002<\/p>\n<h3>\u4e09\u3001\u600e\u4e48\u505a&#xff1a;\u4e24\u8fb9\u5404\u7ed9\u4e00\u6761\u843d\u5730\u8def\u5f84<\/h3>\n<h4>3.1 ClickHouse \u81ea\u7ba1\u5b58\u7b97\u5206\u79bb&#xff08;\u8981\u6539\u914d\u7f6e&#xff09;<\/h4>\n<p>\u4e0b\u9762\u5de6\u8fb9\u7ed9 ClickHouse \u7684\u81ea\u7ba1\u8def\u5f84&#xff0c;\u53f3\u8fb9\u7ed9 Doris \u7684 SQL \u8def\u5f84&#xff0c;\u5bf9\u7167\u7740\u770b\u6700\u6e05\u695a\u3002<\/p>\n<p>\u5b98\u65b9\u6307\u5357\u7ed9\u7684\u662f\u5728 config.d \u91cc\u65b0\u5efa\u5b58\u50a8\u914d\u7f6e\u6587\u4ef6&#xff0c;\u628a S3 \u6302\u6210\u78c1\u76d8&#xff0c;\u518d\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token comment\">&lt;!&#8211; \/etc\/clickhouse-server\/config.d\/storage_config.xml &#8211;&gt;<\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>clickhouse<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>storage_configuration<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n        <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>disks<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n            <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>s3_disk<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>type<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>s3<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>type<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>endpoint<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>https:\/\/<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>BUCKET<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>.s3.amazonaws.com\/<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>endpoint<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>access_key_id<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>ACCESS_KEY_ID<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>access_key_id<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>secret_access_key<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>SECRET_ACCESS_KEY<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>secret_access_key<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>root_path<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\/clickhouse-data\/<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>root_path<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>cache_enabled<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>true<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>cache_enabled<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>cache_path<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\/var\/lib\/clickhouse\/disks\/s3_cache\/<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>cache_path<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n            <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>s3_disk<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n        <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>disks<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n        <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>policies<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n            <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>s3_main<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>volumes<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>main<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                        <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>disk<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>s3_disk<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>disk<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>main<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n                <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>volumes<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n            <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>s3_main<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n        <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>policies<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>storage_configuration<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>clickhouse<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><\/p>\n<p><span class=\"token comment\"># \u6539\u5b8c\u5f52\u5c5e\u4e0e\u6743\u9650&#xff0c;\u518d\u91cd\u542f\u670d\u52a1\u8ba9\u914d\u7f6e\u751f\u6548<\/span><br \/>\n<span class=\"token function\">chown<\/span> clickhouse:clickhouse \/etc\/clickhouse-server\/config.d\/storage_config.xml<br \/>\n<span class=\"token function\">service<\/span> clickhouse-server restart<\/p>\n<p>\u6ce8\u610f\u5b98\u65b9\u8fd8\u4e13\u95e8\u63d0\u9192&#xff1a;\u4e0d\u8981\u7ed9 S3 \/ GCS \u914d\u5bf9\u8c61\u5b58\u50a8\u751f\u547d\u5468\u671f\u7b56\u7565&#xff0c;\u4f1a\u5bfc\u81f4\u8868\u635f\u574f\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u81ea\u7ba1\u8fd9\u6761\u8def\u4e0d\u4ec5\u8981\u4f1a\u6539 XML&#xff0c;\u8fd8\u5f97\u907f\u5f00\u51e0\u4e2a\u5751\u3002<\/p>\n<h4>3.2 Doris \u8ba1\u7b97\u7ec4&#xff08;\u4e00\u6761 SQL \u641e\u5b9a&#xff09;<\/h4>\n<p>Doris \u5b58\u7b97\u5206\u79bb\u6a21\u5f0f\u4e0b&#xff0c;\u8ba1\u7b97\u7ec4\u7528 ALTER SYSTEM ADD BACKEND \u52a0 tag.compute_group_name \u6307\u5b9a&#xff0c;\u6ca1\u6709\u5355\u72ec\u7684&#034;\u5efa\u8ba1\u7b97\u7ec4&#034;\u8bed\u53e5&#xff08;3.0.2 \u4e4b\u524d\u53eb Compute Cluster&#xff0c;\u73b0\u5728\u7edf\u4e00\u53eb Compute Group&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\">&#8212; \u628a\u65e0\u72b6\u6001 BE \u52a0\u8fdb\u6307\u5b9a\u8ba1\u7b97\u7ec4&#xff08;\u7701\u7565\u5c5e\u6027\u5219\u8fdb default_compute_group&#xff09;<\/span><br \/>\n<span class=\"token keyword\">ALTER<\/span> SYSTEM <span class=\"token keyword\">ADD<\/span> BACKEND <span class=\"token string\">&#039;be1:9050&#039;<\/span><br \/>\nPROPERTIES <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tag.compute_group_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;etl&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">ALTER<\/span> SYSTEM <span class=\"token keyword\">ADD<\/span> BACKEND <span class=\"token string\">&#039;be2:9050&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;be3:9050&#039;<\/span><br \/>\nPROPERTIES <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tag.compute_group_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;bi&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u52a0\u5b8c\u7528 SHOW COMPUTE GROUPS \u770b\u5e03\u5c40&#xff0c;\u6570\u636e\u4e0d\u52a8\u3001\u53ea\u505a\u7f13\u5b58\u9884\u70ed&#xff0c;\u6ca1\u6709\u526f\u672c\u642c\u8fc1\u3002\u548c\u5b58\u7b97\u4e00\u4f53\u91cc\u7684 Resource Group \u4e0d\u540c&#xff0c;Compute Group \u7684\u9694\u79bb\u4e0d\u9760\u591a\u526f\u672c&#xff1a;\u6570\u636e\u5728\u5171\u4eab\u5b58\u50a8\u53ea\u6709\u4e00\u4efd&#xff0c;\u591a\u4e2a\u7ec4\u8bfb\u540c\u4e00\u4efd&#xff0c;\u52a0\u7ec4\u4e0d\u52a0\u500d\u5b58\u50a8\u3002\u8fd9\u662f Doris \u5b58\u7b97\u5206\u79bb\u5728\u6210\u672c\u4e0a\u6bd4&#034;\u52a0\u526f\u672c\u505a\u9694\u79bb&#034;\u66f4\u5212\u7b97\u7684\u6839\u672c\u539f\u56e0\u3002<\/p>\n<h4>3.3 \u6388\u6743\u4e0e\u5207\u6362&#xff08;\u4e5f\u662f SQL&#xff09;<\/h4>\n<p><span class=\"token comment\">&#8212; \u7ed9\u4e1a\u52a1\u7528\u6237\u6388\u4e88\u8ba1\u7b97\u7ec4\u4f7f\u7528\u6743\u9650<\/span><br \/>\n<span class=\"token keyword\">GRANT<\/span> USAGE_PRIV <span class=\"token keyword\">ON<\/span> <span class=\"token keyword\">COMPUTE<\/span> <span class=\"token keyword\">GROUP<\/span> etl <span class=\"token keyword\">TO<\/span> <span class=\"token string\">&#039;etl_user&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">GRANT<\/span> USAGE_PRIV <span class=\"token keyword\">ON<\/span> <span class=\"token keyword\">COMPUTE<\/span> <span class=\"token keyword\">GROUP<\/span> bi  <span class=\"token keyword\">TO<\/span> <span class=\"token string\">&#039;bi_user&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u8bbe\u9ed8\u8ba4\u8ba1\u7b97\u7ec4&#xff08;\u7528\u6237\u91cd\u8fde\u540e\u751f\u6548&#xff09;<\/span><br \/>\n<span class=\"token keyword\">SET<\/span> PROPERTY <span class=\"token keyword\">FOR<\/span> <span class=\"token string\">&#039;etl_user&#039;<\/span> <span class=\"token string\">&#039;default_compute_group&#039;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;etl&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u4f1a\u8bdd\u7ea7\u4e34\u65f6\u5207\u6362\u5230\u67d0\u4e2a\u8ba1\u7b97\u7ec4\u8dd1\u67e5\u8be2<\/span><br \/>\n<span class=\"token keyword\">USE<\/span> my_db<span class=\"token variable\">&#064;bi<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">SELECT<\/span> region<span class=\"token punctuation\">,<\/span> <span class=\"token function\">SUM<\/span><span class=\"token punctuation\">(<\/span>amount<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">FROM<\/span> orders<br \/>\n<span class=\"token keyword\">WHERE<\/span> dt <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">CURRENT_DATE<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">GROUP<\/span> <span class=\"token keyword\">BY<\/span> region<span class=\"token punctuation\">;<\/span><\/p>\n<p>\u8bfb\u5199\u9694\u79bb\u3001ETL \u4e0e BI \u9694\u79bb&#xff0c;\u9760 USE &#064;\u7ec4 \u8def\u7531\u5c31\u884c&#xff0c;\u4e0d\u9700\u8981\u4e24\u5957\u96c6\u7fa4\u3001\u4e24\u4efd\u6570\u636e\u3002<\/p>\n<h4>3.4 \u5171\u4eab\u5b58\u50a8\u4e4b\u4e0a\u7684\u7f13\u5b58\u4e0e\u5f39\u6027<\/h4>\n<p>\u5171\u4eab\u5b58\u50a8\u4e4b\u4e0a&#xff0c;Doris \u5728 BE \u672c\u5730\u7559\u4e00\u5c42\u6587\u4ef6\u7f13\u5b58&#xff08;File Cache&#xff09;\u653e\u70ed\u6570\u636e\u5757\u3002\u65b0\u8ba1\u7b97\u7ec4\u521a\u5efa\u597d\u65f6\u662f\u51b7\u7684&#xff0c;\u9996\u67e5\u4f1a\u56de\u6e90\u5bf9\u8c61\u5b58\u50a8&#xff0c;\u4e4b\u540e\u70ed\u70b9\u81ea\u7136\u7f13\u5b58\u5230\u672c\u5730&#xff0c;\u67e5\u8be2\u5c31\u56de\u5230\u672c\u5730\u76d8\u901f\u5ea6\u3002\u6362\u8a00\u4e4b&#xff0c;\u5f39\u6027\u662f&#034;\u52a0\u8282\u70b9\u5373\u7b97\u529b&#034;&#xff0c;\u4ee3\u4ef7\u53ea\u662f\u4e00\u6b21\u7f13\u5b58\u9884\u70ed&#xff0c;\u800c\u4e0d\u662f\u4e00\u6b21\u6570\u636e\u8fc1\u79fb\u3002<\/p>\n<p>\u591a\u8ba1\u7b97\u96c6\u7fa4\u9694\u79bb\u5e26\u6765\u7684\u597d\u5904&#xff1a;<\/p>\n<table>\n<tr>\u573a\u666f\u505a\u6cd5<\/tr>\n<tbody>\n<tr>\n<td>\u8bfb\u8bfb\u9694\u79bb<\/td>\n<td>\u4e24\u4e2a\u5927\u67e5\u8be2\u5206\u522b USE &#064;c1 \/ USE &#064;c2&#xff0c;\u4e0d\u5728\u540c\u4e00\u7ec4\u62a2 CPU<\/td>\n<\/tr>\n<tr>\n<td>\u8bfb\u5199\u9694\u79bb<\/td>\n<td>\u67e5\u8be2 USE &#064;c1&#xff0c;\u5bfc\u5165 USE &#064;c2&#xff0c;\u5bfc\u5165\u7684\u65b0\u6570\u636e c1 \u4e5f\u80fd\u8bfb\u5230<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u5199\u9694\u79bb<\/td>\n<td>\u9ad8\u9891\u5c0f\u6279\u4e0e\u5927\u6279\u5bfc\u5165\u5206\u5230\u4e0d\u540c\u7ec4&#xff0c;\u4e92\u4e0d\u5e72\u6270<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u5957\u7269\u7406\u9694\u79bb\u7684\u6839\u57fa\u662f&#034;\u5171\u4eab\u5b58\u50a8 &#043; \u65e0\u72b6\u6001\u8ba1\u7b97&#034;&#xff1a;\u52a0\u4e00\u4e2a\u8ba1\u7b97\u7ec4\u53ea\u52a0\u8ba1\u7b97\u4e0e\u51b7\u7f13\u5b58&#xff0c;\u4e0d\u52a0\u526f\u672c\u3001\u4e0d\u642c\u6570\u636e\u3002<\/p>\n<h4>3.5 \u6210\u672c\u4e0e\u8fd0\u7ef4\u5bf9\u7167<\/h4>\n<p>\u628a\u4e0a\u9762\u4e24\u6761\u8def\u5f84\u7684\u6210\u672c\u4e0e\u8fd0\u7ef4\u644a\u5230\u4e00\u8d77\u770b&#xff1a;<\/p>\n<table>\n<tr>\u7ef4\u5ea6ClickHouseApache Doris<\/tr>\n<tbody>\n<tr>\n<td>\u81ea\u7ba1\u843d\u5730<\/td>\n<td>\u6539 config.d XML &#043; chown &#043; restart<\/td>\n<td>SQL \u7ba1\u7406\u8ba1\u7b97\u7ec4&#xff0c;\u65e0\u914d\u7f6e\u6587\u4ef6\u6539\u9020<\/td>\n<\/tr>\n<tr>\n<td>\u5b8c\u6574\u80fd\u529b\u6240\u5728<\/td>\n<td>SharedMergeTree \u591a\u9501\u5728 ClickHouse Cloud<\/td>\n<td>\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u5168\u5f00\u653e<\/td>\n<\/tr>\n<tr>\n<td>\u5143\u6570\u636e<\/td>\n<td>clickhouse-keeper \u534f\u8c03<\/td>\n<td>\u65e0\u72b6\u6001 Meta Service&#xff08;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u6269\u7f29\u5bb9<\/td>\n<td>\u9700\u5904\u7406\u526f\u672c\u4e0e\u5143\u6570\u636e\u540c\u6b65<\/td>\n<td>\u52a0 \/ \u9000 BE \u5373\u6269\u7f29&#xff0c;\u65e0\u6570\u636e\u8fc1\u79fb<\/td>\n<\/tr>\n<tr>\n<td>\u5f39\u6027\u4ee3\u4ef7<\/td>\n<td>\u526f\u672c\u6269\u5c55\u8981\u642c\u6570\u636e<\/td>\n<td>\u52a0\u8ba1\u7b97\u7ec4\u53ea\u52a0\u7b97\u529b\u4e0e\u51b7\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u6210\u672c<\/td>\n<td>\u5bf9\u8c61\u5b58\u50a8\u964d\u672c&#xff0c;\u5b8c\u6574\u4f53\u9a8c\u4f9d\u8d56 Cloud<\/td>\n<td>\u8f83\u4e00\u4f53\u4e09\u526f\u672c\u6700\u9ad8\u964d 90%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u4ec0\u4e48\u80fd\u964d 90%&#xff1f;\u5b58\u7b97\u4e00\u4f53\u9ed8\u8ba4\u4e09\u526f\u672c&#xff0c;\u540c\u6837\u7684\u6570\u636e\u8981\u5b58\u4e09\u4efd\u5728\u4e0d\u540c\u8282\u70b9&#xff1b;\u5b58\u7b97\u5206\u79bb\u540e\u6570\u636e\u53ea\u5728\u5171\u4eab\u5b58\u50a8\u5b58\u4e00\u4efd&#xff0c;\u8ba1\u7b97\u7ec4\u4e4b\u95f4\u4e0d\u518d\u5404\u5b58\u5404\u7684\u526f\u672c\u3002\u526f\u672c\u4ece 3 \u964d\u5230 1&#xff0c;\u52a0\u4e0a\u5bf9\u8c61\u5b58\u50a8\u672c\u8eab\u6bd4\u5757\u5b58\u50a8\u4fbf\u5b9c&#xff0c;\u5b58\u50a8\u8d26\u5355\u81ea\u7136\u5927\u5e45\u6536\u7f29\u3002\u524d\u63d0\u662f\u70ed\u6570\u636e\u9760\u672c\u5730\u7f13\u5b58\u4fdd\u6027\u80fd&#xff0c;\u51b7\u6570\u636e\u5b89\u9759\u8eba\u5728\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n<h3>\u56db\u3001\u5173\u952e\u7ef4\u5ea6\u5bf9\u7167\u8868<\/h3>\n<table>\n<tr>\u7ef4\u5ea6Apache DorisClickHouse<\/tr>\n<tbody>\n<tr>\n<td>\u5b58\u7b97\u5206\u79bb\u652f\u6301<\/td>\n<td>3.0 \u8d77\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u539f\u751f\u652f\u6301<\/td>\n<td>\u652f\u6301&#xff08;\u4e91\u4e0a SharedMergeTree \/ \u81ea\u7ba1 S3BackedMergeTree&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u653e\u7a0b\u5ea6<\/td>\n<td>\u793e\u533a\u7248\u5168\u5f00\u653e&#xff0c;\u65e0\u9700\u4f01\u4e1a\u7248<\/td>\n<td>SharedMergeTree \u5b8c\u6574\u80fd\u529b\u591a\u5728 ClickHouse Cloud<\/td>\n<\/tr>\n<tr>\n<td>\u843d\u5730\u65b9\u5f0f<\/td>\n<td>\u90e8\u7f72\u65f6\u9009\u5b58\u7b97\u5206\u79bb\u6a21\u5f0f &#043; SQL \u7ba1\u7406\u8ba1\u7b97\u7ec4<\/td>\n<td>\u81ea\u7ba1\u9700\u6539 config.d XML &#043; chown &#043; restart&#xff0c;\u6216\u4e0a\u4e91<\/td>\n<\/tr>\n<tr>\n<td>\u5143\u6570\u636e\u7ba1\u7406<\/td>\n<td>\u65e0\u72b6\u6001 Meta Service&#xff08;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1&#xff09;<\/td>\n<td>SharedMergeTree \u7ecf clickhouse-keeper \u534f\u8c03<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u96c6\u7fa4\u9694\u79bb<\/td>\n<td>\u591a\u8ba1\u7b97\u7ec4\u5171\u4eab\u6570\u636e\u3001\u7269\u7406\u9694\u79bb\u8bfb\u5199<\/td>\n<td>SharedMergeTree \u652f\u6301\u5927\u91cf\u526f\u672c&#xff0c;\u4f46\u591a\u5728 Cloud \u5185<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u6210\u672c<\/td>\n<td>\u8f83\u5b58\u7b97\u4e00\u4f53\u4e09\u526f\u672c\u6700\u9ad8\u964d 90%<\/td>\n<td>\u5bf9\u8c61\u5b58\u50a8\u964d\u672c&#xff0c;\u5b8c\u6574\u4f53\u9a8c\u4f9d\u8d56 Cloud<\/td>\n<\/tr>\n<tr>\n<td>\u56fd\u4ea7\u5316\u9002\u914d \/ \u4fe1\u521b<\/td>\n<td>\u5df2\u5b8c\u6210\u9cb2\u9e4f \/ \u6d77\u5149 \/ \u98de\u817e\u7b49\u56fd\u4ea7 CPU \u4e0e\u9e92\u9e9f \/ \u7edf\u4fe1 UOS \/ openEuler \u7b49\u56fd\u4ea7\u64cd\u4f5c\u7cfb\u7edf\u9002\u914d&#xff0c;\u901a\u8fc7\u7b49\u4fdd\u4e09\u7ea7\u3001\u53ef\u4fe1\u6570\u636e\u5e93\u7b49\u8ba4\u8bc1<\/td>\n<td>\u672a\u7eb3\u5165\u4fe1\u521b\u76ee\u5f55&#xff0c;\u65e0\u5b98\u65b9\u4fe1\u521b \/ \u56fd\u4ea7\u5316\u9002\u914d\u8ba4\u8bc1<\/td>\n<\/tr>\n<tr>\n<td>\u5546\u4e1a\u5316\u670d\u52a1 \/ \u4f01\u4e1a\u7ea7\u90e8\u7f72<\/td>\n<td>\u5f00\u6e90\u81ea\u884c\u90e8\u7f72&#xff1b;\u5546\u4e1a\u5316\u7531\u56fd\u5185\u516c\u53f8 SelectDB&#xff08;\u98de\u8f6e\u79d1\u6280&#xff09;\u63d0\u4f9b\u79c1\u6709\u5316\u90e8\u7f72\u3001\u4e91\u4e0a SaaS\/BYOC\u3001\u591a\u4e91\u539f\u751f\u4e0e\u56fd\u4ea7\u5316\u9002\u914d&#xff0c;\u4e0e\u5f00\u6e90 100% \u517c\u5bb9<\/td>\n<td>\u5546\u4e1a\u7248 ClickHouse Cloud \u7531 ClickHouse, Inc.&#xff08;\u7f8e\u56fd&#xff09;\u4e3b\u8981\u5728\u6d77\u5916 AWS\/GCP\/Azure \u6258\u7ba1&#xff1b;\u56fd\u5185\u65e0\u5b98\u65b9\u672c\u5730\u5316\u5546\u4e1a\u56e2\u961f\u505a\u4fe1\u521b \/ \u7b49\u4fdd\u9002\u914d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e94\u3001\u5df2\u77e5\u7ea6\u675f\u4e0e\u89c4\u907f\u65b9\u5f0f<\/h3>\n<table>\n<tr>\u7ea6\u675f\u8868\u73b0\u5904\u7406\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>\u90e8\u7f72\u62d3\u6251\u4e0d\u540c<\/td>\n<td>Doris \u5b58\u7b97\u5206\u79bb\u9700 Meta Service &#043; \u5171\u4eab\u5b58\u50a8<\/td>\n<td>\u6309 3.0 \u5b58\u7b97\u5206\u79bb\u90e8\u7f72\u6587\u6863\u89c4\u5212&#xff0c;\u533a\u522b\u4e8e\u4e00\u4f53\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>\u51b7\u542f\u52a8\u7f13\u5b58<\/td>\n<td>\u65b0\u8ba1\u7b97\u7ec4\u9996\u67e5\u6709\u5bf9\u8c61\u5b58\u50a8\u56de\u6e90<\/td>\n<td>\u67e5\u8be2\u81ea\u7136\u9884\u70ed File Cache&#xff1b;\u70ed\u70b9\u8d70\u672c\u5730\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>CK \u81ea\u7ba1\u5751<\/td>\n<td>\u914d\u5bf9\u8c61\u5b58\u50a8\u751f\u547d\u5468\u671f\u7b56\u7565\u4f1a\u8868\u635f\u574f<\/td>\n<td>\u4e25\u683c\u4e0d\u914d S3 \/ GCS \u751f\u547d\u5468\u671f\u7b56\u7565&#xff08;\u5b98\u65b9\u8b66\u544a&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u9694\u79bb\u5f3a\u5ea6<\/td>\n<td>\u8ba1\u7b97\u7ec4\u95f4 Peer \u8bfb\u9ed8\u8ba4\u5f00&#xff0c;\u7f13\u5b58\u9694\u79bb\u88ab\u524a\u5f31<\/td>\n<td>\u4e25\u683c\u9694\u79bb\u573a\u666f\u5728 BE \u5173 Peer \u8bfb<\/td>\n<\/tr>\n<tr>\n<td>\u6743\u9650\u524d\u7f6e<\/td>\n<td>\u7528\u8ba1\u7b97\u7ec4\u9700 USAGE_PRIV&#xff0c;\u5426\u5219\u8bfb\u5199\u62a5\u9519<\/td>\n<td>\u5148 GRANT&#xff0c;\u518d SET PROPERTY \u8bbe\u9ed8\u8ba4\u7ec4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898&#xff08;FAQ&#xff09;<\/h3>\n<p>Q&#xff1a;ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417&#xff1f;<\/p>\n<p>\u652f\u6301\u3002\u4e91\u4e0a\u7528 SharedMergeTree&#xff0c;\u81ea\u7ba1\u53ef\u4ee5\u7528 S3BackedMergeTree \u628a S3 \u5f53\u5b58\u50a8\u3002\u53ea\u662f\u5b98\u65b9\u660e\u8bf4\u81ea\u7ba1&#034;\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742&#034;&#xff0c;\u5b8c\u6574\u80fd\u529b\u591a\u5728 ClickHouse Cloud\u3002<\/p>\n<p>Q&#xff1a;Doris \u5b58\u7b97\u5206\u79bb\u8981\u4f01\u4e1a\u7248\u5417&#xff1f;<\/p>\n<p>\u4e0d\u7528\u3002\u4ece 3.0 \u8d77\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u5c31\u539f\u751f\u652f\u6301&#xff0c;Meta Service\u3001\u8ba1\u7b97\u7ec4\u3001\u591a\u96c6\u7fa4\u9694\u79bb\u3001TTL \u6587\u4ef6\u7f13\u5b58\u90fd\u5728\u5f00\u6e90\u91cc&#xff0c;\u4e0d\u7528\u4e0a\u4f01\u4e1a\u7248\u3002<\/p>\n<p>Q&#xff1a;Doris \u8ba1\u7b97\u7ec4\u600e\u4e48\u5efa&#xff1f;<\/p>\n<p>\u7528 ALTER SYSTEM ADD BACKEND &#8230; PROPERTIES (&#034;tag.compute_group_name&#034; &#061; &#034;\u7ec4\u540d&#034;) \u628a BE \u52a0\u8fdb\u7ec4&#xff0c;\u6ca1\u6709\u5355\u72ec\u7684&#034;\u5efa\u8ba1\u7b97\u7ec4&#034;\u8bed\u53e5\u30023.0.2 \u4e4b\u524d\u53eb Compute Cluster&#xff0c;\u73b0\u5728\u7edf\u4e00\u53eb Compute Group\u3002<\/p>\n<p>Q&#xff1a;\u5b58\u7b97\u5206\u79bb\u80fd\u964d\u591a\u5c11\u5b58\u50a8&#xff1f;<\/p>\n<p>Doris \u5b98\u65b9\u53e3\u5f84&#xff1a;\u76f8\u6bd4\u5b58\u7b97\u4e00\u4f53\u4e09\u526f\u672c&#xff0c;\u5b58\u50a8\u6210\u672c\u6700\u9ad8\u53ef\u964d 90%&#xff0c;\u56e0\u4e3a\u5171\u4eab\u5b58\u50a8\u53ea\u5b58\u4e00\u4efd&#xff0c;\u8ba1\u7b97\u7ec4\u4e0d\u989d\u5916\u4e58\u526f\u672c\u3002<\/p>\n<p>Q&#xff1a;ClickHouse \u81ea\u7ba1\u6709\u4ec0\u4e48\u5751&#xff1f;<\/p>\n<p>\u8981\u6539 config.d XML\u3001\u6539\u5b8c chown \u518d restart&#xff1b;\u5b98\u65b9\u7279\u522b\u63d0\u9192\u4e0d\u8981\u7ed9\u5bf9\u8c61\u5b58\u50a8\u914d\u751f\u547d\u5468\u671f\u7b56\u7565&#xff0c;\u5426\u5219\u53ef\u80fd\u8868\u635f\u574f\u3002\u8fd9\u4e9b\u9690\u6027\u8fd0\u7ef4\u6210\u672c\u8981\u7b97\u8fdb\u603b\u62e5\u6709\u6210\u672c\u3002<\/p>\n<p>Q&#xff1a;\u9009\u578b\u5e94\u8be5\u770b\u4ec0\u4e48&#xff1f;<\/p>\n<p>\u770b\u4f60\u8981&#034;DIY \u6539\u9020&#034;\u8fd8\u662f&#034;\u5f00\u7bb1\u5373\u7528\u5f39\u6027&#034;\u3002\u6709\u4e13\u804c\u5f15\u64ce\u8fd0\u7ef4\u3001\u5df2\u5728 ClickHouse Cloud \u91cc\u7684\u56e2\u961f\u672c\u5c31\u5b8c\u6574\u4f53\u9a8c&#xff1b;\u60f3\u8981\u793e\u533a\u7248\u5f00\u7bb1\u5373\u7528\u3001\u7528 SQL \u7ba1\u5f39\u6027\u7684&#xff0c;Doris \u8fd9\u6761\u8def\u66f4\u7701\u5fc3\u3002\u5982\u679c\u56e2\u961f\u89c4\u6a21\u5c0f\u3001\u6ca1\u6709\u4e13\u804c\u5f15\u64ce\u8fd0\u7ef4&#xff0c;Doris \u793e\u533a\u7248\u539f\u751f\u8fd9\u6761\u8def\u80fd\u5c11\u8e29\u5f88\u591a\u5751&#xff1b;\u5982\u679c\u5df2\u7ecf\u5728 ClickHouse Cloud \u91cc\u8dd1\u5f97\u987a&#xff0c;\u4e5f\u6ca1\u5fc5\u8981\u4e3a\u5b58\u7b97\u5206\u79bb\u4e13\u95e8\u6362\u3002<\/p>\n<p>Q&#xff1a;\u5c0f\u56e2\u961f\u9002\u5408\u54ea\u79cd\u5b58\u7b97\u5206\u79bb&#xff1f;<\/p>\n<p>\u5b58\u7b97\u5206\u79bb\u5bf9\u8fd0\u7ef4\u6210\u719f\u5ea6\u6709\u8981\u6c42&#xff1a;Doris \u793e\u533a\u7248\u867d\u7136\u5f00\u7bb1\u5373\u7528&#xff0c;\u4f46\u4ecd\u8981\u89c4\u5212 Meta Service \u4e0e\u5171\u4eab\u5b58\u50a8&#xff1b;ClickHouse \u81ea\u7ba1\u540c\u6837\u8981\u4f1a\u914d\u5bf9\u8c61\u5b58\u50a8\u4e0e\u7f13\u5b58\u3002\u5982\u679c\u4eba\u529b\u7d27\u5f20&#xff0c;\u4f18\u5148\u8003\u8651\u6258\u7ba1 \/ \u4e91\u4e0a\u7248\u672c&#xff0c;\u628a\u8fd0\u7ef4\u4ea4\u7ed9\u5382\u5546&#xff0c;\u81ea\u5df1\u53ea\u7ba1\u5efa\u6a21\u4e0e\u67e5\u8be2\u3002\u65e0\u8bba\u9009\u8c01&#xff0c;\u5148\u628a&#034;\u6570\u636e\u91cf\u4f1a\u4e0d\u4f1a\u8ba9\u5b58\u50a8\u8d26\u5355\u5931\u63a7&#034;\u7b97\u6e05\u695a&#xff0c;\u518d\u51b3\u5b9a\u8981\u4e0d\u8981\u5206\u79bb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u2014\u2014\u4e91\u4e0a\u7528 SharedMergeTree&#xff0c;\u81ea\u7ba1\u53ef\u4ee5\u7528 S3BackedMergeTree \u628a S3 \u5f53\u5b58\u50a8\u3002\u4f46\u5b98\u65b9\u6587\u6863\u4e5f\u660e\u8bf4&#xff0c;\u81ea\u7ba1\u8fd9\u5957\\&#8221;\u5b9e\u73b0\u548c\u7ba1\u7406\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742\\&#8221;&#xff0c;\u5b8c\u6574\u80fd\u529b\u591a\u9501\u5728 ClickHouse Cloud\u3002\u53e6\u4e00\u8fb9&#xff0c;Apache Doris \u4ece 3.0 \u8d77\u628a\u5b58\u7b97\u5206\u79bb\u505a\u6210\u4e86\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u539f\u751f\u80fd\u529b&#xff1a;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1  \u65e0\u72b6\u6001\u8ba1\u7b97\u7ec4  \u591a\u8ba1\u7b97\u96c6<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13549,13550,697,763,100],"topic":[],"class_list":["post-119142","post","type-post","status-publish","format-standard","hentry","category-server","tag-apache-doris","tag-13550","tag-clickhouse","tag-763","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/119142.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u2014\u2014\u4e91\u4e0a\u7528 SharedMergeTree&#xff0c;\u81ea\u7ba1\u53ef\u4ee5\u7528 S3BackedMergeTree \u628a S3 \u5f53\u5b58\u50a8\u3002\u4f46\u5b98\u65b9\u6587\u6863\u4e5f\u660e\u8bf4&#xff0c;\u81ea\u7ba1\u8fd9\u5957&quot;\u5b9e\u73b0\u548c\u7ba1\u7406\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742&quot;&#xff0c;\u5b8c\u6574\u80fd\u529b\u591a\u9501\u5728 ClickHouse Cloud\u3002\u53e6\u4e00\u8fb9&#xff0c;Apache Doris \u4ece 3.0 \u8d77\u628a\u5b58\u7b97\u5206\u79bb\u505a\u6210\u4e86\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u539f\u751f\u80fd\u529b&#xff1a;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1 \u65e0\u72b6\u6001\u8ba1\u7b97\u7ec4 \u591a\u8ba1\u7b97\u96c6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/119142.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-28T16:24:26+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119142.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/119142.html\",\"name\":\"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-28T16:24:26+00:00\",\"dateModified\":\"2026-10-28T16:24:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/119142.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/119142.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/119142.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/119142.html","og_locale":"zh_CN","og_type":"article","og_title":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u2014\u2014\u4e91\u4e0a\u7528 SharedMergeTree&#xff0c;\u81ea\u7ba1\u53ef\u4ee5\u7528 S3BackedMergeTree \u628a S3 \u5f53\u5b58\u50a8\u3002\u4f46\u5b98\u65b9\u6587\u6863\u4e5f\u660e\u8bf4&#xff0c;\u81ea\u7ba1\u8fd9\u5957\"\u5b9e\u73b0\u548c\u7ba1\u7406\u6bd4\u6807\u51c6\u90e8\u7f72\u66f4\u590d\u6742\"&#xff0c;\u5b8c\u6574\u80fd\u529b\u591a\u9501\u5728 ClickHouse Cloud\u3002\u53e6\u4e00\u8fb9&#xff0c;Apache Doris \u4ece 3.0 \u8d77\u628a\u5b58\u7b97\u5206\u79bb\u505a\u6210\u4e86\u793e\u533a\u7248&#xff08;\u5f00\u6e90&#xff09;\u539f\u751f\u80fd\u529b&#xff1a;\u4e8b\u52a1\u5143\u6570\u636e\u670d\u52a1 \u65e0\u72b6\u6001\u8ba1\u7b97\u7ec4 \u591a\u8ba1\u7b97\u96c6","og_url":"https:\/\/www.wsisp.com\/helps\/119142.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-28T16:24:26+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/119142.html","url":"https:\/\/www.wsisp.com\/helps\/119142.html","name":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-28T16:24:26+00:00","dateModified":"2026-10-28T16:24:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/119142.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/119142.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/119142.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ClickHouse \u652f\u6301\u5b58\u7b97\u5206\u79bb\u5417\uff1fDoris \u793e\u533a\u7248\u539f\u751f\u5b58\u7b97\u5206\u79bb\u600e\u4e48\u843d\u5730"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=119142"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/119142\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=119142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=119142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=119142"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=119142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}