{"id":796,"date":"2025-07-18T00:50:00","date_gmt":"2025-07-17T16:50:00","guid":{"rendered":"http:\/\/www.applicationsofllm.com\/?p=796"},"modified":"2025-09-17T00:52:03","modified_gmt":"2025-09-16T16:52:03","slug":"%e4%bb%80%e4%b9%88%e6%98%af%e7%bb%b4%e5%ba%a6%e5%bb%ba%e6%a8%a1%ef%bc%9f%e4%b8%ba%e4%bb%80%e4%b9%88%e6%95%b0%e6%8d%ae%e4%bb%93%e5%ba%93%e7%a6%bb%e4%b8%8d%e5%bc%80%e5%ae%83%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/www.applicationsofllm.com\/index.php\/2025\/07\/18\/%e4%bb%80%e4%b9%88%e6%98%af%e7%bb%b4%e5%ba%a6%e5%bb%ba%e6%a8%a1%ef%bc%9f%e4%b8%ba%e4%bb%80%e4%b9%88%e6%95%b0%e6%8d%ae%e4%bb%93%e5%ba%93%e7%a6%bb%e4%b8%8d%e5%bc%80%e5%ae%83%ef%bc%9f\/","title":{"rendered":"\u4ec0\u4e48\u662f\u7ef4\u5ea6\u5efa\u6a21\uff1f\u4e3a\u4ec0\u4e48\u6570\u636e\u4ed3\u5e93\u79bb\u4e0d\u5f00\u5b83\uff1f"},"content":{"rendered":"\n<p>\u4f01\u4e1a\u642d\u5efa\u6570\u636e\u4ed3\u5e93\u7684\u6700\u7ec8\u76ee\u6807\u662f\u8ba9\u6570\u636e\u6613\u5b58\u53d6\u6548\u7387\u9ad8\u3001\u6307\u6807\u4e00\u81f4\u4e14\u5b8c\u6574\u3001\u9002\u5e94\u5f3a\u4fbf\u4e8e\u4fee\u6539\u3001\u63d0\u4f9b\u51b3\u7b56\u4f9d\u636e\u2026\u2026\u603b\u4e4b<strong>\u4e1a\u52a1\u9700\u6c42<\/strong>\u662f\u7b2c\u4e00\u4f4d\u7684\u3002<\/p>\n\n\n\n<p>\u8fd9\u9700\u8981\u4e00\u5f00\u59cb\u5c31\u8fdb\u884c\u7cfb\u7edf\u5316\u7684\u6570\u636e\u5efa\u6a21\u8bbe\u8ba1\uff0c\u5426\u5219\u6570\u636e\u4ed3\u5e93\u5c31\u6210\u4e86\u201c\u6570\u636e\u5806\u79ef\u573a\u201d\uff0c\u4e1a\u52a1\u60f3\u7528\u65f6\u5bf8\u6b65\u96be\u884c\u3002<\/p>\n\n\n\n<p>\u800c\u5728\u4f17\u591a\u5efa\u6a21\u65b9\u6cd5\u4e2d\uff0c<strong>\u7ef4\u5ea6\u5efa\u6a21<\/strong>\u4ee5\u5176\u6e05\u6670\u7684\u4e1a\u52a1\u89c6\u89d2\u3001\u9ad8\u6548\u7684\u67e5\u8be2\u6027\u80fd\uff0c\u6210\u4e3a\u652f\u6491\u6570\u4ed3\u5206\u6790\u5e94\u7528\u7684\u5173\u952e\u3002<\/p>\n\n\n\n<p>\u4eca\u5929\uff0c\u6211\u4eec\u5c31\u6765\u804a\u804a\uff1a\u7ef4\u5ea6\u5efa\u6a21\u5230\u5e95\u662f\u4ec0\u4e48\uff1f\u5b83\u5728\u6570\u4ed3\u5efa\u8bbe\u4e2d\u626e\u6f14\u4e86\u600e\u6837\u7684\u89d2\u8272\uff1f\u53c8\u8be5\u600e\u4e48\u5b9e\u73b0\uff1f<\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21<br><br><\/strong><\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21<\/strong>\u662f\u5927\u5e08Kimball\u7684\u89c2\u70b9\uff0c\u548c\u5173\u7cfb\u578b\u5efa\u6a21\u76f8\u53cd\uff0c\u7ef4\u5ea6\u5efa\u6a21\u901a\u8fc7\u589e\u52a0\u5197\u4f59\u6765\u589e\u52a0\u67e5\u8be2\u901f\u5ea6\uff0c<strong>\u4ee5\u5206\u6790\u51b3\u7b56\u7684\u9700\u6c42\u51fa\u53d1\u6784\u5efa\u6a21\u578b<\/strong>\uff0c\u5c06\u4e1a\u52a1\u4e3b\u9898\u5bf9\u5e94\u7684\u591a\u4e2a\u5b9e\u4f53\u5197\u4f59\u8bb0\u5f55\uff0c\u5c06\u5171\u6709\u7ef4\u5ea6\uff0c\u53d8\u5316\u7f13\u6162\u7ef4\u7684\u5c5e\u6027\u62bd\u51fa\u5f62\u6210\u7ef4\u5ea6\u8868\u3002<\/p>\n\n\n\n<p>\u7b80\u5355\u6765\u8bf4\uff0c\u7ef4\u5ea6\u5efa\u6a21\u7684\u672c\u8d28\u5c31\u662f\uff1a<strong>\u4ee5\u5206\u6790\u9700\u6c42\u4e3a\u51fa\u53d1\u70b9\uff0c\u56f4\u7ed5\u4e1a\u52a1\u8fc7\u7a0b\u7ec4\u7ec7\u6570\u636e\uff0c\u6784\u5efa\u51fa\u65e2\u80fd\u9ad8\u6548\u67e5\u8be2\uff0c\u53c8\u6613\u4e8e\u7406\u89e3\u7684\u6570\u636e\u7ed3\u6784\u3002<\/strong><\/p>\n\n\n\n<p>\u5b83\u5173\u6ce8\u7684\u6838\u5fc3\u95ee\u9898\u662f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u4f55\u8ba9\u4e1a\u52a1\u4eba\u5458\u5728\u9762\u5bf9\u6570\u636e\u65f6\uff0c\u80fd\u591f\u201c\u987a\u7740\u4e1a\u52a1\u903b\u8f91\u201d\u81ea\u7136\u800c\u7136\u5730\u63d0\u53d6\u60f3\u8981\u7684\u7b54\u6848\uff1f<\/li>\n\n\n\n<li>\u5982\u4f55\u901a\u8fc7\u5408\u7406\u8bbe\u8ba1\uff0c\u907f\u514d\u590d\u6742\u7684\u591a\u8868\u5173\u8054\uff0c\u8ba9\u67e5\u8be2\u6027\u80fd\u59cb\u7ec8\u4fdd\u6301\u6d41\u7545\uff1f<\/li>\n<\/ul>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21\u7684\u56db\u5927\u4f18\u52bf<\/strong><\/p>\n\n\n\n<p>\u7ef4\u5ea6\u5efa\u6a21\u4e4b\u6240\u4ee5\u6210\u4e3a\u6570\u4ed3\u5efa\u8bbe\u4e2d\u7684\u4e3b\u6d41\u65b9\u6cd5\uff0c\u6838\u5fc3\u5728\u4e8e\u5b83\u5177\u5907\u4ee5\u4e0b\u4f18\u52bf\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6613\u7406\u89e3\uff1a<\/strong>\u56f4\u7ed5\u4e1a\u52a1\u81ea\u7136\u5206\u7c7b\uff0c\u4e1a\u52a1\u4eba\u5458\u4e5f\u80fd\u5feb\u901f\u8bfb\u61c2\u6a21\u578b\u3002<\/li>\n\n\n\n<li><strong>\u67e5\u8be2\u9ad8\u6027\u80fd\uff1a<\/strong>\u901a\u8fc7\u7b80\u5316\u8868\u7ed3\u6784\uff0c\u51cf\u5c11\u591a\u8868\u5173\u8054\uff0c\u67e5\u8be2\u901f\u5ea6\u5feb\u3002<\/li>\n\n\n\n<li><strong>\u7075\u6d3b\u6269\u5c55\uff1a<\/strong>\u65b0\u4e1a\u52a1\u589e\u52a0\u65f6\uff0c\u53ea\u9700\u6269\u5c55\u7ef4\u5ea6\u8868\u3001\u4e8b\u5b9e\u8868\uff0c\u65e0\u9700\u63a8\u7ffb\u539f\u6709\u67b6\u6784\u3002<\/li>\n\n\n\n<li><strong>\u6613\u4e8e\u7ef4\u62a4\uff1a<\/strong>\u5f53\u9700\u6c42\u53d8\u5316\u65f6\uff0c\u53ef\u4ee5\u5c40\u90e8\u8c03\u6574\u800c\u4e0d\u662f\u5927\u89c4\u6a21\u91cd\u6784\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21\u7684\u4e00\u822c\u6d41\u7a0b<\/strong><\/p>\n\n\n\n<p>\u901a\u5e38\uff0c\u5efa\u8bbe\u4e00\u5957\u6210\u719f\u7684\u7ef4\u5ea6\u6a21\u578b\uff0c\u4fdd\u8bc1\u6a21\u578b\u65e2\u7b26\u5408\u4e1a\u52a1\u903b\u8f91\uff0c\u53c8\u517c\u987e\u6280\u672f\u5b9e\u73b0\uff0c\u5927\u81f4\u9700\u8981\u7ecf\u5386\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<p><strong>1\u3001\u786e\u5b9a\u4e1a\u52a1\u8fc7\u7a0b\uff1a<\/strong>\u5b9a\u4e49\u6570\u636e\u4ed3\u5e93\u9700\u8981\u652f\u6301\u7684\u6838\u5fc3\u4e1a\u52a1\u4e8b\u4ef6\uff0c\u5982\u4e0b\u5355\u3001\u652f\u4ed8\u3001\u8fd0\u8f93\u7b49\u3002<\/p>\n\n\n\n<p><strong>2\u3001\u786e\u5b9a\u7c92\u5ea6\uff1a<\/strong>\u660e\u786e\u6bcf\u6761\u4e8b\u5b9e\u8bb0\u5f55\u4ee3\u8868\u4ec0\u4e48\u7c92\u5ea6\uff0c\u5982\u4e00\u7b14\u8ba2\u5355\u3001\u4e00\u4ef6\u5546\u54c1\u3002<\/p>\n\n\n\n<p><strong>3\u3001\u786e\u5b9a\u7ef4\u5ea6\uff1a<\/strong>\u4ece\u4e1a\u52a1\u89d2\u5ea6\u8bc6\u522b\u51fa\u9700\u8981\u5206\u6790\u7684\u5404\u79cd\u7ef4\u5ea6\uff0c\u5982\u5ba2\u6237\u3001\u4ea7\u54c1\u3001\u65f6\u95f4\u3002<\/p>\n\n\n\n<p><strong>4\u3001\u786e\u5b9a\u6307\u6807\uff08\u4e8b\u5b9e\uff09\uff1a<\/strong>\u5b9a\u4e49\u9700\u8981\u8ffd\u8e2a\u7684\u91cf\u5316\u6570\u636e\uff0c\u5982\u91d1\u989d\u3001\u6570\u91cf\u3002<\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21\u5728\u6570\u636e\u5efa\u6a21\u4e2d\u7684\u5e94\u7528<br><br><\/strong><\/p>\n\n\n\n<p>\u7ef4\u5ea6\u5efa\u6a21\u5e76\u4e0d\u662f\u67d0\u4e00\u4e2a\u5b64\u7acb\u6b65\u9aa4\uff0c\u800c\u662f\u8d2f\u7a7f\u4e86\u4ece\u4e1a\u52a1\u7406\u89e3\u5230\u7cfb\u7edf\u843d\u5730\u7684\u5168\u8fc7\u7a0b\uff0c\u5728\u6570\u636e\u5efa\u6a21\u7684\u5404\u4e2a\u9636\u6bb5\u90fd\u6709\u6240\u5e94\u7528\uff0c\u5177\u4f53\u4f53\u73b0\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-163-1024x494.jpg\" alt=\"\" class=\"wp-image-798\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-163-1024x494.jpg 1024w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-163-300x145.jpg 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-163-768x370.jpg 768w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-163.jpg 1108w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>1\u3001\u6982\u5ff5\u6a21\u578b\uff08Conceptual Model\uff09<\/strong><\/p>\n\n\n\n<p>\u5728\u8fd9\u4e2a\u9636\u6bb5\uff0c\u7ef4\u5ea6\u5efa\u6a21\u5e2e\u52a9\u6211\u4eec\u7406\u89e3\u548c\u63cf\u8ff0\u4e1a\u52a1\u8fc7\u7a0b\uff0c\u786e\u5b9a\u4e3b\u8981\u7684\u4e1a\u52a1\u5b9e\u4f53\uff08\u5373\u7ef4\u5ea6\uff09\u548c\u4e1a\u52a1\u5ea6\u91cf\uff08\u5373\u4e8b\u5b9e\u6216\u6307\u6807\uff09\u3002<\/p>\n\n\n\n<p>\u6bd4\u5982\u5728\u5efa\u6a21\u4e00\u4e2a\u9500\u552e\u8fc7\u7a0b\u65f6\uff0c\u6211\u4eec\u4f1a\u8bc6\u522b\u51fa\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7ef4\u5ea6\uff1a<\/strong>\u65f6\u95f4\u3001\u5730\u70b9\u3001\u4ea7\u54c1\u3001\u5ba2\u6237<\/li>\n\n\n\n<li><strong>\u6307\u6807\uff1a<\/strong>\u9500\u552e\u91d1\u989d\u3001\u9500\u552e\u6570\u91cf\u3001\u5229\u6da6<\/li>\n<\/ul>\n\n\n\n<p>\u6b64\u65f6\uff0c\u6211\u4eec\u5e76\u4e0d\u5173\u6ce8\u8be6\u7ec6\u7684\u6570\u636e\u5e93\u8bbe\u8ba1\uff0c\u800c\u662f\u5173\u6ce8\u5982\u4f55\u7528\u201c\u4e8b\u5b9e+\u7ef4\u5ea6\u201d\u7684\u65b9\u5f0f\uff0c\u6e05\u6670\u8868\u8fbe\u4e1a\u52a1\u8fc7\u7a0b\u548c\u5206\u6790\u9700\u6c42\uff0c\u5efa\u7acb\u4e00\u4e2a\u9ad8\u5c42\u6b21\u7684\u4e1a\u52a1\u89c6\u56fe\u3002<\/p>\n\n\n\n<p><strong>2\u3001\u903b\u8f91\u6a21\u578b\uff08Logical Model\uff09<\/strong><\/p>\n\n\n\n<p>\u5f53\u6982\u5ff5\u6a21\u578b\u786e\u5b9a\u540e\uff0c\u4e0b\u4e00\u6b65\u8fdb\u5165\u903b\u8f91\u5efa\u6a21\u9636\u6bb5\uff0c\u5728\u8fd9\u4e00\u9636\u6bb5\uff0c\u7ef4\u5ea6\u5efa\u6a21\u5e2e\u52a9\u628a\u62bd\u8c61\u7684\u4e1a\u52a1\u6982\u5ff5\uff0c\u8f6c\u5316\u4e3a\u53ef\u4ee5\u76f4\u63a5\u6307\u5bfc\u6570\u636e\u5e93\u8bbe\u8ba1\u7684<strong>\u8be6\u7ec6\u7ed3\u6784<\/strong>\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e3a\u6bcf\u4e2a\u7ef4\u5ea6\u786e\u5b9a\u5177\u4f53\u7684<strong>\u5c5e\u6027<\/strong>\uff08\u4f8b\u5982\u5ba2\u6237\u7ef4\u5ea6\u5305\u542b\u5ba2\u6237ID\u3001\u59d3\u540d\u3001\u5730\u5740\u3001\u6ce8\u518c\u65f6\u95f4\u7b49\u5b57\u6bb5\uff09<\/li>\n\n\n\n<li>\u5b9a\u4e49\u6bcf\u4e2a<strong>\u6307\u6807\u7684\u8ba1\u7b97\u65b9\u6cd5<\/strong>\uff08\u5982\u8ba2\u5355\u603b\u91d1\u989d = \u5355\u4ef7 \u00d7 \u6570\u91cf\uff09<\/li>\n\n\n\n<li>\u8bbe\u8ba1\u7ef4\u5ea6\u8868\u4e8b\u5b9e\u8868\u7684\u7ed3\u6784\uff0c\u5e76\u660e\u786e\u5b83\u4eec\u4e4b\u95f4\u7684\u5173\u8054\u5173\u7cfb\uff08\u6bd4\u5982\u5ba2\u6237ID\u8fde\u63a5\u8ba2\u5355\u4e8b\u5b9e\u8868\u548c\u5ba2\u6237\u7ef4\u5ea6\u8868\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u4e00\u9636\u6bb5\uff0c\u5f88\u591a\u5173\u952e\u7684\u8bbe\u8ba1\u51b3\u7b56\uff0c\u6bd4\u5982\u662f\u5426\u9700\u8981\u9000\u5316\u7ef4\u5ea6\u3001\u662f\u5426\u8981\u505a\u89d2\u8272\u626e\u6f14\u7ef4\u5ea6\uff0c\u90fd\u4f1a\u5728\u8fd9\u91cc\u843d\u5730\u3002<\/p>\n\n\n\n<p><strong>3\u3001\u7269\u7406\u6a21\u578b\uff08Physical Model\uff09<\/strong><\/p>\n\n\n\n<p>\u5b8c\u6210\u903b\u8f91\u5efa\u6a21\u540e\uff0c\u6700\u540e\u8fdb\u5165\u7269\u7406\u5efa\u6a21\u9636\u6bb5\uff0c\u5728\u8fd9\u4e2a\u9636\u6bb5\uff0c\u7ef4\u5ea6\u5efa\u6a21\u5e2e\u52a9\u6211\u4eec\u5b9e\u73b0\u6570\u636e\u4ed3\u5e93\u7684\u7269\u7406\u8bbe\u8ba1\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6839\u636e\u6570\u636e\u5e93\u5e73\u53f0\uff08\u5982 SQL Server\u3001Oracle\u3001MySQL \u7b49\uff09\uff0c\u5b9e\u9645\u521b\u5efa<strong>\u7ef4\u5ea6\u8868\u548c\u4e8b\u5b9e\u8868<\/strong><\/li>\n\n\n\n<li>\u4f18\u5316\u8868\u7ed3\u6784\uff0c\u6bd4\u5982\u4e3a<strong>\u5e38\u7528\u67e5\u8be2\u5b57\u6bb5<\/strong>\u5efa\u7acb\u7d22\u5f15\uff0c\u8bbe\u7f6e\u5206\u533a\uff0c\u63d0\u9ad8\u67e5\u8be2\u6027\u80fd<\/li>\n\n\n\n<li>\u5904\u7406\u5927\u6570\u636e\u91cf\u65f6\u7684\u6027\u80fd\u8003\u91cf\uff0c\u5982<strong>\u6570\u636e\u538b\u7f29\u3001\u5e76\u884c\u52a0\u8f7d<\/strong>\u7b49<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u4e2a\u9636\u6bb5\u7684\u76ee\u6807\u662f\u5efa\u7acb\u4e00\u4e2a\u53ef\u4ee5\u5b9e\u9645\u8fd0\u884c\u7684\u6570\u636e\u4ed3\u5e93\u3002<\/p>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u7ef4\u5ea6\u5efa\u6a21\u662f\u4e00\u6761\u8d2f\u7a7f\u59cb\u7ec8\u7684\u4e3b\u7ebf\uff0c\u4ece\u6700\u521d\u7684\u4e1a\u52a1\u62bd\u8c61\uff0c\u5230\u8be6\u7ec6\u7684\u6570\u636e\u7ed3\u6784\u8bbe\u8ba1\uff0c\u518d\u5230\u7cfb\u7edf\u4e0a\u7ebf\u540e\u7684\u67e5\u8be2\u4f18\u5316\uff0c\u7ef4\u5ea6\u5efa\u6a21\u59cb\u7ec8\u56f4\u7ed5\u7740\u4e24\u4e2a\u6838\u5fc3\uff1a<strong>\u7ef4\u5ea6\u548c\u4e8b\u5b9e<\/strong>\uff0c\u4e5f\u662f\u7ef4\u5ea6\u5efa\u6a21\u4e0d\u53ef\u6216\u7f3a\u7684\u57fa\u77f3\u3002<\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21\u4e24\u5927\u57fa\u77f3<br><br><\/strong><\/p>\n\n\n\n<p>\u5728\u7ef4\u5ea6\u5efa\u6a21\u7684\u4f53\u7cfb\u4e2d\uff0c\u6570\u636e\u4e0d\u518d\u662f\u96f6\u6563\u7684\u8868\u683c\u548c\u5b57\u6bb5\uff0c\u800c\u662f\u88ab\u6709\u7ec4\u7ec7\u5730\u5206\u4e3a<strong>\u4e8b\u5b9e<\/strong>\u548c<strong>\u7ef4\u5ea6<\/strong>\u4e24\u5927\u90e8\u5206\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4e8b\u5b9e\uff08Fact\uff09<\/strong>\u662f\u4e1a\u52a1\u4e16\u754c\u4e2d\u53ef\u91cf\u5316\u3001\u53ef\u5ea6\u91cf\u7684\u4e8b\u4ef6\uff0c\u6bd4\u5982\u4e00\u6b21\u8ba2\u5355\u3001\u4e00\u7b14\u4ea4\u6613\u3002<br><br><\/li>\n\n\n\n<li><strong>\u7ef4\u5ea6\uff08Dimension\uff09<\/strong>\u662f\u63cf\u8ff0\u8fd9\u4e9b\u4e8b\u5b9e\u53d1\u751f\u80cc\u666f\u7684\u4fe1\u606f\uff0c\u6bd4\u5982\u5ba2\u6237\u662f\u8c01\u3001\u5728\u54ea\u4e00\u5929\u3001\u8d2d\u4e70\u4e86\u4ec0\u4e48\u4ea7\u54c1\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u7ef4\u5ea6\u5efa\u6a21\u8ba9\u6bcf\u4e00\u6761\u6570\u636e\u8bb0\u5f55\u80cc\u540e\u90fd\u5e26\u6709\u5b8c\u6574\u7684\u4e1a\u52a1\u8bed\u4e49\uff0c\u65e2\u80fd\u652f\u6301\u590d\u6742\u5206\u6790\uff0c\u53c8\u80fd\u4fdd\u8bc1\u4f7f\u7528\u4f53\u9a8c\u7684\u7b80\u6d01\u76f4\u89c2\u3002<\/p>\n\n\n\n<p><strong>\u4e8b\u5b9e\u8868<\/strong><\/p>\n\n\n\n<p>\u4e8b\u5b9e\u8868\uff0c\u987e\u540d\u601d\u4e49\uff0c\u7528\u6765\u5b58\u50a8\u5404\u79cd\u53ef\u5ea6\u91cf\u7684\u4e1a\u52a1\u4e8b\u4ef6\u3002\u4e8b\u5b9e\u8868\u7531\u4e09\u90e8\u5206\u7ec4\u6210\uff1a\u4e8b\u5b9e\u952e\u4f5c\u4e3a\u6bcf\u4e2a\u4e8b\u5b9e\u8bb0\u5f55\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3001\u5916\u952e\u4f5c\u4e3a\u76f8\u5173\u7ef4\u5ea6\u8868\u7684\u94fe\u63a5\u3001\u5ea6\u91cf\u5217\u4f5c\u4e3a\u5b9a\u91cf\u6570\u636e\u3002<\/p>\n\n\n\n<p><strong>\u4e8b\u5b9e\u8868\u7684\u4e3b\u8981\u7279\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u91cf\u5316\u6570\u636e\uff1a<\/strong>\u5305\u542b\u5404\u79cd\u6307\u6807\uff08\u5ea6\u91cf\uff09\uff0c\u5982\u9500\u552e\u989d\u3001\u8ba2\u5355\u6570\u91cf\u3001\u8bbf\u95ee\u6b21\u6570\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u5916\u952e\u5173\u8054\uff1a<\/strong>\u901a\u8fc7\u5916\u952e\u8fde\u63a5\u5230\u5bf9\u5e94\u7684\u7ef4\u5ea6\u8868\uff0c\u6bd4\u5982\u5ba2\u6237ID\u3001\u4ea7\u54c1ID\u3001\u65f6\u95f4ID\u3002<\/li>\n\n\n\n<li><strong>\u7c92\u5ea6\u660e\u786e\uff1a<\/strong>\u6bcf\u4e00\u6761\u8bb0\u5f55\u90fd\u8981\u6e05\u695a\u8868\u793a\u201c\u6211\u63cf\u8ff0\u7684\u662f\u54ea\u4e2a\u5c42\u7ea7\u7684\u4e8b\u4ef6\u201d\uff0c\u6bd4\u5982\u201c\u6bcf\u4e00\u7b14\u8ba2\u5355\u201d\u8fd8\u662f\u201c\u6bcf\u4e00\u4e2a\u5ba2\u6237\u6bcf\u5929\u7684\u6c47\u603b\u201d\u3002<\/li>\n<\/ul>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"273\" src=\"blob:http:\/\/www.applicationsofllm.com\/e10aa7dc-26a9-4016-8df9-196df9a610d7\" alt=\"\u56fe\u7247\"><strong>\u7ef4\u5ea6\u8868<\/strong><\/p>\n\n\n\n<p>\u7ef4\u5ea6\u8868\u7531<strong>\u4e3b\u952e\u548c\u5c5e\u6027<\/strong>\u4e24\u90e8\u5206\u7ec4\u6210\uff0c\u4e3b\u952e\u662f\u6bcf\u6761\u8bb0\u5f55\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u5c5e\u6027\u662f\u6709\u5173\u5b9e\u4f53\u7684\u63cf\u8ff0\u6027\u6570\u636e\uff0c\u4f8b\u5982\u4ea7\u54c1\u540d\u79f0\u6216\u5546\u5e97\u5730\u5740\u3002<\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u8868\u7684\u4e3b\u8981\u7279\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u63cf\u8ff0\u6027\u5c5e\u6027\uff1a<\/strong>\u5305\u542b\u6587\u672c\u578b\u3001\u5206\u7c7b\u578b\u7684\u4fe1\u606f\uff0c\u5982\u5ba2\u6237\u59d3\u540d\u3001\u5730\u533a\u3001\u4ea7\u54c1\u7c7b\u522b\u3002<\/li>\n\n\n\n<li><strong>\u4e1a\u52a1\u53cb\u597d\uff1a<\/strong>\u5b57\u6bb5\u547d\u540d\u6e05\u6670\u76f4\u767d\uff0c\u4e1a\u52a1\u4eba\u5458\u80fd\u4e00\u773c\u770b\u61c2\u3002<\/li>\n\n\n\n<li><strong>\u66f4\u65b0\u9891\u7387\u4f4e\uff1a<\/strong>\u5927\u591a\u6570\u7ef4\u5ea6\u8868\u662f\u76f8\u5bf9\u9759\u6001\u7684\uff0c\u6bd4\u5982\u5ba2\u6237\u4fe1\u606f\u4e0d\u4f1a\u5929\u5929\u53d8\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4ee5\u7535\u5b50\u5546\u52a1\u4e1a\u52a1\u4e3a\u7b80\u5355\u4f8b\u5b50\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4e00\u4e9b\u7ef4\u5ea6\u53ef\u80fd\u662f\u5ba2\u6237\u3001\u4ea7\u54c1\u548c\u65f6\u95f4\u3002<\/p>\n\n\n\n<p><strong>\u7ef4\u5ea6\u5efa\u6a21\u6a21\u578b<br><br><\/strong><\/p>\n\n\n\n<p>\u5728\u5b9e\u9645\u6570\u4ed3\u9879\u76ee\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u4e09\u79cd\u7ef4\u5ea6\u5efa\u6a21\u7ed3\u6784\uff0c\u5206\u522b\u662f\uff1a<strong>\u661f\u578b\u6a21\u578b\u3001\u96ea\u82b1\u6a21\u578b\u548c\u661f\u5ea7\u6a21\u578b<\/strong>\uff0c\u5b83\u4eec\u5404\u6709\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n\n\n\n<p><strong>1\u3001\u661f\u578b\u6a21\u578b\uff08Star Schema\uff09<\/strong><\/p>\n\n\n\n<p>\u661f\u578b\u6a21\u578b\u5f97\u540d\u4e8e\u5b83\u7684\u7ed3\u6784\u5f62\u6001\uff1a\u4e00\u5f20\u4e2d\u5fc3\u7684\u4e8b\u5b9e\u8868\uff0c\u76f4\u63a5\u8fde\u63a5\u591a\u5f20\u6241\u5e73\u7684\u7ef4\u5ea6\u8868\uff0c\u6574\u4f53\u50cf\u4e00\u9897\u653e\u5c04\u72b6\u7684\u661f\u661f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"691\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-131-1024x691.png\" alt=\"\" class=\"wp-image-799\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-131-1024x691.png 1024w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-131-300x202.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-131-768x518.png 768w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-131.png 1107w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u7279\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7ed3\u6784\u7b80\u5355\u76f4\u89c2\uff0c\u7ef4\u5ea6\u8868\u901a\u5e38\u53ea\u4fdd\u5b58\u4e00\u7ea7\u5c5e\u6027\uff0c\u4e0d\u505a\u8fc7\u591a\u62c6\u5206\u3002<\/li>\n\n\n\n<li>\u67e5\u8be2\u8def\u5f84\u77ed\uff0cJOIN\u6b21\u6570\u5c11\uff0c\u67e5\u8be2\u6027\u80fd\u9ad8\u3002<\/li>\n\n\n\n<li>\u9002\u5408\u7edd\u5927\u591a\u6570\u4ee5\u67e5\u8be2\u6027\u80fd\u4e3a\u4f18\u5148\u7684\u5206\u6790\u578b\u573a\u666f\uff0c\u6bd4\u5982BI\u62a5\u8868\u3001\u5b9e\u65f6\u5927\u5c4f\u5206\u6790\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u9002\u7528\u4e8e\u9ad8\u6027\u80fd\u9700\u6c42\uff0c\u76f4\u63a5\u5173\u8054\u4e8b\u5b9e\u8868\u4e0e\u7ef4\u5ea6\u8868\uff0c\u53ef\u6ee1\u8db3\u8282\u7701\u5b58\u50a8\u7684\u9700\u6c42\uff0c\u5c06\u7ef4\u5ea6\u8868\u8fdb\u4e00\u6b65\u62c6\u5206\u6210\u5b50\u7ef4\u5ea6\u8868\u3002<\/p>\n\n\n\n<p><strong>2\u3001\u96ea\u82b1\u6a21\u578b\uff08Snowflake Schema\uff09<\/strong><\/p>\n\n\n\n<p>\u96ea\u82b1\u6a21\u578b\u662f\u5728\u661f\u578b\u6a21\u578b\u7684\u57fa\u7840\u4e0a\uff0c\u5bf9\u7ef4\u5ea6\u8868\u8fdb\u4e00\u6b65\u89c4\u8303\u5316\uff0c\u628a\u91cd\u590d\u4fe1\u606f\u62c6\u5206\u51fa\u53bb\uff0c\u5f62\u6210\u591a\u5c42\u5173\u8054\u7ed3\u6784\uff0c\u50cf\u4e00\u7247\u7247\u5c55\u5f00\u7684\u96ea\u82b1\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"822\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-132-1024x822.png\" alt=\"\" class=\"wp-image-800\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-132-1024x822.png 1024w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-132-300x241.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-132-768x617.png 768w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/09\/image-132.png 1107w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u7279\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8282\u7701\u5b58\u50a8\u7a7a\u95f4\uff0c\u6570\u636e\u5197\u4f59\u5c11\u3002<\/li>\n\n\n\n<li>\u7ed3\u6784\u66f4\u7b26\u5408\u4f20\u7edf\u6570\u636e\u5e93\u4e09\u8303\u5f0f\u8bbe\u8ba1\uff0c\u5b57\u6bb5\u4f9d\u8d56\u5173\u7cfb\u66f4\u6e05\u6670\u3002<\/li>\n\n\n\n<li>\u67e5\u8be2\u6027\u80fd\u7565\u4f4e\uff0c\u56e0\u4e3a\u9700\u8981\u591a\u6b21JOIN\u624d\u80fd\u62ff\u5168\u4fe1\u606f\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u9002\u7528\u573a\u666f\u4e8e\u7ef4\u5ea6\u4fe1\u606f\u590d\u6742\u3001\u5c42\u7ea7\u6df1\u3001\u66f4\u65b0\u9891\u7e41\u7684\u60c5\u51b5\uff0c\u6216\u5b58\u50a8\u8d44\u6e90\u53d7\u9650\u3001\u5bf9\u89c4\u8303\u6027\u8981\u6c42\u6781\u9ad8\u7684\u4f20\u7edf\u6570\u4ed3\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p>\u4e0d\u8fc7\u5728\u5927\u90e8\u5206\u4e1a\u52a1\u5206\u6790\u9879\u76ee\u4e2d\uff0c\u4e3a\u4e86\u6027\u80fd\uff0c\u901a\u5e38\u4e0d\u4f1a\u4e3b\u52a8\u9009\u62e9\u96ea\u82b1\u6a21\u578b\uff0c\u9664\u975e\u6709\u660e\u786e\u9700\u6c42\u3002<\/p>\n\n\n\n<p><strong>3\u3001\u661f\u5ea7\u6a21\u578b\uff08Fact Constellation Schema\uff09<\/strong><\/p>\n\n\n\n<p>\u5f53\u6570\u636e\u4ed3\u5e93\u89c4\u6a21\u6269\u5927\uff0c\u4ec5\u9760\u4e00\u5f20\u4e8b\u5b9e\u8868\u65e0\u6cd5\u8986\u76d6\u6240\u6709\u4e1a\u52a1\u4e3b\u9898\u65f6\uff0c\u5c31\u4f1a\u51fa\u73b0\u591a\u4e2a\u4e8b\u5b9e\u8868\u5171\u4eab\u90e8\u5206\u7ef4\u5ea6\u8868\u7684\u60c5\u51b5\uff0c\u5f62\u6210\u661f\u5ea7\u6a21\u578b\u3002<\/p>\n\n\n\n<p><strong>\u7279\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u591a\u4e2a\u4e1a\u52a1\u8fc7\u7a0b\uff08\u4e8b\u5b9e\u8868\uff09\u5171\u4eab\u7edf\u4e00\u7684\u7ef4\u5ea6\uff08\u5982\u65f6\u95f4\u3001\u5ba2\u6237\uff09\u3002<\/li>\n\n\n\n<li>\u7ed3\u6784\u590d\u6742\u5ea6\u4e0a\u5347\uff0c\u4f46\u53ef\u4ee5\u652f\u6301\u66f4\u5927\u8303\u56f4\u3001\u66f4\u7ec6\u7c92\u5ea6\u7684\u5206\u6790\u9700\u6c42\u3002<\/li>\n\n\n\n<li>\u662f\u5927\u578b\u96c6\u56e2\u4f01\u4e1a\u3001\u8de8\u90e8\u95e8\u6570\u4ed3\u5e38\u89c1\u7684\u67b6\u6784\u6f14\u53d8\u65b9\u5411\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4f01\u4e1a\u642d\u5efa\u6570\u636e\u4ed3\u5e93\u7684\u6700\u7ec8\u76ee\u6807\u662f\u8ba9\u6570\u636e\u6613\u5b58\u53d6\u6548\u7387\u9ad8\u3001\u6307\u6807\u4e00\u81f4\u4e14\u5b8c\u6574\u3001\u9002\u5e94\u5f3a\u4fbf\u4e8e\u4fee\u6539\u3001\u63d0\u4f9b\u51b3\u7b56\u4f9d\u636e\u2026\u2026\u603b\u4e4b\u4e1a\u52a1\u9700\u6c42\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":797,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-9"],"_links":{"self":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/comments?post=796"}],"version-history":[{"count":1,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/796\/revisions"}],"predecessor-version":[{"id":801,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/796\/revisions\/801"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/media\/797"}],"wp:attachment":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/media?parent=796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/categories?post=796"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/tags?post=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}