{"id":42135,"date":"2023-11-13T06:34:11","date_gmt":"2023-02-21T10:50:45","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/"},"modified":"2024-05-04T08:48:27","modified_gmt":"2024-05-04T00:48:27","slug":"postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/","title":{"rendered":"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) &#8211; \u5bf9pg_bigm\u7684\u5f71\u54cd"},"content":{"rendered":"<h2>\u9996\u5148<\/h2>\n<p>\u6211\u5c1d\u8bd5\u4f7f\u7528pg_bigm\u6765\u91cd\u65b0\u786e\u8ba4PostgreSQL 12\u7684\u6539\u8fdb\u9879\u76ee\u3002<\/p>\n<h2>pg_bigm \u662f\u4ec0\u4e48\uff1f<\/h2>\n<p>\u7b80\u5355\u8bf4\uff0cpg_bigm\u662f\u4e00\u4e2a\u5728PostgreSQL\u4e2d\u5b9e\u73b0\u5168\u6587\u641c\u7d22\u7684\u6269\u5c55\u6a21\u5757\u3002<br \/>\nPostgreSQL\u672c\u8eab\u5177\u6709\u9488\u5bf9\u82f1\u6587\u7684\u5f62\u6001\u7d20\u5168\u6587\u641c\u7d22\u529f\u80fd\u3002\u53e6\u5916\uff0c\u4f5c\u4e3a\u9488\u5bf9\u82f1\u6587\u7684N-Gram\u5168\u6587\u641c\u7d22\u529f\u80fd\uff0c\u4e5f\u6709\u4e00\u4e2a\u540d\u4e3apg_trgm\u7684contrib\u6269\u5c55\u529f\u80fd\u3002<br \/>\n\u4f46\u9057\u61be\u7684\u662f\uff0c\u6ca1\u6709\u9488\u5bf9\u65e5\u6587\u7684N-Gram\u65b9\u5f0f\u5168\u6587\u641c\u7d22\u529f\u80fd\u3002pg_bigm\u63d0\u4f9b\u4e86\u9488\u5bf9\u65e5\u6587\u7684N-Gram\u65b9\u5f0f\u5168\u6587\u641c\u7d22\u529f\u80fd\uff08\u5168\u6587\u641c\u7d22\u7d22\u5f15\uff09\u3002<br \/>\n\u4e2a\u4eba\u8ba4\u4e3a\uff0cpg_bigm\u6700\u663e\u8457\u7684\u7279\u70b9\u4e4b\u4e00\u662f\u4ec5\u9700\u5b89\u88c5\u8be5\u6a21\u5757\uff0c\u5c31\u80fd\u5927\u5e45\u63d0\u9ad8LIKE\u4e2d\u95f4\u5339\u914d\u641c\u7d22\u7684\u901f\u5ea6\u3002\u8fd9\u65b9\u9762\uff0c\u6700\u597d\u770b\u4e00\u4e0b\u5b9e\u4f8b\u6765\u66f4\u5feb\u7406\u89e3\u3002<\/p>\n<h2>PostgreSQL 12\u7684\u6539\u8fdb\u9879\u76ee<\/h2>\n<p>PostgreSQL 12 beta1\u4e8e5\u6708\u4efd\u53d1\u5e03\uff0c\u5e76\u4e14\u5df2\u7ecf\u516c\u5f00\u4e86\u53d1\u5e03\u8bf4\u660e\u3002<br \/>\nhttps:\/\/www.postgresql.org\/docs\/devel\/release-12.html<\/p>\n<p>\u5728\u90a3\u4e2a\u53d1\u5e03\u8bf4\u660e\u4e2d<\/p>\n<blockquote><p>\u51cf\u5c11GiST\u3001GIN\u548cSP-GiST\u7d22\u5f15\u521b\u5efa\u65f6\u7684WAL\u5199\u5165\u5f00\u9500\uff08Anastasia Lubennikova\uff0cAndrey V. Lepikhov\uff09<\/p><\/blockquote>\n<p>\u5728\u4e2d\u6587\u4e2d\uff0c\u8be5\u53e5\u53ef\u4ee5\u88ab\u8868\u8ff0\u4e3a\uff1a\u5173\u4e8e\u8fd9\u4e2a\u9879\u76ee\uff0c\u610f\u5728\u51cf\u5c11\u7528\u4e8eGIN\u7d22\u5f15\u751f\u6210\u7684WAL\u5927\u5c0f\uff0c\u7528\u4e8e\u5168\u6587\u641c\u7d22\u7d22\u5f15\u7b49\u3002\u5173\u4e8e\u6b64\uff0c\u6211\u5728\u53d1\u5e03PostgreSQL 12 beta1\u4e4b\u524d\u7a0d\u4f5c\u4e86\u89e3\uff08\u53c2\u89c1\u300aPostgreSQL 12\u5373\u5c06\u6765\u4e34\uff01(3) &#8211; GIN\u7d22\u5f15\u7684WAL\u5927\u5c0f\u51cf\u5c11\u300b\uff09\uff0c\u65e2\u7136beta1\u4e5f\u5df2\u53d1\u5e03\uff0c\u6211\u51b3\u5b9a\u518d\u6b21\u786e\u8ba4\u5b83\uff0c\u4f5c\u4e3a\u4f7f\u7528N-gram\u65b9\u6cd5\u7684\u5168\u6587\u641c\u7d22\u7d22\u5f15\u4e2d\u7684\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u6211\u4f1a\u4f7f\u7528pg_bigm\u6765\u5b9e\u73b0\u3002<\/p>\n<h2>\u672c\u6b21\u7684\u9a8c\u8bc1 c\u00ec de<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pg_bigm\u306b\u3088\u3063\u3066GIN\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306eWAL\u30b5\u30a4\u30ba\u3092PostgreSQL 11\u3068PostgreSQL 12\u3067\u6bd4\u8f03\u3059\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">GIN\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u6642\u9593\u3092PostgreSQL 11\u3068PostgreSQL 12\u3067\u6bd4\u8f03\u3059\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\uff08\u304a\u307e\u3051\uff09pg_bigm\u306b\u3088\u308b\u5168\u6587\u691c\u7d22\u51e6\u7406\u6642\u9593\u3092\u6bd4\u8f03\u3059\u308b\u3002<\/ul>\n<h3>\u4e3b\u9898<\/h3>\n<p>\u9019\u6b21\u6211\u5011\u4ecd\u7136\u4f7f\u7528\u9752\u7a7a\u6587\u5eab\u6240\u8b02\u7684\u300c\u5409\u5ddd\u4e09\u570b\u5fd7\u300d\u4f86\u6e90\u7684\u6587\u672c\u3002\u70ba\u4ec0\u9ebc\u9078\u64c7\u9019\u500b\u5462\uff1f\u56e0\u70ba\u6211\u55ae\u7d14\u559c\u6b61\u4e09\u570b\u5fd7\uff0c\u800c\u4e14\u9019\u500b\u6587\u672c\u8cc7\u6599\u7684\u5927\u5c0f\u4e5f\u9069\u4e2d\u3002<\/p>\n<h3>\u7c97\u7565\u7684\u6b65\u9aa4<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u9752\u7a7a\u6587\u5eab\u306e\u5409\u5ddd\u4e09\u56fd\u5fd7\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u3001PostgreSQL\u306b\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pg_bigm\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7d44\u307f\u8fbc\u3080\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4e00\u65e6\u3001PostgreSQL\u3092\u505c\u6b62\u3055\u305b\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pg_resetwal \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u3063\u3066WAL\u3092\u521d\u671f\u5316\u3059\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PostgreSQL\u3092\u518d\u8d77\u52d5\u3055\u305b\u308b\u3002\u3053\u306e\u3068\u304d\u306eWAL\u30bb\u30b0\u30e1\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3084\u3001LSN\u306e\u4f4d\u7f6e\u3092\u8a18\u9332\u3057\u3066\u304a\u304f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CREATE INDEX\u30b3\u30de\u30f3\u30c9\u3067\u3001pg_bigm\u304c\u63d0\u4f9b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u7528\u3044\u3066Bi Bram(2\u6587\u5b57\u306b\u5206\u89e3\u3055\u308c\u305fGIN\u8ee2\u7f6e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\u3092\u4f5c\u6210\u3059\u308b\u3002\u305d\u306e\u3068\u304d\u306e\u6642\u9593\u3092psql\u306e \\timing \u30e1\u30bf\u30b3\u30de\u30f3\u30c9\u3067\u6e2c\u5b9a\u3057\u3066\u304a\u304f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u5f8c\u306eWAL\u30bb\u30b0\u30e1\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3084\u3001LSN\u306e\u4f4d\u7f6e\u3092\u8a18\u9332\u3057\u3066\u304a\u304f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3064\u3044\u3067\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30b5\u30a4\u30ba\u3092\u6e2c\u5b9a\u3057\u3066\u304a\u304f\uff08\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u308b\u9055\u3044\u306f\u306a\u3044\u306f\u305a\uff09\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3053\u306e\u72b6\u614b\u3067\u3001\u3064\u3044\u3067\u306b\u5168\u6587\u691c\u7d22\u30923\u56de\u5b9f\u65bd\u3057\u3066\u5b9f\u884c\u6642\u9593(EXPLAIN ANALYZE\u306eEecution time\uff09\u3092\u6e2c\u5b9a\u3057\u3066\u304a\u304f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u4e0a\u8a18\u306e\u624b\u9806\u3092\u3001PostgreSQL 11\u3068PostgreSQL 12 beta1\u3067\u5b9f\u65bd\u3059\u308b\u3002<\/ul>\n<h3>\u7ed3\u679c\uff08\u5728\u7d22\u5f15\u521b\u5efa\u65f6\u7684WAL\u5927\u5c0f\uff09<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/16-0.png\" alt=\"lsn_diff.png\" \/><\/div>\n<h3>\u7ed3\u679c\uff08\u7d22\u5f15\u521b\u5efa\u65f6\u95f4\uff09<\/h3>\n<p>\u5efa\u7acb\u7d22\u5f15\u7684\u65f6\u95f4\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/19-0.png\" alt=\"cretae_index_time.png\" \/><\/div>\n<p>\u5982\u679c\u8981\u7c97\u7565\u5730\u8bf4\u521b\u5efa\u7d22\u5f15\u6240\u9700\u7684\u65f6\u95f4\uff0c\u90a3\u4e48\u5c31\u662f\u975e\u5e38\u77ed\u7684\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u5143\u306b\u306a\u308b\u30c6\u30fc\u30d6\u30eb\u306e\u30b5\u30a4\u30ba\uff08\u8aad\u307f\u8fbc\u307f\u6642\u9593\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4f5c\u6210\u3055\u308c\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30b5\u30a4\u30ba\uff08\u66f8\u304d\u8fbc\u307f\u6642\u9593\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u306eWAL\u30b5\u30a4\u30ba\uff08\u66f8\u304d\u8fbc\u307f\u6642\u9593\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u305d\u306e\u4ed6\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u306e\u305f\u3081\u306eCPU\u6642\u9593\uff09<\/ul>\n<p>\u6211\u8ba4\u4e3a\u53ef\u80fd\u4f1a\u53d7\u5230\u5468\u56f4\u7684\u5f71\u54cd\u3002\u6240\u4ee5\uff0c\u6211\u7ed8\u5236\u4e86\u539f\u59cb\u8868\u7684\u5927\u5c0f\u3001\u751f\u6210\u7684\u7d22\u5f15\u5927\u5c0f\u4ee5\u53ca\u7d22\u5f15\u751f\u6210\u65f6\u7684WAL\u5927\u5c0f\u6765\u4e00\u8d77\u5206\u6790\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/23-0.png\" alt=\"relation_index_wal_size.png\" \/><\/div>\n<p>\u8fd9\u6837\u770b\u6765\uff0c\u8003\u8651\u5230WAL\u5927\u5c0f\u7684\u5dee\u5f02\uff0c\u5bf9\u751f\u6210\u65f6\u95f4\u7684\u5f71\u54cd\u4f3c\u4e4e\u6bd4\u6211\u60f3\u8c61\u7684\u8981\u5c0f\u3002\u4e5f\u8bb8\u7d22\u5f15\u521b\u5efa\u672c\u8eab\u7684CPU\u5904\u7406\u6bd4\u6211\u60f3\u8c61\u7684\u66f4\u7e41\u91cd\uff1f<\/p>\n<h3>\u67e5\u8be2\u7ed3\u679c\u65f6\u95f4<\/h3>\n<p>\u7531\u4e8e\u751f\u6210\u7684\u5168\u6587\u641c\u7d22\u7d22\u5f15\u5185\u5bb9\u5e94\u8be5\u4e0d\u4f1a\u6539\u53d8\uff0c\u6240\u4ee5\u641c\u7d22\u65f6\u95f4\u4e5f\u4e0d\u5e94\u8be5\u6709\u592a\u5927\u53d8\u5316\u3002\u4f46\u662f\uff0cPostgreSQL 12\u7248\u672c\u611f\u89c9\u975e\u5e38\u5bbd\u677e\uff0c\u5e76\u5728\u53d1\u5e03\u8bf4\u660e\u4e2d\u5217\u51fa\u4e86\u4ee5\u4e0b\u6539\u8fdb\u9879\u76ee\u3002<\/p>\n<blockquote><p>\u6539\u5584\u591a\u5b57\u8282\u5b57\u7b26\u7684\u641c\u7d22\u6027\u80fd\uff08Heikki Linnakangas\uff09<\/p><\/blockquote>\n<p>\u5c3d\u7ba1\u6211\u6ca1\u6709\u67e5\u770b\u6e90\u4ee3\u7801\u7b49\u76f8\u5173\u4fe1\u606f\uff0c\u65e0\u6cd5\u786e\u5b9a\u8fd9\u4e0e\u4f7f\u7528pg_bigm\u5168\u6587\u641c\u7d22\u7d22\u5f15\u7684\u641c\u7d22\u6709\u591a\u5927\u5173\u7cfb\uff0c\u4f46\u6211\u5c1d\u8bd5\u6267\u884c\u4ee5\u4e0b\u67e5\u8be2\uff08\u5728\u7f13\u5b58\u4e2d\uff09\u4e09\u6b21\u5e76\u8ba1\u7b97\u5176\u5e73\u5747\u6267\u884c\u65f6\u95f4\uff0c\u4ee5\u786e\u8ba4\u662f\u5426\u5bf9pg_bigm\u7684\u641c\u7d22\u6027\u80fd\u4ea7\u751f\u5f71\u54cd\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">EXPLAIN<\/span> <span class=\"k\">ANALYZE<\/span> <span class=\"k\">SELECT<\/span> <span class=\"o\">*<\/span> <span class=\"k\">FROM<\/span> <span class=\"n\">sangokushi<\/span> <span class=\"k\">WHERE<\/span> <span class=\"k\">data<\/span> <span class=\"k\">LIKE<\/span> <span class=\"s1\">'%\u5140\u7a81\u9aa8%'<\/span><span class=\"p\">;<\/span>\r\n<\/code><\/pre>\n<p>\u901a\u8fc7\u6b64\u67e5\u8be2\uff0c\u53ef\u4ee5\u4ece\u300a\u5409\u5ddd\u4e09\u56fd\u5fd7\u300b\u8fd9\u672c\u753141747\u884c\u7ec4\u6210\u7684\u6587\u672c\u4e2d\u83b7\u5f9713\u884c\u7684\u641c\u7d22\u7ed3\u679c\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u641c\u7d22\u65f6\u95f4\u7684\u6d4b\u91cf\u7ed3\u679c\u3002\u5c3d\u7ba1\u7a0d\u5fae\u6709\u70b9\uff0c\u4f46\u5728PostgreSQL 12\u4e2d\u7684\u641c\u7d22\u6027\u80fd\u6709\u6240\u63d0\u9ad8\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/32-0.png\" alt=\"index_search_time.png\" \/><\/div>\n<p>\u5c3d\u7ba1\u6211\u6ca1\u6709\u8be6\u7ec6\u8c03\u67e5\u8fd9\u4e2a\u7ed3\u679c\u662f\u5426\u6e90\u4e8e\u6211\u63d0\u53ca\u7684\u300c\u6539\u5584\u591a\u5b57\u8282\u5b57\u7b26\u7684\u641c\u7d22\u6027\u80fd\u300d\uff0c\u4f46\u81f3\u5c11\u53ef\u4ee5\u8bf4\uff0c\u5728\u5c06pg_bigm\u5e94\u7528\u4e8ePostgreSQL 12\u73af\u5883\u540e\uff0c\u5e76\u6ca1\u6709\u9047\u5230\u5927\u95ee\u9898\u3002<\/p>\n<h2>\u6700\u540e<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pg_bigm\u3092PostgreSQL 12\u306b\u9069\u7528\u3057\u3066\u3082\u5927\u304d\u306a\u554f\u984c\u306f\u306a\u3055\u3052\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u3084\u3063\u3071\u308a\u5409\u5ddd\u4e09\u56fd\u5fd7\u306f\u9762\u767d\u3044\u306a\u30fc\u3002<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u6211\u5c1d\u8bd5\u4f7f\u7528pg_bigm\u6765\u91cd\u65b0\u786e\u8ba4PostgreSQL 12\u7684\u6539\u8fdb\u9879\u76ee\u3002 pg_bigm \u662f\u4ec0\u4e48\uff1f \u7b80\u5355 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42135","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/postgresql-12\u5373\u5c06\u5230\u6765\uff01\u5916\u4f201-\u5bf9pg_bigm\u7684\u5f71\u54cd\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u6211\u5c1d\u8bd5\u4f7f\u7528pg_bigm\u6765\u91cd\u65b0\u786e\u8ba4PostgreSQL 12\u7684\u6539\u8fdb\u9879\u76ee\u3002 pg_bigm \u662f\u4ec0\u4e48\uff1f \u7b80\u5355 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12\u5373\u5c06\u5230\u6765\uff01\u5916\u4f201-\u5bf9pg_bigm\u7684\u5f71\u54cd\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-21T10:50:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T00:48:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/16-0.png\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/\",\"name\":\"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-21T10:50:45+00:00\",\"dateModified\":\"2024-05-04T00:48:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) &#8211; \u5bf9pg_bigm\u7684\u5f71\u54cd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/postgresql-12\u5373\u5c06\u5230\u6765\uff01\u5916\u4f201-\u5bf9pg_bigm\u7684\u5f71\u54cd\/","og_locale":"zh_CN","og_type":"article","og_title":"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd","og_description":"\u9996\u5148 \u6211\u5c1d\u8bd5\u4f7f\u7528pg_bigm\u6765\u91cd\u65b0\u786e\u8ba4PostgreSQL 12\u7684\u6539\u8fdb\u9879\u76ee\u3002 pg_bigm \u662f\u4ec0\u4e48\uff1f \u7b80\u5355 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12\u5373\u5c06\u5230\u6765\uff01\u5916\u4f201-\u5bf9pg_bigm\u7684\u5f71\u54cd\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-21T10:50:45+00:00","article_modified_time":"2024-05-04T00:48:27+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d4ad637434c4406cb4ca3\/16-0.png"}],"author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/","name":"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) - \u5bf9pg_bigm\u7684\u5f71\u54cd - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-21T10:50:45+00:00","dateModified":"2024-05-04T00:48:27+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL 12\u5373\u5c06\u5230\u6765\uff01(\u5916\u4f201) &#8211; \u5bf9pg_bigm\u7684\u5f71\u54cd"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/postgresql-12%e5%8d%b3%e5%b0%86%e5%88%b0%e6%9d%a5%ef%bc%81%e5%a4%96%e4%bc%a01-%e5%af%b9pg_bigm%e7%9a%84%e5%bd%b1%e5%93%8d\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=42135"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42135\/revisions"}],"predecessor-version":[{"id":97322,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42135\/revisions\/97322"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=42135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=42135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=42135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}