{"id":10021143,"date":"2025-12-23T14:02:04","date_gmt":"2025-12-23T06:02:04","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021143"},"modified":"2025-12-23T14:02:04","modified_gmt":"2025-12-23T06:02:04","slug":"%e4%ba%91%e5%8e%9f%e7%94%9f%e6%95%b0%e6%8d%ae%e4%bb%93%e5%ba%93-analyticdb-supabase-%e4%bd%bf%e7%94%a8%e5%85%a8%e6%94%bb%e7%95%a5","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021143","title":{"rendered":"\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93 AnalyticDB Supabase \u4f7f\u7528\u5168\u653b\u7565"},"content":{"rendered":"<p>\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93 AnalyticDB PostgreSQL \u7248 Supabase \u662f\u57fa\u4e8e\u5f00\u6e90 Supabase \u6df1\u5ea6\u589e\u5f3a\u6253\u9020\u7684\u5168\u6258\u7ba1\u5e94\u7528\u5f00\u53d1\u5e73\u53f0\u3002\u5e73\u53f0\u5ef6\u7eed\u539f\u751f Supabase \u7684\u5f00\u53d1\u4f53\u9a8c\uff0c\u63d0\u4f9b\u6570\u636e\u5e93\u3001\u7528\u6237\u9274\u6743\u3001\u8fb9\u7f18\u51fd\u6570\u7b49\u6838\u5fc3\u529f\u80fd\uff0c\u5e76\u7ed3\u5408\u963f\u91cc\u4e91\u57fa\u7840\u8bbe\u7f6e\u63d0\u4f9b\u66f4\u9ad8\u6027\u80fd\u3001\u66f4\u5f3a\u5b89\u5168\u6027\u548c\u66f4\u5b8c\u5584\u7684\u751f\u6001\u652f\u6301\u3002<\/p>\n<h2>\u4e00\u3001ADB Supabase \u53ef\u4ee5\u5e2e\u4f60\u505a\u4ec0\u4e48<\/h2>\n<p><strong>ADB Supabase<\/strong> \u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u6784\u5efa AI \u9a71\u52a8\u7684\u73b0\u4ee3\u5e94\u7528\uff0c\u65e0\u9700\u590d\u6742\u540e\u7aef\u5f00\u53d1\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u501f\u52a9 ADB Supabase\uff0c\u7ed3\u5408 Dify \u53ca\u5927\u8bed\u8a00\u6a21\u578b\u8f7b\u677e\u6784\u5efa AI \u5ba2\u670d\u7cfb\u7edf\uff0c\u57fa\u4e8e Supabase \u4e2d\u771f\u5b9e\u3001\u7ed3\u6784\u5316\u7684\u8ba2\u5355\u4e0e\u7269\u6d41\u6570\u636e\uff0c\u5b9e\u73b0\u7cbe\u51c6\u3001\u81ea\u52a8\u7684\u552e\u540e\u54a8\u8be2\u4e0e\u8ba2\u5355\u67e5\u8be2\u56de\u590d\uff0c\u901a\u8fc7\u79d2\u7ea7\u54cd\u5e94\u51cf\u8f7b\u4eba\u5de5\u8d1f\u62c5\uff0c\u5e76\u501f\u52a9 AI \u7684\u81ea\u7136\u8bed\u8a00\u7406\u89e3\u63d0\u4f9b\u4e2a\u6027\u5316\u670d\u52a1\uff0c\u63d0\u5347\u5ba2\u6237\u6ee1\u610f\u5ea6\u3002<br \/>\u540c\u65f6\uff0cADB Supabase \u4e5f\u652f\u6301\u654f\u6377\u5f00\u53d1 AI \u539f\u751f\u5e94\u7528\u3002\u5e76\u63d0\u4f9b\u6570\u636e\u5b58\u50a8\u3001\u5bf9\u8c61\u5b58\u50a8\u548c\u8fb9\u7f18\u51fd\u6570\u80fd\u529b\uff0c\u7b80\u5316\u4e86\u4f20\u7edf\u540e\u7aef\u5f00\u53d1\u7684\u590d\u6742\u6027\uff1bAI \u80fd\u529b\u901a\u8fc7 ADB Supabase Edge Function \u65e0\u7f1d\u96c6\u6210\u901a\u4e49\u5343\u95ee\u7b49 AI \u6a21\u578b\uff0c\u5b9e\u73b0\u56fe\u50cf\u7f16\u8f91\u3001\u5185\u5bb9\u751f\u6210\u7b49\u667a\u80fd\u529f\u80fd\uff0c\u4ece\u800c\u9ad8\u6548\u6784\u5efa\u548c\u9a8c\u8bc1\u5e94\u7528\u539f\u578b\u3002<br \/>\u6b64\u5916\uff0cADB Supabase\u8fd8\u652f\u6301\u901a\u8fc7\u901a\u4e49\u7075\u7801\u6216 Cursor\uff0c\u5728 IDE \u4e2d\u4ee5\u81ea\u7136\u8bed\u8a00\u8c03\u7528 Supabase MCP \u5de5\u5177\u5b9e\u73b0\u5168\u6808 Agent \u81ea\u4e3b\u5f00\u53d1\uff0c\u5e76\u4e14\u4f60\u8fd8\u53ef\u4ee5\u7ed3\u5408 Bolt \u548c Qwen3-Coder \u5927\u6a21\u578b\uff0c\u5feb\u901f\u6784\u5efa Web\u3001APP \u548c\u5c0f\u7a0b\u5e8f\u7b49\u591a\u6837\u5316\u5e94\u7528\u3002\u76f8\u8f83\u4e8e\u5f00\u6e90\u81ea\u6258\u7ba1\u65b9\u6848\uff0c\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93 AnalyticDB PostgreSQL \u7248 Supabase \u63d0\u4f9b\u5168\u9762\u7684\u6258\u7ba1\u80fd\u529b\uff0c\u53ef\u6309\u9700\u9009\u62e9\u8ba1\u7b97\u4e0e\u5b58\u50a8\u89c4\u683c\uff0c\u540c\u65f6\u539f\u751f\u652f\u6301\u652f\u4ed8\u5b9d\u3001\u5fae\u4fe1\u7b49\u7b2c\u4e09\u65b9 OAuth \u529f\u80fd\uff0c\u8865\u9f50\u4e86\u5f00\u6e90\u65b9\u6848\u7f3a\u5931\u7684 Edge Functions \u7b49\u6838\u5fc3\u7279\u6027\uff0c\u5e76\u4e14\u4fdd\u6301\u4e0e Supabase Cloud \u9ad8\u5ea6\u4e00\u81f4\u7684\u7528\u6237\u4f53\u9a8c\u548c API \u517c\u5bb9\u6027\uff0c\u5168\u6d41\u7a0b\u8f7b\u91cf\u9ad8\u6548\uff0c\u52a9\u529b Vibe Coding \u843d\u5730\u5b9e\u8df5\u3002<br \/><strong>\u70b9\u6b64\u89c2\u770b\u7cbe\u5f69\u6f14\u793a<\/strong>\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=7epUZdjfrvAersphpgJbZQ%3D%3D.mXXS0i32XXxj0d7ua%2FkOnAhLulBfUF5xSKfAfXhgDvNLyXcKZGqTrIYb4tHNYfca\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/developer.aliyun.com\/live\/255256<\/a><\/p>\n<h2>\u4e8c\u3001\u4f18\u52bf<\/h2>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047496726\" alt=\"1\" title=\"1\"><\/p>\n<p><strong>\u539f\u751f\u652f\u4ed8\u5b9d\/\u5fae\u4fe1OAuth \u652f\u6301<\/strong><br \/>\u539f\u751f\u96c6\u6210\u652f\u4ed8\u5b9d\u4e0e\u5fae\u4fe1\u7b2c\u4e09\u65b9\u767b\u5f55\u8ba4\u8bc1\uff0c\u65e0\u9700\u81ea\u884c\u9002\u914dOAuth\u6d41\u7a0b\uff0c\u5373\u5f00\u5373\u7528\u3002\u9002\u7528\u4e8eWeb\u3001App\u3001\u5c0f\u7a0b\u5e8f\u7b49\u591a\u79cd\u5e94\u7528\u573a\u666f\uff0c\u5927\u5e45\u964d\u4f4e\u63a5\u5165\u6210\u672c\u3002<br \/><strong>Edge Functions \u5168\u5468\u671f\u4f53\u9a8c<\/strong><br \/>\u652f\u6301Supabase Edge Functions\u5168\u751f\u547d\u5468\u671f\uff08\u5f00\u53d1\u3001\u90e8\u7f72\u3001\u65e5\u5fd7\u89c2\u6d4b\uff09\uff0c\u63d0\u4f9b\u4f4e\u5ef6\u8fdf\u8c03\u7528\u3001\u7a33\u5b9a\u6267\u884c\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u80fd\u529b\u3002\u6b64\u5916\uff0c\u63d0\u4f9b\u539f\u751fSecrets\u7ba1\u7406\u529f\u80fd\uff0c\u53ef\u5b89\u5168\u7ba1\u7406API Key\u3001Token\u3001\u5bc6\u94a5\u7b49\u654f\u611f\u4fe1\u606f\u3002<br \/><strong>\u5168\u94fe\u8def\u65e5\u5fd7\u53ef\u89c2\u6d4b\u80fd\u529b<\/strong><br \/>Edge Functions\u3001\u6570\u636e\u5e93\u3001Auth\u3001Storage\u7b49\u6a21\u5757\u5747\u5177\u5907\u6e05\u6670\u53ef\u89c2\u6d4b\u7684\u65e5\u5fd7\u4f53\u7cfb\u3002\u5f00\u53d1\u8005\u53ef\u5728Dashboard\u4e2d\u81ea\u52a9\u67e5\u770b\u6267\u884c\u65e5\u5fd7\u3001\u8c03\u8bd5\u4fe1\u606f\u53ca\u9519\u8bef\u5b9a\u4f4d\uff0c\u663e\u8457\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u6392\u969c\u901f\u5ea6\uff0c\u5b9e\u73b0\u771f\u6b63\u7684\u81ea\u670d\u52a1\u5f00\u53d1\u4f53\u9a8c\u3002<br \/><strong>\u751f\u6001\u517c\u5bb9\u4e0e\u4fbf\u6377\u8fc1\u79fb<\/strong><br \/>API\u3001SDK \u517c\u5bb9\uff0c\u63d0\u4f9b\u8fc1\u79fb\u65b9\u6848\uff0c\u53ef\u8f7b\u677e\u4ece\u5b98\u65b9Supabase\u8fc1\u79fb\uff0c\u65e0\u9700\u4fee\u6539\u5e94\u7528\u4ee3\u7801\u3002<br \/><strong>MCP Server\u539f\u751f\u652f\u6301<\/strong><br \/>\u652f\u6301Model Context Protocol\uff08MCP\uff09Server\uff0c\u4f7fLLM\u3001Agent \u7b49\u667a\u80fd\u5e94\u7528\u53ef\u76f4\u63a5\u8c03\u7528\u6570\u636e\u5e93\u3001Storage\u3001Edge Functions\u7b49\u8d44\u6e90\uff0c\u5b9e\u73b0\u66f4\u81ea\u7136\u3001\u66f4\u5f3a\u5927\u7684AI\u8c03\u7528\u94fe\u8def\uff0c\u9002\u5408\u6784\u5efa\u667a\u80fd\u52a9\u624b\u3001\u81ea\u52a8\u5316\u670d\u52a1\u4e0e\u6570\u636e\u9a71\u52a8\u5e94\u7528\u3002<br \/><strong>\u4f01\u4e1a\u7ea7\u5b89\u5168\u4f53\u7cfb<\/strong><br \/>\u63d0\u4f9bVPC\u7f51\u7edc\u9694\u79bb\u3001\u8bbf\u95ee\u5ba1\u8ba1\u3001\u52a0\u5bc6\u4f20\u8f93\u3001\u6743\u9650\u4f53\u7cfb\u4ee5\u53ca\u5bf9\u8c61\u5b58\u50a8\u5b89\u5168\u7b56\u7565\u3002<br \/><strong>\u5168\u6258\u7ba1\u4e0e\u514d\u8fd0\u7ef4\u4f53\u9a8c<\/strong><br \/>\u63d0\u4f9b\u591a\u79cd\u5b9e\u4f8b\u89c4\u683c\u5e76\u652f\u6301\u6269\u7f29\u5bb9\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u4e1a\u52a1\u573a\u666f\u9700\u6c42\u3002\u63d0\u4f9b\u7248\u672c\u5347\u7ea7\u3001\u6570\u636e\u5907\u4efd\u7b49\u4f01\u4e1a\u7ea7\u80fd\u529b\uff0c\u8ba9\u5f00\u53d1\u8005\u4e13\u6ce8\u4e1a\u52a1\uff0c\u65e0\u9700\u81ea\u5efa\u96c6\u7fa4\u3002<\/p>\n<h2>\u4e09\u3001\u5982\u4f55\u521b\u5efa ADB supabase\u9879\u76ee<\/h2>\n<ol>\n<li>\u767b\u5f55<a href=\"https:\/\/link.segmentfault.com\/?enc=zzhUK9OzdYBKgoR50gfrwQ%3D%3D.%2BWvPj5LeEHdw2aTQQ1WW9WS7SAFYMGzgPgaGJtg4XsJ6RBqCh1AMnstczi5A8JOBPYxclStp5VdJrqEkuQ7vRw%3D%3D\" rel=\"nofollow noopener noreferrer\" title=\"\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93AnalyticDB PostgreSQL\u7248\u63a7\u5236\u53f0\" target=\"_blank\">\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93AnalyticDB PostgreSQL\u7248\u63a7\u5236\u53f0<\/a>\u3002<br \/><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047496727\" alt=\"2\" title=\"2\" loading=\"lazy\"><\/li>\n<li>\u5728\u63a7\u5236\u53f0\u5de6\u4e0a\u89d2\uff0c\u9009\u62e9\u5b9e\u4f8b\u6240\u5728\u5730\u57df\u3002<br \/><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047496728\" alt=\"3\" title=\"3\" loading=\"lazy\"><\/li>\n<li>\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\u4e2d\uff0c\u5355\u51fbSupabase\uff0c\u518d\u5355\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u521b\u5efa\u9879\u76ee\uff0c\u9009\u62e9\u514d\u8d39\u6d4b\u8bd5\u521b\u5efa\u6216\u4ed8\u8d39\u521b\u5efa\uff0c\u53ef\u53c2\u8003\u4e0b\u8868\u793a\u4f8b\u8fdb\u884c\u53c2\u6570\u914d\u7f6e\u3002<\/li>\n<\/ol>\n<h4>\u76ee\u524d ADB Supabase \u5df2\u63d0\u4f9b\u4ed8\u8d39\u7248\u9879\u76ee\uff0c\u652f\u6301\u591a\u79cd\u8ba1\u7b97\u8d44\u6e90\u548c\u5b58\u50a8\u8d44\u6e90\u89c4\u683c\uff01<\/h4>\n<p>AnalyticDB PostgreSQL \u7248\u63d0\u4f9b\u4e86\u4e24\u79cd\u8ba1\u8d39\u65b9\u5f0f\uff1a<br \/>\u2022 \u6309\u91cf\u4ed8\u8d39\uff1a\u5c5e\u4e8e\u540e\u4ed8\u8d39\uff0c\u5373\u6309\u5c0f\u65f6\u6263\u8d39\u3002\u9002\u5408\u77ed\u671f\u9700\u6c42\uff0c\u7528\u5b8c\u53ef\u7acb\u5373\u91ca\u653e\u5b9e\u4f8b\uff0c\u8282\u7701\u8d39\u7528\u3002<br \/>\u2022 \u5305\u5e74\u5305\u6708\uff1a\u5c5e\u4e8e\u9884\u4ed8\u8d39\uff0c\u5373\u5728\u65b0\u5efa\u5b9e\u4f8b\u65f6\u9700\u8981\u652f\u4ed8\u8d39\u7528\u3002\u9002\u5408\u957f\u671f\u9700\u6c42\uff0c\u4ef7\u683c\u6bd4\u6309\u91cf\u4ed8\u8d39\u66f4\u5b9e\u60e0\u3002<br \/>AnalyticDB PostgreSQL \u7248\u5b58\u50a8\u5f39\u6027\u6a21\u5f0f\u548c Serverless Pro \u5b9e\u4f8b\uff0c\u5982\u679c\u5355\u6b21\u8d2d\u4e70\u8d85\u8fc71\u5e74\uff0c\u53ef\u4eab\u53d7\u5305\u5e74\u4f18\u60e0\u4fc3\u9500\uff0c\u53731\u5e748.5\u6298\u30012\u5e747\u6298\u30013\u5e745\u6298\u3002<br \/><a href=\"https:\/\/link.segmentfault.com\/?enc=j%2B%2BpPXrYXCjU9kj2j1SWqw%3D%3D.dUSwiYgIE0m3vaH%2FEWrz3XQxYbbkHamBmJBdDOC89FWVwd9ZEu9GVMmZ%2BOb6Q6ecNIaUQKydANORrBFXXtW0vkmyYYodKmef%2FXtxInujN3qojY9T4c9PyrYgNDulPdp1\" rel=\"nofollow noopener noreferrer\" title=\"\u70b9\u6b64\u4e86\u89e3\u4ea7\u54c1\u5b9a\u4ef7\u8be6\u60c5\" target=\"_blank\">\u70b9\u6b64\u4e86\u89e3\u4ea7\u54c1\u5b9a\u4ef7\u8be6\u60c5<\/a><br \/>\u2022 <strong>\u4ed8\u8d39\u521b\u5efa\u914d\u7f6e\u53c2\u8003<\/strong><br \/><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047496729\" alt=\"image\" title=\"image\" loading=\"lazy\"><\/p>\n<ol start=\"4\">\n<li>\u786e\u8ba4\u53c2\u6570\u914d\u7f6e\uff0c\u5b8c\u6210\u9879\u76ee\u521b\u5efa\u3002<\/li>\n<\/ol>\n<h2>\u56db\u3001\u514d\u8d39\u8bd5\u7528\u6743\u76ca<\/h2>\n<p><strong>\u91cd\u78c5\u798f\u5229\u62a2\u5148\u770b\uff01<\/strong> \u963f\u91cc\u4e91 AnalyticDB PostgreSQL \u7248\u7ee7\u7eed\u63d0\u4f9b1\u68382GB \u89c4\u683c\u514d\u8d39\u4f7f\u7528\uff01<br \/>\u96f6\u6210\u672c\u4f53\u9a8c\u4f01\u4e1a\u7ea7\u4e91\u6570\u636e\u5e93\uff0c\u52a9\u529b Vibe Coding \u6781\u901f\u5f00\u53d1\uff0c<strong><a href=\"https:\/\/link.segmentfault.com\/?enc=yJNS7FXyVi7hNWTs1jLoPA%3D%3D.B6H5kIS5avXxUHslABGpVTSi%2BTqwUgOa99u6CdDjx1BgHdMeM%2F6MkFyjuGPXQ4JMctexIhxMtyDKnoGqYqkPr5tn2XoT5apI7oEG157Y4h%2BC7amrlzlH8BvGZBCPeE9V\" rel=\"nofollow noopener noreferrer\" title=\"\u70b9\u6b64\u7acb\u5373\u5f00\u901a\u514d\u8d39\u8bd5\u7528\" target=\"_blank\">\u70b9\u6b64\u7acb\u5373\u5f00\u901a\u514d\u8d39\u8bd5\u7528<\/a>\uff01<\/strong><br \/>\u5982\u679c\u4f60\u5bf9 AnalyticDB Supabase \u611f\u5174\u8da3\uff0c\u6b22\u8fce\u9489\u9489\u641c\u7d22\u7fa4\u53f7\u201c101930027031\u201d\u6216\u626b\u7801\u52a0\u5165\u9489\u7fa4\u4ea4\u6d41\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047496748\">https:\/\/segmentfault.com\/a\/1190000047496748<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e91\u539f\u751f\u6570\u636e\u4ed3\u5e93 AnalyticDB PostgreSQL \u7248 Supabase \u662f\u57fa\u4e8e\u5f00\u6e90 Supabase [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021143","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021143"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021143\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}