{"id":60,"date":"2026-05-12T18:09:20","date_gmt":"2026-05-12T10:09:20","guid":{"rendered":"http:\/\/wales.consulting.bbroot.com\/?p=60"},"modified":"2026-05-12T18:09:20","modified_gmt":"2026-05-12T10:09:20","slug":"postgresql-18%e6%ad%a3%e5%bc%8f%e5%8f%91%e5%b8%83%ef%bc%9a%e5%90%91%e9%87%8f%e6%90%9c%e7%b4%a2%e8%83%bd%e5%8a%9b%e5%a4%a7%e5%b9%85%e5%a2%9e%e5%bc%ba%ef%bc%8c%e6%94%af%e6%8c%81hnsw%e7%b4%a2%e5%bc%95","status":"publish","type":"post","link":"https:\/\/wales.consulting.bbroot.com\/index.php\/2026\/05\/12\/postgresql-18%e6%ad%a3%e5%bc%8f%e5%8f%91%e5%b8%83%ef%bc%9a%e5%90%91%e9%87%8f%e6%90%9c%e7%b4%a2%e8%83%bd%e5%8a%9b%e5%a4%a7%e5%b9%85%e5%a2%9e%e5%bc%ba%ef%bc%8c%e6%94%af%e6%8c%81hnsw%e7%b4%a2%e5%bc%95\/","title":{"rendered":"PostgreSQL 18\u6b63\u5f0f\u53d1\u5e03\uff1a\u5411\u91cf\u641c\u7d22\u80fd\u529b\u5927\u5e45\u589e\u5f3a\uff0c\u652f\u6301HNSW\u7d22\u5f15"},"content":{"rendered":"<div style=\"background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:20px;border-radius:12px;margin:15px 0;color:#fff;\">\n<h3 style=\"color:#fff;margin-top:0;font-size:18px;\">\u2328\ufe0f PostgreSQL 18\u6b63\u5f0f\u53d1\u5e03\uff1a\u5411\u91cf\u641c\u7d22\u80fd\u529b\u5927\u5e45\u589e\u5f3a\uff0c\u652f\u6301HNSW\u7d22\u5f15<\/h3>\n<p style=\"line-height:2.2;font-size:14px;opacity:0.95;\">PostgreSQL 18\u4eca\u65e5\u6b63\u5f0f\u53d1\u5e03\uff0c\u8fd9\u662f\u5168\u7403\u6700\u5148\u8fdb\u5f00\u6e90\u5173\u7cfb\u6570\u636e\u5e93\u7684\u6700\u65b0\u4e3b\u8981\u7248\u672c\u3002\u65b0\u7248\u672c\u5728\u4fdd\u6301PostgreSQL\u4f20\u7edf\u4f18\u52bf\u7684\u540c\u65f6\uff0c\u5927\u5e45\u589e\u5f3a\u4e86AI\/ML\u65f6\u4ee3\u6240\u9700\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u3002\u8fd9\u4e00\u7248\u672c\u8bc1\u660e\u4e86PostgreSQL\u4e0d\u4ec5\u662f\u6700\u5148\u8fdb\u7684\u5173\u7cfb\u6570\u636e\u5e93\uff0c\u4e5f\u5728\u5411AI\u6570\u636e\u5e73\u53f0\u6f14\u8fdb\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7edf\u4e00\u7684\u6570\u636e\u5e73\u53f0\u3002<\/p>\n<p>\u3010\u5411\u91cf\u641c\u7d22\u589e\u5f3a\u3011PostgreSQL 18\u7684pgvector\u6269\u5c55\u83b7\u5f97\u4e86\u91cd\u5927\u66f4\u65b0\u3002\u65b0\u7684HNSW\u7d22\u5f15\u7c7b\u578b\u652f\u6301\u66f4\u5feb\u7684\u8fd1\u4f3c\u6700\u8fd1\u90bb\u641c\u7d22\uff0c\u6784\u5efa\u65f6\u95f4\u6bd4IVFFlat\u7d22\u5f15\u5feb3\u500d\uff0c\u67e5\u8be2\u6027\u80fd\u63d0\u53475-10\u500d\u3002\u6df7\u5408\u641c\u7d22\u4f18\u5316\u652f\u6301\u5411\u91cf\u76f8\u4f3c\u5ea6\u4e0e\u7ed3\u6784\u5316SQL\u6761\u4ef6\u7684\u66f4\u9ad8\u6548\u7ec4\u5408\u67e5\u8be2\u3002\u91cf\u5316\u6280\u672f\u65b0\u589e\u4e86INT8\u548cBIT\u7c7b\u578b\u7684\u5411\u91cf\u8868\u793a\uff0c\u5927\u5e45\u964d\u4f4e\u5b58\u50a8\u5f00\u9500\u3002<\/p>\n<p>\u3010OLAP\u6027\u80fd\u63d0\u5347\u3011\u65b0\u7248\u672c\u5f15\u5165\u4e86\u5e76\u884c\u67e5\u8be2\u7684\u6539\u8fdb\u5b9e\u73b0\uff0c\u5728\u5206\u6790\u578b\u67e5\u8be2\u573a\u666f\u4e0b\uff0c\u591a\u8868JOIN\u64cd\u4f5c\u6027\u80fd\u63d0\u5347\u4e86\u7ea640%\uff0cWindow\u51fd\u6570\u6267\u884c\u901f\u5ea6\u63d0\u5347\u4e86\u7ea635%\uff0c\u5927\u6570\u636e\u91cf\u805a\u5408\u67e5\u8be2\u7684\u5185\u5b58\u4f7f\u7528\u6548\u7387\u63d0\u5347\u4e86\u7ea625%\u3002<\/p>\n<p>\u3010JSON\u5904\u7406\u6539\u8fdb\u3011\u65b0\u7684JSON\u8def\u5f84\u5f15\u64ce\u6027\u80fd\u63d0\u5347\u4e86\u7ea650%\uff0c\u652f\u6301\u66f4\u5b8c\u6574\u7684JSON Merge Patch\u89c4\u8303\uff0c\u6539\u8fdb\u4e86JSON\u6570\u636e\u7684\u7d22\u5f15\u7b56\u7565\u3002PostgreSQL 18\u5c06\u7ee7\u7eed\u83b7\u5f97\u81f3\u5c115\u5e74\u7684\u5b89\u5168\u66f4\u65b0\u652f\u6301\u3002<\/p>\n<hr style=\"border-color:rgba(255,255,255,0.3);margin:20px 0;\">\n<p style=\"color:#e0e0e0;font-size:13px;line-height:1.8;\">\ud83d\udca1 PostgreSQL\u5168\u7403\u5f00\u53d1\u7ec4\u4eca\u65e5\u6b63\u5f0f\u53d1\u5e03\u4e86PostgreSQL 18\uff0c\u65b0\u7248\u672c\u5728\u5411\u91cf\u641c\u7d22\u3001OLAP\u6027\u80fd\u548cJSON\u5904\u7406\u80fd\u529b\u65b9\u9762\u90fd\u6709\u91cd\u5927\u7a81\u7834\uff0cAI\u5e94\u7528\u652f\u6301\u663e\u8457\u589e\u5f3a\u3002<\/p>\n<hr style=\"border-color:rgba(255,255,255,0.3);margin:20px 0;\">\n<p style=\"color:#d0d0d0;font-size:12px;margin-bottom:0;\">\ud83d\uddd3\ufe0f \u53d1\u5e03\u65f6\u95f4: 2026\u5e7405\u670812\u65e5 | \ud83d\udccc \u6280\u672f\u6574\u7406: Wales\u79d1\u6280\u8bba\u575b<\/p>\n<\/div>\n<p style=\"background:#f0f4ff;padding:15px;border-radius:8px;margin-top:20px;\">\ud83d\udcac \u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u60a8\u7684\u770b\u6cd5\uff01\u5982\u679c\u89c9\u5f97\u8fd9\u7bc7\u6587\u7ae0\u6709\u4ef7\u503c\uff0c\u8bf7\u70b9\u8d5e\u3001\u6536\u85cf\u5e76\u8f6c\u53d1\u7ed9\u9700\u8981\u7684\u670b\u53cb\uff01<\/p>\n<hr style=\"border:none;border-top:2px solid #667eea;margin:30px 0;\">\n<p style=\"color:#888;font-size:13px;text-align:center;\">\ud83d\udd14 \u672c\u5185\u5bb9\u7531\u7cfb\u7edf\u81ea\u52a8\u6536\u96c6\u6574\u7406\u53d1\u5e03<br \/><strong>Wales\u79d1\u6280\u8bba\u575b<\/strong> &#8211; \u8ffd\u8e2a\u5168\u7403\u79d1\u6280\u52a8\u6001 | \ud83d\udd17 <a href=\"http:\/\/wales.consulting.bbroot.com\">\u8bbf\u95ee\u8bba\u575b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2328\ufe0f PostgreSQL 18\u6b63\u5f0f\u53d1\u5e03\uff1a\u5411\u91cf\u641c\u7d22\u80fd\u529b\u5927\u5e45\u589e\u5f3a\uff0c\u652f\u6301HNSW\u7d22\u5f15 PostgreSQL 18\u4eca [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":1,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/posts\/60\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wales.consulting.bbroot.com\/index.php\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}