{"id":25534,"date":"2025-11-28T04:04:04","date_gmt":"2025-11-28T04:04:04","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=25534"},"modified":"2025-11-28T04:04:04","modified_gmt":"2025-11-28T04:04:04","slug":"%e3%80%8c%e3%83%ad%e3%82%b0%e3%80%8d%e3%81%8b%e3%82%89%e5%ad%a6%e3%82%93%e3%81%a0-postgresql-%e3%81%ae%e3%82%a2%e3%83%bc%e3%82%ad%e3%83%86%e3%82%af%e3%83%81%e3%83%a3%e3%81%ae%e5%9f%ba%e6%9c%ac-plex","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/25534\/","title":{"rendered":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c &#8211; PLEX Product Team Blog"},"content":{"rendered":"\n<\/p>\n<div>\n<p><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/r\/ryuyata\/20251126\/20251126121154.png\" width=\"778\" height=\"386\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><\/p>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/Plex\">Plex<\/a> Job \u958b\u767a\u30c1\u30fc\u30e0\u306e\u9ad8\u5ca1\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5 <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PLEX\">PLEX<\/a> TechCon 2025 \u304c\u958b\u50ac\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\u60dc\u3057\u304f\u3082\u767b\u58c7\u6a5f\u4f1a\u3092\u5f97\u3089\u308c\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u672c\u8a18\u4e8b\u306b\u3066\u767a\u8868\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u5185\u5bb9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\u6765\u5e74\u3053\u305d\u306f\u767b\u58c7\u3092\u52dd\u3061\u53d6\u308a\u307e\u3059 \ud83d\udd25<\/p>\n<p>\u25bc \u5f53\u65e5\u306e\u69d8\u5b50\u306f\u3053\u3061\u3089<br \/><a target=\"_blank\" href=\"https:\/\/product.plex.co.jp\/entry\/plex-tech-con-2025\">PLEX TechCon 2025 \u30ec\u30dd\u30fc\u30c8 &#8211; PLEX Product Team Blog<\/a><\/p>\n<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p>\u4ee5\u524d\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001\u672c\u756a\u74b0\u5883\u306e\u4e00\u90e8\u306e\u51e6\u7406\u3060\u3051\u304c\u3084\u305f\u3089\u3068\u9045\u304f\u306a\u308b\u30b9\u30ed\u30fc\u30af\u30a8\u30ea\u306b\u906d\u9047\u3057\u307e\u3057\u305f\u3002<br \/><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DC%A5%C8%A5%EB%A5%CD%A5%C3%A5%AF\">\u30dc\u30c8\u30eb\u30cd\u30c3\u30af<\/a>\u306e\u7279\u5b9a\u3068\u6539\u5584\u306b\u53d6\u308a\u7d44\u307f\u3001\u5b9f\u884c\u8a08\u753b\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u6c7a\u5b9a\u7684\u306a\u539f\u56e0\u307e\u3067\u306f\u7d5e\u308a\u8fbc\u3081\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u884c\u304d\u8a70\u307e\u3063\u3066\u3057\u307e\u3063\u305f\u305f\u3081\u3001\u5207\u308a\u53e3\u3092\u5909\u3048\u3066 Cloud <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/SQL\">SQL<\/a>\uff08<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a>\uff09\u306e\u30ed\u30b0\u304b\u3089\u3001\u30b9\u30ed\u30fc\u30af\u30a8\u30ea\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u6642\u70b9\u306e DB \u306e\u72b6\u614b\u3092\u898b\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\u30ed\u30b0\u306b\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u95a2\u4fc2\u3057\u305d\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3044\u304f\u3064\u304b\u51fa\u529b\u3055\u308c\u3066\u304a\u308a\u30011\u3064\u305a\u3064\u8abf\u67fb\u3057\u3066\u3044\u304f\u4e2d\u3067\u3001\u5f8c\u8ff0\u3059\u308b 3 \u3064\u306e\u30ed\u30b0\u304c\u7279\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u304c\u5927\u304d\u305d\u3046\u3060\u3068\u5206\u304b\u3063\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\u3053\u308c\u3089\u306e\u30ed\u30b0\u304c <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u3069\u306e\u4ed5\u7d44\u307f\u3068\u7d50\u3073\u3064\u3044\u3066\u3044\u308b\u306e\u304b\u3092\u628a\u63e1\u3059\u308b\u305f\u3081\u306b\u3001<strong><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%A2%A1%BC%A5%AD%A5%C6%A5%AF%A5%C1%A5%E3\">\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/a><\/strong>\u306b\u3064\u3044\u3066\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u5f53\u6642\u5b9f\u969b\u306b\u78ba\u8a8d\u3057\u3066\u3044\u305f\u6b21\u306e3\u7a2e\u985e\u306e\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u984c\u6750\u306b\u3001\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u305f\u3068\u304d\u306b <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u5185\u90e8\u3067\u4f55\u304c\u8d77\u304d\u3066\u3044\u308b\u306e\u304b\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u306e\u30ed\u30b0<\/li>\n<li>\u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u51e6\u7406\u306e\u30ed\u30b0<\/li>\n<li>TEMP \u843d\u3061\u306e\u30ed\u30b0<\/li>\n<\/ol>\n<p>\u307e\u305f\u3001\u7279\u306b\u300c3.TEMP\u843d\u3061\u306e\u30ed\u30b0\u300d\u304b\u3089\u30b9\u30ed\u30fc\u30af\u30a8\u30ea\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584\u306b\u3064\u306a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u305d\u306e\u4e8b\u4f8b\u3082\u5408\u308f\u305b\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30b0\u3068 <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%A2%A1%BC%A5%AD%A5%C6%A5%AF%A5%C1%A5%E3\">\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/a>\u3092\u624b\u304c\u304b\u308a\u306b\u3001\u7d50\u679c\u3068\u3057\u3066\u300c\u5b9f\u884c\u8a08\u753b\u3060\u3051\u3092\u898b\u3066\u3044\u305f\u3068\u304d\u306b\u306f\u5206\u304b\u3089\u306a\u304b\u3063\u305f<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DC%A5%C8%A5%EB%A5%CD%A5%C3%A5%AF\">\u30dc\u30c8\u30eb\u30cd\u30c3\u30af<\/a>\u300d\u3092\u767a\u898b\u3067\u304d\u305f\u3001\u3068\u3044\u3046\u7d4c\u9a13\u3092\u3082\u3068\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<br \/><strong>\u666e\u6bb5\u306a\u3093\u3068\u306a\u304f <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u3092\u4f7f\u3063\u3066\u3044\u308b\u3082\u306e\u306e\u3001\u5185\u90e8\u69cb\u9020\u306f\u3044\u307e\u3044\u3061\u30d4\u30f3\u3068\u304d\u3066\u3044\u306a\u3044<\/strong>\u2026\u2026\u3068\u3044\u3046\u65b9\u306e\u3001\u7406\u89e3\u3092\u4e00\u6b69\u9032\u3081\u308b\u304d\u3063\u304b\u3051\u306b\u306a\u308c\u3070\u3046\u308c\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3058\u3081\u306b\u3001\u5148\u307b\u3069\u6319\u3052\u305f 3 \u3064\u306e\u30ed\u30b0\u304c\u305d\u308c\u305e\u308c <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u3069\u306e\u69cb\u6210\u8981\u7d20\u3068\u95a2\u4fc2\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u5168\u4f53\u306e\u69cb\u6210\u56f3\u3092\u7c21\u5358\u306b\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><figure class=\"figure-image figure-image-fotolife\" title=\"\u51fa\u5178 : PostgreSQL\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u6982\u8981\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a\"><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/r\/ryuyata\/20251127\/20251127143809.png\" width=\"1200\" height=\"480\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><figcaption>\u51fa\u5178 : <a target=\"_blank\" href=\"https:\/\/www.fujitsu.com\/jp\/products\/software\/resources\/feature-stories\/postgres\/article-index\/architecture-overview\/\">PostgreSQL\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u6982\u8981\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a<\/a><\/figcaption><\/figure>\n<\/p>\n<h3 id=\"\u30d7\u30ed\u30bb\u30b9\u69cb\u6210\u5168\u4f53\u56f3\u306e\u8d64\u306e\u8981\u7d20\">\u30d7\u30ed\u30bb\u30b9\u69cb\u6210\uff08\u5168\u4f53\u56f3\u306e\u8d64\u306e\u8981\u7d20\uff09<\/h3>\n<p><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a>\u306f\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30b9\u69cb\u6210\u3067\u3001<\/p>\n<ul>\n<li>\u2460 \u30ea\u30b9\u30ca\u30fc\u30d7\u30ed\u30bb\u30b9<\/li>\n<li>\u2461 \u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30bb\u30b9<\/li>\n<li>\u2462 \u30ef\u30fc<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%AB%A1%BC%A5%D7\">\u30ab\u30fc\u30d7<\/a>\u30ed\u30bb\u30b9<\/li>\n<\/ul>\n<p>\u306e\u4e3b\u8981\u306a3\u3064\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<br \/>\u30ea\u30b9\u30ca\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u3092\u5236\u5fa1\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30bb\u30b9\u3092\u30d5\u30a9\u30fc\u30af\u3057\u3066\u8d77\u52d5\u3059\u308b\u89aa\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002<br \/>\u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u3001\u30ea\u30b9\u30ca\u30fc\u30d7\u30ed\u30bb\u30b9\u306e\u5b50\u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3054\u3068\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\u30ef\u30fc<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%AB%A1%BC%A5%D7\">\u30ab\u30fc\u30d7<\/a>\u30ed\u30bb\u30b9\u306f\u3001\u672c\u8a18\u4e8b\u3067\u3082\u8aac\u660e\u3059\u308b\u300c\u30c1\u30a7\u30c3\u30af<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DD%A5%A4%A5%F3%A5%BF%A1%BC\">\u30dd\u30a4\u30f3\u30bf\u30fc<\/a>\u300d\u3084\u300c\u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u30e9\u30f3\u30c1\u30e3\u30fc\u300d\u306a\u3069\u306e <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u91cd\u8981\u306a\u4f5c\u696d\u3092\u62c5\u3046\u30d7\u30ed\u30bb\u30b9\u7fa4\u3067\u3059\u3002<br \/><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/MySQL\">MySQL<\/a>\u3067\u306f\u3001<code>mysqld<\/code>\u3068\u547c\u3070\u308c\u308b\u30d7\u30ed\u30bb\u30b9\u306e\u4e2d\u306b\u3044\u304f\u3064\u304b\u306e\u30b9\u30ec\u30c3\u30c9\u3092\u8d77\u52d5\u3055\u305b\u308b\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u69cb\u6210\u306b\u3066\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 id=\"\u30e1\u30e2\u30ea\u69cb\u6210\u5168\u4f53\u56f3\u306e\u9ec4\u8272\u306e\u8981\u7d20\">\u30e1\u30e2\u30ea\u69cb\u6210\uff08\u5168\u4f53\u56f3\u306e\u9ec4\u8272\u306e\u8981\u7d20\uff09<\/h3>\n<p><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a>\u306e\u30e1\u30e2\u30ea\u306f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u5168\u4f53\u304c\u4f7f\u7528\u3059\u308b\u9818\u57df\u3067\u5171\u6709\u3055\u308c\u308b<strong>\u5171\u6709\u30e1\u30e2\u30ea\u57df<\/strong>\u3068\u3001\u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30bb\u30b9\u3054\u3068\u306b\u78ba\u4fdd\u3055\u308c\u308b<strong>\u30d7\u30ed\u30bb\u30b9\u30e1\u30e2\u30ea\u57df<\/strong>\u306e\u5927\u304d\u304f2\u3064\u306b\u533a\u5225\u3055\u308c\u307e\u3059\u3002<br \/>\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30e2\u30ea\u306e\u5206\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u25bc \u5171\u6709\u30e1\u30e2\u30ea\u57df<\/p>\n<ul>\n<li>\u2463 \u5171\u6709\u30d0\u30c3\u30d5\u30a1\u30fc\uff08shared_buffers\uff09\n<ul>\n<li>\u30c6\u30fc\u30d6\u30eb\u3084\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30c7\u30fc\u30bf\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u9818\u57df<\/li>\n<\/ul>\n<\/li>\n<li>\u2464 <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u30ed\u30b0\u30d0\u30c3\u30d5\u30a1\u30fc\uff08wal_buffers\uff09\n<\/li>\n<\/ul>\n<p>\u25bc \u30d7\u30ed\u30bb\u30b9\u30e1\u30e2\u30ea\u57df<\/p>\n<ul>\n<li>\u2465 \u4f5c\u696d\u30e1\u30e2\u30ea\uff08work_mem\uff09\n<ul>\n<li>\u30af\u30a8\u30ea\u5b9f\u884c\u6642\u306b\u884c\u308f\u308c\u308b\u3001\u4e26\u3073\u66ff\u3048\u3068\u30cf\u30c3\u30b7\u30e5\u30c6\u30fc\u30d6\u30eb\u64cd\u4f5c\u306e\u305f\u3081\u306b\u4f7f\u308f\u308c\u308b\u9818\u57df<\/li>\n<\/ul>\n<\/li>\n<li>\u2466 \u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u7528\u4f5c\u696d\u30e1\u30e2\u30ea\uff08maintenance_work_mem\uff09\n<ul>\n<li>\u30c7\u30fc\u30bf\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306e\u64cd\u4f5c\u3067\u4f7f\u7528\u3059\u308b\u9818\u57df<\/li>\n<\/ul>\n<\/li>\n<li>\u2467 \u4e00\u6642\u30d0\u30c3\u30d5\u30a1\uff08temp_buffers\uff09\n<ul>\n<li>\u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30bb\u30b9\u3054\u3068\u306b\u4f5c\u6210\u3055\u308c\u308b\u4e00\u6642\u30c6\u30fc\u30d6\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u304d\u306b\u7528\u3044\u3089\u308c\u308b\u9818\u57df<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/MySQL\">MySQL<\/a>\u3067\u3082\u540d\u79f0\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u4f3c\u305f\u3088\u3046\u306a\u7528\u9014\u306e\u30e1\u30e2\u30ea\u9818\u57df\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u898b\u3066\u3044\u304f\u30ed\u30b0\u306f\u3001\u3053\u306e\u69cb\u6210\u306e\u300c<strong>\u3069\u3053\u3067<\/strong>\u300d\u300c<strong>\u4f55\u3092\u884c\u3063\u3066\u3044\u308b\u304b<\/strong>\u300d\u3092\u305d\u308c\u305e\u308c\u793a\u3059\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u8abf\u67fb\u3057\u305f3\u3064\u306e\u30ed\u30b0\">\u8abf\u67fb\u3057\u305f3\u3064\u306e\u30ed\u30b0<\/h2>\n<p>\u5148\u307b\u3069\u898b\u305f\u69cb\u6210\u56f3\u3068\u5bfe\u5fdc\u3055\u305b\u306a\u304c\u3089\u3001\u5b9f\u969b\u306b Cloud <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/SQL\">SQL<\/a> \u306e\u30ed\u30b0\u306b\u51fa\u3066\u3044\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092 3 \u7a2e\u985e\u53d6\u308a\u4e0a\u3052\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u5b9f\u969b\u306b\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5b9a\u671f\u7684\u306b\u6d41\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><code>checkpoint starting \/ checkpoint complete<\/code>\n<ul>\n<li>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u306e\u958b\u59cb\u3068\u5b8c\u4e86<\/li>\n<\/ul>\n<\/li>\n<li><code>automatic vacuum of table ...<\/code>\n<ul>\n<li>autovacuum \u306b\u3088\u308b VACUUM \u5b9f\u884c<\/li>\n<\/ul>\n<\/li>\n<li><code>temporary file: path ...<\/code>\n<ul>\n<li>\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\uff08= TEMP \u843d\u3061\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3069\u308c\u3082 <strong>\u305d\u308c\u81ea\u4f53\u304cDB\u30b5\u30fc\u30d0\u30fc\u306e\u52d5\u4f5c\u4e0a\u306e\u4e0d\u5177\u5408<\/strong> \u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\u305f\u3060\u3001\u5185\u5bb9\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001\u3053\u308c\u3089\u304c\u3069\u306e\u69cb\u6210\u8981\u7d20\u3067\u4f55\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u304c\u5206\u304b\u308a\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DC%A5%C8%A5%EB%A5%CD%A5%C3%A5%AF\">\u30dc\u30c8\u30eb\u30cd\u30c3\u30af<\/a>\u3068\u306a\u3063\u3066\u3044\u308b\u30af\u30a8\u30ea\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306b\u6d3b\u304b\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"1-\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u306e\u30ed\u30b0\">1. \u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u306e\u30ed\u30b0\ud83d\udcdd<\/h3>\n<pre class=\"code txt\" data-lang=\"txt\" data-unlink=\"\">2025-07-07 18:20:47.160 UTC [31]: [5831-1] db=,user= LOG:  checkpoint starting: time\n2025-07-07 18:20:47.509 UTC [31]: [5832-1] db=,user= LOG:  \ncheckpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; \nwrite=0.318 s, sync=0.008 s, total=0.350 s; sync files=3, longest=0.005 s, average=0.003 s; \ndistance=23 kB, estimate=363 kB; lsn=DE\/2F0C6B78, redo lsn=DE\/2F0C6B40<\/pre>\n<p>\u203b \u6570\u5024\u306f\u5f53\u6642\u306e\u30ed\u30b0\u3068\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"\u6982\u8981\">\u6982\u8981<\/h4>\n<p><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u3067\u306f\u3001\u30c6\u30fc\u30d6\u30eb\u3084\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u66f4\u65b0\u3059\u308b\u3068\u304d\u3001\u307e\u305a\u306f\u5171\u6709\u30e1\u30e2\u30ea\u57df\u306e\u5171\u6709\u30d0\u30c3\u30d5\u30a1\u30fc\u4e0a\u306e\u30da\u30fc\u30b8\u3092\u66f8\u304d\u63db\u3048\u3064\u3064\u3001\u66f4\u65b0\u5185\u5bb9\u3060\u3051\u3092 <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u30ed\u30b0\uff08WAL\uff09\u30d0\u30c3\u30d5\u30a1\u30fc\u306b\u9806\u6b21\u66f8\u304d\u8fbc\u3080\u69cb\u6210\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nWAL\uff08Write Ahead Logging\uff09\u306f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u66f4\u65b0\u5185\u5bb9\u3092\u9806\u6b21\u8a18\u9332\u3057\u3066\u3044\u304f\u30ed\u30b0\u3067\u3001\u969c\u5bb3\u5fa9\u65e7\u3084\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%EC%A5%D7%A5%EA%A5%B1%A1%BC%A5%B7%A5%E7%A5%F3\">\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3067\u5229\u7528\u3055\u308c\u308b\u975e\u5e38\u306b\u91cd\u8981\u306a\u60c5\u5831\u3067\u3059\u3002<br \/>\nCOMMIT \u6642\u306b\u30c7\u30a3\u30b9\u30af\u3078\u66f8\u304d\u51fa\u3055\u308c\u308b\u306e\u306f\u3001\u57fa\u672c\u7684\u306b\u306f\u3053\u306e WAL \u3060\u3051\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u672c\u4f53\u3078\u306e\u66f8\u304d\u8fbc\u307f\u306f\u3042\u3068\u304b\u3089\u307e\u3068\u3081\u3066\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u66f4\u65b0\u51e6\u7406\u81ea\u4f53\u306f\u300c\u30e1\u30e2\u30ea\u3068 WAL\u3078\u306e\u8ffd\u8a18\u300d\u304c\u4e2d\u5fc3\u306b\u306a\u308b\u305f\u3081\u9ad8\u901f\u306b\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u305d\u306e\u307e\u307e\u653e\u7f6e\u3059\u308b\u3068\u3001<\/p>\n<ul>\n<li>\u5171\u6709\u30d0\u30c3\u30d5\u30a1\u30fc\u4e0a\u306b\u300c\u30c7\u30a3\u30b9\u30af\u3078\u307e\u3060\u66f8\u304d\u51fa\u3057\u3066\u3044\u306a\u3044\u66f4\u65b0\u6e08\u307f\u30da\u30fc\u30b8\uff08\u30c0\u30fc\u30c6\u30a3\u30da\u30fc\u30b8\uff09\u300d\u304c\u5897\u3048\u3066\u3044\u304f<\/li>\n<li>\u969c\u5bb3\u5fa9\u65e7\u306b\u5fc5\u8981\u306a WAL \u30d5\u30a1\u30a4\u30eb\u3082\u3069\u3093\u3069\u3093\u6e9c\u307e\u3063\u3066\u3044\u304f<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002<br \/>\u305d\u306e\u305f\u3081\u306b\u5fc5\u8981\u306a\u306e\u304c\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u3067\u3001\u4e00\u5b9a\u9593\u9694\u3054\u3068\u306b\u3001<\/p>\n<ul>\n<li>\u5171\u6709\u30d0\u30c3\u30d5\u30a1\u30fc\u4e0a\u306e\u66f4\u65b0\u6e08\u307f\u30da\u30fc\u30b8\uff08\u30c0\u30fc\u30c6\u30a3\u30da\u30fc\u30b8\uff09\u3092\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3078\u66f8\u304d\u51fa\u3059<\/li>\n<li>\u305d\u306e\u6642\u70b9\u306e WAL \u4f4d\u7f6e\u306b\u300c\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30ec\u30b3\u30fc\u30c9\u300d\u3092\u8a18\u9332\u3057\u3001\u305d\u308c\u4ee5\u524d\u306e WAL \u30bb\u30b0\u30e1\u30f3\u30c8\u3092\u524a\u9664\u30fb\u518d\u5229\u7528\u3067\u304d\u308b\u72b6\u614b\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u5f79\u5272\u3092\u62c5\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3092\u5b9f\u969b\u306b\u884c\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u524d\u534a\u306e\u300c<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a>\u306e\u69cb\u6210\u300d\u306e\u7ae0\u3067\u89e6\u308c\u305f\u3001\u30ef\u30fc<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%AB%A1%BC%A5%D7\">\u30ab\u30fc\u30d7<\/a>\u30ed\u30bb\u30b9\u306e1\u3064\u3067\u3042\u308b\u300c\u30c1\u30a7\u30c3\u30af<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DD%A5%A4%A5%F3%A5%BF%A1%BC\">\u30dd\u30a4\u30f3\u30bf\u30fc<\/a>\u30d7\u30ed\u30bb\u30b9\u300d\u304c\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5168\u4f53\u306e\u69cb\u6210\u3068\u30c7\u30fc\u30bf\u306e\u6d41\u308c\u306e\u30a4\u30e1\u30fc\u30b8\u56f3\u306f\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><figure class=\"figure-image figure-image-fotolife\" title=\"\u51fa\u5178 : \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b09\u3064\u306e\u6280 \uff5e\u300c\u66f8\u304d\u300d\u306b\u3064\u3044\u3066\uff5e\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a\"><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/r\/ryuyata\/20251126\/20251126112741.png\" width=\"1113\" height=\"346\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><figcaption>\u51fa\u5178 : <a target=\"_blank\" href=\"https:\/\/www.fujitsu.com\/jp\/products\/software\/resources\/feature-stories\/postgres\/article-index\/tuningrule9-write\/\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b09\u3064\u306e\u6280 \uff5e\u300c\u66f8\u304d\u300d\u306b\u3064\u3044\u3066\uff5e\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a<\/a><\/figcaption><\/figure>\n<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5168\u4f53\u306e\u4ed5\u7d44\u307f\u306b\u3088\u3063\u3066\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u66f4\u65b0\u51e6\u7406\u306e\u9ad8\u901f\u5316\u300d\u3068\u300c\u969c\u5bb3\u767a\u751f\u6642\u306e\u30c7\u30fc\u30bf\u4fdd\u8a3c\u300d\u3092\u4e21\u7acb\u3057\u3066\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u901a\u5e38\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u306e\u3044\u305a\u308c\u304b\u3092\u6e80\u305f\u3059\u3068\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>checkpoint_timeout<\/code> \u3067\u8a2d\u5b9a\u3055\u308c\u305f\u6642\u9593\u304c\u7d4c\u904e\u3057\u305f\u3068\u304d<\/li>\n<li>\u76f4\u8fd1\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u751f\u6210\u3055\u308c\u305f WAL \u306e\u91cf\u304c\u3001<code>max_wal_size<\/code> \u306b\u8fd1\u3065\u3044\u305f\u3068\u304d<\/li>\n<li>\u624b\u52d5\u3067 <code>CHECKPOINT<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u767a\u884c\u3057\u305f\u3068\u304d\u3001\u306a\u3069<\/li>\n<\/ul>\n<p>\u4eca\u56de\u306e\u30ed\u30b0\u306e <code>checkpoint complete<\/code> \u884c\u304b\u3089\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u6b21\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>wrote 5 buffers (0.0%)<\/code> \u2026 \u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u4e2d\u306b 5 \u30da\u30fc\u30b8\u3060\u3051\u66f8\u304d\u51fa\u3055\u308c\u3066\u3044\u308b<\/li>\n<li><code>write=0.318 s, sync=0.008 s, total=0.350 s<\/code> \u2026 \u30c8\u30fc\u30bf\u30eb\u30670.35 \u79d2\u3067\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u3092\u5b8c\u4e86<\/li>\n<li><code>distance=23 kB, estimate=363 kB<\/code> \u2026 \u524d\u56de\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u4eca\u56de\u307e\u3067\u306b\u767a\u751f\u3057\u305f WAL \u304c 23kB \u3001\u898b\u7a4d\u3082\u308a\u5024\uff08estimate\uff09\u3082\u6570\u767e kB<\/li>\n<\/ul>\n<p>\u3053\u306e\u30ed\u30b0\u3060\u3051\u3092\u898b\u308b\u9650\u308a\u3001\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u305d\u306e\u3082\u306e\u306f\u6bd4\u8f03\u7684\u8efd\u304f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%DC%A5%C8%A5%EB%A5%CD%A5%C3%A5%AF\">\u30dc\u30c8\u30eb\u30cd\u30c3\u30af<\/a>\u306b\u306f\u306a\u3063\u3066\u3044\u306a\u3044\u72b6\u614b\u3060\u3068\u8aad\u307f\u53d6\u308c\u307e\u3059\u3002<\/p>\n<h4 id=\"\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8<\/h4>\n<ul>\n<li>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u9593\u9694\u3092 <strong>\u77ed\u304f<\/strong> \u3059\u308b\u3068\n<ul>\n<li><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%EA%A5%AB%A5%D0%A5%EA\">\u30ea\u30ab\u30d0\u30ea<\/a>\u6642\u9593\u306f\u77ed\u304f\u306a\u308b<\/li>\n<li>\u305d\u306e\u4ee3\u308f\u308a\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\uff08\u30d0\u30c3\u30d5\u30a1\u66f8\u304d\u51fa\u3057\uff09\u306e\u983b\u5ea6\u304c\u4e0a\u304c\u308a\u3001\u66f8\u304d\u8fbc\u307f I\/O \u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u5897\u3048\u308b<\/li>\n<\/ul>\n<\/li>\n<li>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u9593\u9694\u3092 <strong>\u9577\u304f<\/strong> \u3059\u308b\u3068\n<ul>\n<li><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%EA%A5%AB%A5%D0%A5%EA\">\u30ea\u30ab\u30d0\u30ea<\/a>\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b<\/li>\n<li>\u4ee3\u308f\u308a\u306b I\/O \u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306f\u6e1b\u308a\u3001\u5e73\u5e38\u6642\u306e<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%B9%A5%EB%A1%BC%A5%D7%A5%C3%A5%C8\">\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8<\/a>\u304c\u4e0a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%EC%A1%BC%A5%C9%A5%AA%A5%D5\">\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5<\/a>\u304c\u3042\u308b\u3053\u3068\u3092\u8a8d\u8b58\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u3092\u884c\u3046\u9593\u9694\u3092\u6642\u9593\u3067\u6307\u5b9a\u3059\u308b<code>checkpoint_timeout<\/code> \u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f5\u5206\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u9593\u9694\u304c\u77ed\u304fI\/O\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u5897\u3048\u308b\u305f\u3081\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u8a18\u4e8b\u306a\u3069\u3067\u306f\u300130 \u5206\u524d\u5f8c\u306b\u8abf\u6574\u3057\u3066\u3044\u304f\u30b1\u30fc\u30b9\u304c\u3088\u304f\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3082\u3061\u308d\u3093\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7279\u6027\u306b\u3082\u3088\u308b\u306e\u3067\u3001\u66f4\u65b0\u51e6\u7406\u304c\u591a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5834\u5408\u306f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u30ed\u30b0\u91cf\u304c\u591a\u304f\u306a\u308b\u305f\u3081\u3001<code>checkpoint_timeout<\/code> \u3092\u9577\u3081\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u5206<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%EA%A5%AB%A5%D0%A5%EA\">\u30ea\u30ab\u30d0\u30ea<\/a>\u30fc\u6642\u9593\u3082\u5897\u52a0\u3059\u308b\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/wal-configuration.html\">28.5. WAL\u306e\u8a2d\u5b9a<\/a><\/p>\n<h3 id=\"2-\u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u51e6\u7406\u306e\u30ed\u30b0-\">2. \u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u51e6\u7406\u306e\u30ed\u30b0 \ud83e\uddf9<\/h3>\n<pre class=\"code log\" data-lang=\"log\" data-unlink=\"\">2025-07-07 03:03:26.892 UTC [236223]: [1-1] db=,user= \nLOG:  automatic vacuum of table \"postgres.public.filtered_job_salaries\": index scans: 1\npages: 0 removed, 1169 remain, 1169 scanned (100.00% of total)\ntuples: 48028 removed, 50752 remain, 0 are dead but not yet removable\nremovable cutoff: 95920778, which was 15 XIDs old when operation ended\nnew relfrozenxid: 95917748, which is 127978 XIDs ahead of previous value\nnew relminmxid: 83348, which is 1 MXIDs ahead of previous value\nfrozen: 0 pages from table (0.00% of total) had 0 tuples frozen\nindex scan needed: 601 pages from table (51.41% of total) had 50756 dead item identifiers removed\nindex \"filtered_job_salaries_pkey\": pages: 425 in total, \n139 newly deleted, 284 currently deleted, 145 reusable\n....\nI\/O timings: read: 138.823 ms, write: 0.000 ms\navg read rate: 2.515 MB\/s, avg write rate: 2.503 MB\/s\nbuffer usage: 4975 hits, 208 misses, 207 dirtied\nWAL usage: 3179 records, 205 full page images, 2084441 bytes\nsystem usage: CPU: user: 0.13 s, system: 0.01 s, elapsed: 0.64 s<\/pre>\n<p>\u203b \u6570\u5024\u306f\u5f53\u6642\u306e\u30ed\u30b0\u3068\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"\u6982\u8981-1\">\u6982\u8981<\/h4>\n<p><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306f MVCC\uff08Multi-Version Concurrency Control\uff09\u3068\u3044\u3046\u65b9\u5f0f\u3067\u540c\u6642\u5b9f\u884c\u5236\u5fa1\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>UPDATE \/ DELETE \u3092\u5b9f\u884c\u3059\u308b\u3068\u300c\u53e4\u3044\u884c\u300d\u306f\u3059\u3050\u306b\u306f\u7269\u7406\u524a\u9664\u3055\u308c\u305a\u3001\u300c\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u304c\u5225\u306e\u884c\u3068\u3057\u3066\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u306e\u305f\u3081\u3001\u4f55\u3082\u3057\u306a\u3044\u3068\u30c6\u30fc\u30d6\u30eb\u306e\u4e2d\u306b\u306f\u300c\u4f7f\u7528\u3055\u308c\u306a\u3044\u53e4\u3044\u884c\u300d\u304c\u6e9c\u307e\u3063\u3066\u3044\u304d\u3001<strong>\u30c6\u30fc\u30d6\u30eb\u30b5\u30a4\u30ba\u306e\u80a5\u5927\uff08bloat\uff09\u3084\u7d71\u8a08\u60c5\u5831\u306e\u52a3\u5316<\/strong>\u3092\u62db\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3092\u5b9a\u671f\u7684\u306b\u6383\u9664\u3057\u3066\u304f\u308c\u308b\u306e\u304c <strong>VACUUM<\/strong> \u3067\u3042\u308a\u3001\u305d\u306e\u81ea\u52d5\u5b9f\u884c\u3092\u62c5\u3046\u306e\u304c <strong>autovacuum<\/strong> \u306e\u6a5f\u69cb\u3067\u3059\u3002<\/p>\n<p>autovacuum\u306f\u30ef\u30fc<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%AB%A1%BC%A5%D7\">\u30ab\u30fc\u30d7<\/a>\u30ed\u30bb\u30b9\u306e1\u3064\u3067\u3042\u308b\u3001\u300c\u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u30e9\u30f3\u30c1\u30e3\u30fc\u30d7\u30ed\u30bb\u30b9\u300d\u3067\u5236\u5fa1\/\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u300c<strong>\u7dcf\u884c\u6570\u306e 20% + 50 \u884c<\/strong>\u300d\u7a0b\u5ea6\u306e\u66f4\u65b0\u304c\u3042\u308b\u3068 autovacuum \u304c\u8d70\u308b\u3001\u3068\u3044\u3063\u305f\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff08<code>autovacuum_vacuum_scale_factor<\/code> \/ <code>autovacuum_vacuum_threshold<\/code> \u306a\u3069\u3067\u8abf\u6574\u53ef\u80fd\uff09\u3002<\/p>\n<p>\u4e0a\u8a18\u306e autovacuum \u30ed\u30b0\u304b\u3089\u306f\u3001\u30c6\u30fc\u30d6\u30eb <code>\"postgres.public.filtered_job_salaries\"<\/code> \u306b\u5bfe\u3059\u308b\u81ea\u52d5 VACUUM \u306e\u5185\u5bb9\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>tuples: 48028 removed, 50752 remain<\/code>\n<ul>\n<li>\u7d04 4.8 \u4e07\u884c\u306e dead tuple \u304c\u7269\u7406\u7684\u306b\u524a\u9664<\/li>\n<\/ul>\n<\/li>\n<li><code>index \"filtered_job_salaries_pkey\": pages: 425 in total, 139 newly deleted, 284 currently deleted, 145 reusable<\/code>\n<ul>\n<li>\u4e3b\u30ad\u30fc\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f 425 \u30da\u30fc\u30b8\u5206<\/li>\n<li>139 \u30da\u30fc\u30b8\u5206\u3067\u4eca\u56de\u65b0\u305f\u306b\u524a\u9664<\/li>\n<li>\u5408\u8a08 284 \u30da\u30fc\u30b8\u304c\u300c\u524a\u9664\u6e08\u307f\u300d\u3068\u3057\u3066\u30de\u30fc\u30af<\/li>\n<li>145 \u30da\u30fc\u30b8\u306f\u518d\u5229\u7528\u53ef\u80fd\u306a\u9818\u57df\u3068\u3057\u3066\u6271\u3048\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b<\/li>\n<\/ul>\n<\/li>\n<li><code>system usage: CPU: user: 0.13 s, system: 0.01 s, elapsed: 0.64 s<\/code>\n<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8-1\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8<\/h4>\n<p>autovacuum \u306e\u30ed\u30b0\u81ea\u4f53\u304c\u51fa\u3066\u3044\u308b\u3053\u3068\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u4e00\u65b9\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u691c\u8a0e\u3059\u308b\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u7279\u5b9a\u306e\u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3057\u3066 autovacuum \u304c\u983b\u7e41\u306b\u8d70\u3063\u3066\u3044\u308b\n<ul>\n<li> <code>autovacuum_vacuum_scale_factor<\/code> \/ <code>autovacuum_analyze_scale_factor<\/code> \u3092\u30c6\u30fc\u30d6\u30eb\u3054\u3068\u306b\u8abf\u6574\u3057\u3001\n<ul>\n<li>\u66f4\u65b0\u304c\u591a\u3044\u30c6\u30fc\u30d6\u30eb\u306f<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A4%B7%A4%AD%A4%A4%C3%CD\">\u3057\u304d\u3044\u5024<\/a>\u3092\u4e0b\u3052\u3066\u300c\u3053\u307e\u3081\u306b\u6383\u9664\u300d<\/li>\n<li>\u66f4\u65b0\u304c\u5c11\u306a\u3044\u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306f<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A4%B7%A4%AD%A4%A4%C3%CD\">\u3057\u304d\u3044\u5024<\/a>\u3092\u4e0a\u3052\u3066\u300c\u983b\u5ea6\u3092\u4e0b\u3052\u308b\u300d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>1 \u56de\u3042\u305f\u308a\u306e autovacuum \u304c\u4f55\u5341\u79d2\u301c\u6570\u5206\u5358\u4f4d\u3067\u9577\u6642\u9593\u5316\u3057\u3066\u3044\u308b\n<ul>\n<li>\u30c6\u30fc\u30d6\u30eb\u306e\u80a5\u5927\u5316\u304c\u9032\u307f\u3059\u304e\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d<\/li>\n<li>\u5fc5\u8981\u306b\u5fdc\u3058\u3066 <code>VACUUM (FULL)<\/code> \u3084 <code>REINDEX<\/code> \u306a\u3069\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u691c\u8a0e<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u307e\u305a\u306f\u300c\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u300d\u300c\u3069\u306e\u304f\u3089\u3044\u306e\u6642\u9593\u300d\u300c\u3069\u308c\u304f\u3089\u3044\u306e\u983b\u5ea6\u3067\u300dautovacuum \u304c\u8d70\u3063\u3066\u3044\u308b\u304b\u3092\u53ef\u8996\u5316\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u308b\u3068\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3059\u3079\u304d\u30c6\u30fc\u30d6\u30eb\u306e\u5f53\u305f\u308a\u3092\u3064\u3051\u3084\u3059\u304f\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/routine-vacuuming.html#AUTOVACUUM\">24.1. \u5b9a\u5e38\u7684\u306a\u30d0\u30ad\u30e5\u30fc\u30e0\u4f5c\u696d<\/a><\/p>\n<h3 id=\"3-TEMP\u843d\u3061\u306e\u30ed\u30b0-\">3. TEMP\u843d\u3061\u306e\u30ed\u30b0 \ud83d\udca3<\/h3>\n<pre class=\"code txt\" data-lang=\"txt\" data-unlink=\"\">INFO 2025-07-07T06:02:38.305257Z 2025-07-07 06:02:38.304 UTC [2212337]: [5-1] \ndb=XXX,user=XXX LOG: temporary file: \npath \"base\/pgsql_tmp\/pgsql_tmp2212337.6\", size 3427592<\/pre>\n<p>\u203b \u6570\u5024\u306f\u5f53\u6642\u306e\u30ed\u30b0\u3068\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"\u6982\u8981-2\">\u6982\u8981<\/h4>\n<p>\u300c <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a>\u306e\u69cb\u6210\u300d\u306e\u7ae0\u3067\u8aac\u660e\u3057\u305f\u3068\u304a\u308a\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u30e1\u30e2\u30ea\u69cb\u6210\u306f\u5927\u304d\u304f\u300c\u5171\u6709\u30e1\u30e2\u30ea\u57df\u300d\u3068\u300c\u30d7\u30ed\u30bb\u30b9\u30e1\u30e2\u30ea\u57df\u300d\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<br \/>\u3053\u306e\u3046\u3061 <strong>\u4f5c\u696d\u30e1\u30e2\u30ea\uff08<code>work_mem<\/code>\uff09<\/strong> \u306f\u300c\u30d7\u30ed\u30bb\u30b9\u30e1\u30e2\u30ea\u57df\u300d\u306e 1 \u3064\u3067\u3001\u5404\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30bb\u30c3\u30b7\u30e7\u30f3\u3054\u3068\u306b\u78ba\u4fdd\u3055\u308c\u3001\u4e3b\u306b\u6b21\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30bd\u30fc\u30c8\u64cd\u4f5c\uff1a<code>ORDER BY<\/code>\u3001<code>DISTINCT<\/code>\u3001\u30de\u30fc\u30b8\u7d50\u5408<\/li>\n<li>\u30cf\u30c3\u30b7\u30e5\u30c6\u30fc\u30d6\u30eb\uff1a\u30cf\u30c3\u30b7\u30e5\u7d50\u5408\u3001\u30cf\u30c3\u30b7\u30e5\u96c6\u7d04\u3001\u30e1\u30e2\u5316\uff08memoize\uff09\u30ce\u30fc\u30c9\u3001<code>IN<\/code> \u526f\u554f\u3044\u5408\u308f\u305b\u306e\u30cf\u30c3\u30b7\u30e5\u51e6\u7406<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u51e6\u7406\u304c <strong><code>work_mem<\/code> \u306e\u4e0a\u9650\u3092\u8d85\u3048\u308b\u30c7\u30fc\u30bf\u91cf<\/strong> \u3092\u6271\u3046\u3068\u3001\u305d\u306e\u51e6\u7406\u5358\u4f4d\u3054\u3068\u306b\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3001\u30e1\u30e2\u30ea\u5185\u3067\u306f\u306a\u304f\u30c7\u30a3\u30b9\u30af\u4e0a\u3067\u30bd\u30fc\u30c8\u3084\u30cf\u30c3\u30b7\u30e5\u304c\u884c\u308f\u308c\u307e\u3059\u3002<br \/>\u3053\u306e\u300c\u30e1\u30e2\u30ea\u304b\u3089\u30c7\u30a3\u30b9\u30af\u306b\u3042\u3075\u308c\u3066\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306b\u9003\u304c\u3059\u300d\u72b6\u614b\u3092\u300cTEMP\u843d\u3061\u300d\u3068\u547c\u3073\u307e\u3059\u3002<br \/>\n\u30c7\u30a3\u30b9\u30af I\/O \u306f\u30e1\u30e2\u30ea\u30a2\u30af\u30bb\u30b9\u306b\u6bd4\u3079\u3066\u306f\u308b\u304b\u306b\u9045\u3044\u305f\u3081\u3001TEMP\u843d\u3061\u304c\u591a\u767a\u3059\u308b\u3068\u3001\u30af\u30a8\u30ea\u5168\u4f53\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u5927\u304d\u304f\u4f4e\u4e0b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u304b\u3089\u306f\u3001\u5c11\u306a\u304f\u3068\u3082 <strong>\u7d04 3.3 MB \u306e\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u305f<\/strong> \u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>1 \u56de\u3042\u305f\u308a\u306e\u30b5\u30a4\u30ba\u3068\u3057\u3066\u306f\u305d\u3053\u307e\u3067\u5927\u304d\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u540c\u69d8\u306e\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30bd\u30fc\u30c8\uff0f\u30cf\u30c3\u30b7\u30e5\u306e\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u308b\u30c7\u30fc\u30bf\u91cf\u304c <code>work_mem<\/code> \u306b\u5bfe\u3057\u3066\u591a\u3059\u304e\u308b\u53ef\u80fd\u6027\u3092\u7591\u3046\u304d\u3063\u304b\u3051\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4 id=\"\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8-2\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u30dd\u30a4\u30f3\u30c8<\/h4>\n<p>TEMP\u843d\u3061\u3092\u6291\u3048\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001<strong><code>work_mem<\/code> \u306e\u4e0a\u9650\u3092\u8abf\u6574\u3059\u308b\u3053\u3068<\/strong>\u3067\u3059\u3002<br \/>\n\u305f\u3060\u3057\u3001<code>work_mem<\/code> \u306e\u5024\u3092\u5927\u304d\u304f\u3057\u3059\u304e\u308b\u3068\u3001OS \u5074\u3067\u5229\u7528\u3067\u304d\u308b\u30e1\u30e2\u30ea\u304c\u6e1b\u308a\u3001\u305d\u306e\u7d50\u679c\u3068\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u9045\u5ef6\u3084\u30e1\u30e2\u30ea\u4e0d\u8db3\uff08OOM\uff09\u306e\u767a\u751f\u306b\u3064\u306a\u304c\u308b\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u4e0a\u9650\u306e\u76ee\u5b89\u3068\u3057\u3066\u306f\u3001<\/p>\n<ul>\n<li>(\u7269\u7406\u30e1\u30e2\u30ea &#8211; shared_buffers\u306e\u5024) \/  max_connections\u306e\u5024<\/li>\n<\/ul>\n<p>\u3067\u7b97\u51fa\u3055\u308c\u305f\u5024\u3067\u3059\u3002<br \/>\n\u307e\u305f <a target=\"_blank\" href=\"https:\/\/pgtune.leopard.in.ua\/\">PGTune<\/a> \u306e\u8a2d\u5b9a\u5024\u3092\u7b97\u51fa\u3057\u3066\u304f\u308c\u308b\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4e0a\u9650\u5024\u306e\u76ee\u5b89\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u306f\u3001\u3053\u308c\u3089\u306e\u7b97\u51fa\u3057\u305f\u4e0a\u9650\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u3001<\/p>\n<ul>\n<li>\u30b0\u30ed\u30fc\u30d0\u30eb\u306a <code>work_mem<\/code> \u3092\u5c11\u3057\u305a\u3064\u4e0a\u3052\u3066\u307f\u308b<\/li>\n<li>\u7279\u5b9a\u306e\u91cd\u3044\u51e6\u7406\u3060\u3051\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u5185\u3067 <code>SET LOCAL work_mem = '64MB';<\/code> \u306e\u3088\u3046\u306b\u4e00\u6642\u7684\u306b\u5897\u3084\u3059<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u904b\u7528\u3067\u8abf\u6574\u3059\u308b\u306e\u304c\u5b89\u5168\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/runtime-config-resource.html#GUC-WORK-MEM\">19.4. \u8cc7\u6e90\u306e\u6d88\u8cbb<\/a><\/p>\n<h2 id=\"work_mem\u3092\u5897\u5f37\u3057\u3066\u307f\u305f\">work_mem\u3092\u5897\u5f37\u3057\u3066\u307f\u305f<\/h2>\n<h3 id=\"Rails\u306b\u3088\u308b\u5b9f\u88c5\"><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/Rails\">Rails<\/a>\u306b\u3088\u308b\u5b9f\u88c5<\/h3>\n<p>\u4eca\u56de\u306f\u30bd\u30fc\u30c8\u51e6\u7406\u3092\u884c\u306a\u3063\u3066\u3044\u305f\u30b9\u30ed\u30fc\u30af\u30a8\u30ea\u304c\u3042\u3063\u305f\u306e\u3067\u3001<code>work_mem<\/code> \u3092\u5897\u52a0\u3055\u305b\u308b\u691c\u8a3c\u3092\u884c\u3044\u307e\u3057\u305f\u3002<br \/>\n<code>work_mem<\/code> \u306e\u5897\u52a0\u65b9\u6cd5\u306f\u3001<strong>\u5bfe\u8c61\u306e\u91cd\u3044\u30af\u30a8\u30ea\u3060\u3051\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u5185\u3067\u306e\u8a2d\u5b9a\u5024\u3092\u4e00\u6642\u7684\u306b\u4e0a\u3052\u308b<\/strong>\u65b9\u91dd\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u521d\u3081\u306b\u73fe\u5728\u306e <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u8a2d\u5b9a\u5024\u3092\u78ba\u8a8d\u3057\u3001<\/p>\n<ul>\n<li>\u30e1\u30e2\u30ea: 16GB\uff0816,384 MiB\uff09<\/li>\n<li>work_mem : 4MB<\/li>\n<li>max_connections\uff1a500<\/li>\n<li>shared_buffers\uff1a5,460 MB\uff085,332 MiB\uff09<\/li>\n<\/ul>\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u5024\u304b\u3089\u3056\u3063\u304f\u308a\u8a31\u5bb9\u3067\u304d\u308b <code>work_mem<\/code> \u306e\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code txt\" data-lang=\"txt\" data-unlink=\"\">(\u7269\u7406\u30e1\u30e2\u30ea - shared_buffers\u306e\u5024) \/  max_connections\u306e\u5024\n\n\uff0816,384 MiB \u2212 5,332 MiB\uff09\/ 500 \u2252 22.1 MiB<\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u30011 \u30bb\u30c3\u30b7\u30e7\u30f3\u3042\u305f\u308a 20MB \u7a0b\u5ea6\u306e\u4e0a\u9650\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u5b9f\u969b\u306b<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/Ruby%20on%20Rails\">Ruby on Rails<\/a> \u3067\u5bfe\u8c61\u306e\u30af\u30a8\u30ea\u3060\u3051<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u5185\u306720MB\u306b\u5897\u52a0\u3055\u305b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\"><span class=\"synType\">ActiveRecord<\/span>::<span class=\"synType\">Base<\/span>.transaction <span class=\"synStatement\">do<\/span>\n  <span class=\"synType\">ActiveRecord<\/span>::<span class=\"synType\">Base<\/span>.connection.execute(<span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">SET LOCAL work_mem = '20MB'<\/span><span class=\"synSpecial\">\"<\/span>)\n  <span class=\"synType\">Model<\/span>.heavy_query\n<span class=\"synStatement\">end<\/span>\n<\/pre>\n<p>\u3053\u306e\u7d50\u679c\u3001\u4e00\u90e8\u306e\u30af\u30a8\u30ea\u3067\u767a\u751f\u3057\u3066\u3044\u305f TEMP\u843d\u3061\u306e\u30ed\u30b0\u304c\u6d88\u3048\u3001\u5168\u4f53\u3067\u6570\u5206\u304b\u304b\u3063\u3066\u3044\u305f\u30af\u30a8\u30ea\u304c \u6570\u5341\u79d2\u524d\u5f8c\u306b\u53ce\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f \ud83c\udf89<\/p>\n<h3 id=\"\u5b9f\u884c\u8a08\u753b\u3067\u898b\u3066\u307f\u308b\">\u5b9f\u884c\u8a08\u753b\u3067\u898b\u3066\u307f\u308b<\/h3>\n<p>\u7c21\u5358\u306a<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/SQL\">SQL<\/a>\u3067\u5b9f\u969b\u306b\u3069\u306e\u3088\u3046\u306a\u5b9f\u884c\u8a08\u753b\u306e\u9055\u3044\u304c\u51fa\u308b\u306e\u304b\u3092\u898b\u3066\u307f\u307e\u3059\u3002<br \/>\u5b9f\u884c\u3059\u308b<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/SQL\">SQL<\/a>\u306f\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-sql\" data-lang=\"sql\" data-unlink=\"\"><span class=\"synStatement\">EXPLAIN<\/span>\n<span class=\"synStatement\">ANALYZE<\/span>\n<span class=\"synStatement\">SELECT<\/span>\n    *\n<span class=\"synSpecial\">FROM<\/span>\n    table_1\n    <span class=\"synSpecial\">JOIN<\/span> table_2 <span class=\"synSpecial\">ON<\/span> table_1.id = table_2.id\n<span class=\"synSpecial\">ORDER<\/span> <span class=\"synSpecial\">BY<\/span>\n    table_1.id\n<\/pre>\n<p>\u307e\u305a\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306e <code>work_mem<\/code> \uff084MB\uff09\u306e\u307e\u307e\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u7d50\u679c\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30d7\u30e9\u30f3\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code txt\" data-lang=\"txt\" data-unlink=\"\">QUERY PLAN\nGather Merge  (cost=31095.13..40212.57 rows=78144 width=745) (actual time=441.110..721.817 rows=70571 loops=1)\n  Workers Planned: 2\n  Workers Launched: 2\n  -&gt;  Sort  (cost=30095.11..30192.79 rows=39072 width=745) (actual time=417.967..433.232 rows=23524 loops=3)\n        Sort Key: table_1.id\n        Sort Method: external merge  Disk: 18776kB \ud83d\udc48\ud83d\udc48 \u6ce8\u76ee\u3059\u3079\u304d\u7b87\u6240 \n        Worker 0:  Sort Method: external merge  Disk: 15096kB \n        Worker 1:  Sort Method: external merge  Disk: 12280kB\n        -&gt;  Parallel Hash Join  (cost=1790.14..14158.12 rows=39072 width=745) (actual time=44.093..279.160 rows=23524 loops=3)\n              Hash Cond: ((table_2.id)::text = (table_1.id)::text)\n              -&gt;  Parallel Seq Scan on table_2  (cost=0.00..12180.64 rows=71364 width=543) (actual time=0.045..154.770 rows=57091 loops=3)\n              -&gt;  Parallel Hash  (cost=1405.06..1405.06 rows=30806 width=202) (actual time=43.465..43.467 rows=17457 loops=3)\n                    Buckets: 65536  Batches: 1  Memory Usage: 9408kB\n                    -&gt;  Parallel Seq Scan on table_1  (cost=0.00..1405.06 rows=30806 width=202) (actual time=0.022..15.490 rows=17457 loops=3)\nPlanning Time: 0.521 ms\nExecution Time: 729.775 ms<\/pre>\n<p>\u6ce8\u76ee\u3059\u3079\u304d\u7b87\u6240\u306f\u3001\u300c<strong>Sort Method: external merge  Disk: 18776kB<\/strong>\u300d \u3067\u3059\u3002<br \/>\n\u3053\u306e\u300cDisk: 18776kB\u300d\u304c\u3001<strong>\u7d04 18MB \u5206\u304c\u30e1\u30e2\u30ea\u304b\u3089\u30c7\u30a3\u30b9\u30af\u306b\u3042\u3075\u308c\u3066\u3044\u308b\uff08= TEMP\u843d\u3061\u3057\u3066\u3044\u308b\uff09<\/strong> \u3053\u3068\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001<code>work_mem<\/code> \u3092\u5897\u52a0\u3055\u305b\u3066\u518d\u5ea6\u5b9f\u884c\u8a08\u753b\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/Rails\">Rails<\/a> \u306e\u5b9f\u88c5\u3068\u540c\u3058\u304f\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%C8%A5%E9%A5%F3%A5%B6%A5%AF%A5%B7%A5%E7%A5%F3\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a>\u5185\u3067\u4e00\u6642\u7684\u306b <code>work_mem<\/code> \u3092\u4e0a\u3052\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-sql\" data-lang=\"sql\" data-unlink=\"\"><span class=\"synSpecial\">BEGIN<\/span>;\n<span class=\"synStatement\">SET<\/span> LOCAL work_mem = <span class=\"synSpecial\">'<\/span><span class=\"synConstant\">20MB<\/span><span class=\"synSpecial\">'<\/span>;\n\n<span class=\"synStatement\">EXPLAIN<\/span>\n<span class=\"synStatement\">ANALYZE<\/span>\n<span class=\"synStatement\">SELECT<\/span>\n    *\n<span class=\"synSpecial\">FROM<\/span>\n    table_1\n    <span class=\"synSpecial\">JOIN<\/span> table_2 <span class=\"synSpecial\">ON<\/span> table_1.id = table_2.id\n<span class=\"synSpecial\">ORDER<\/span> <span class=\"synSpecial\">BY<\/span>\n    table_1.id\n\n<span class=\"synStatement\">COMMIT<\/span>;\n<\/pre>\n<p>\u7d50\u679c\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30d7\u30e9\u30f3\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code txt\" data-lang=\"txt\" data-unlink=\"\">QUERY PLAN\nGather Merge  (cost=31095.13..40212.57 rows=78144 width=745) (actual time=410.376..494.698 rows=70571 loops=1)\n  Workers Planned: 2\n  Workers Launched: 2\n  -&gt;  Sort  (cost=30095.11..30192.79 rows=39072 width=745) (actual time=388.172..398.945 rows=23524 loops=3)\n        Sort Key: table_1.id\n        Sort Method: quicksort  Memory: 17883kB \ud83d\udc48\ud83d\udc48 \u6ce8\u76ee\u3059\u3079\u304d\u7b87\u6240 \n        Worker 0:  Sort Method: quicksort  Memory: 13548kB\n        Worker 1:  Sort Method: quicksort  Memory: 17818kB\n        -&gt;  Parallel Hash Join  (cost=1790.14..14158.12 rows=39072 width=745) (actual time=47.379..289.016 rows=23524 loops=3)\n              Hash Cond: ((table_2.id)::text = (table_1.id)::text)\n              -&gt;  Parallel Seq Scan on table_2  (cost=0.00..12180.64 rows=71364 width=543) (actual time=0.316..140.737 rows=57091 loops=3)\n              -&gt;  Parallel Hash  (cost=1405.06..1405.06 rows=30806 width=202) (actual time=46.256..46.258 rows=17457 loops=3)\n                    Buckets: 65536  Batches: 1  Memory Usage: 9408kB\n                    -&gt;  Parallel Seq Scan on table_1  (cost=0.00..1405.06 rows=30806 width=202) (actual time=0.032..15.850 rows=17457 loops=3)\nPlanning Time: 0.487 ms\nExecution Time: 498.724 ms<\/pre>\n<p>\u4eca\u5ea6\u306f <strong>\u300cSort Method: quicksort Memory: 17883kB\u300d<\/strong> \u3068\u306a\u3063\u3066\u304a\u308a\u3001<strong>\u30bd\u30fc\u30c8\u51e6\u7406\u304c\u30c7\u30a3\u30b9\u30af\u3067\u306f\u306a\u304f\u30e1\u30e2\u30ea\u4e0a\u3060\u3051\u3067\u5b8c\u7d50\u3057\u3066\u3044\u308b<\/strong>\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093 <code>work_mem<\/code> \u3092\u7121\u95c7\u306b\u4e0a\u3052\u308b\u3068\u3001\u300c3. TEMP\u843d\u3061\u306e\u30ed\u30b0 \ud83d\udca3\u300d\u306e\u7ae0\u3067\u8a18\u8f09\u3057\u305f\u3068\u304a\u308a\u3001<\/p>\n<blockquote>\n<p>OS \u5074\u3067\u5229\u7528\u3067\u304d\u308b\u30e1\u30e2\u30ea\u304c\u6e1b\u308a\u3001\u305d\u306e\u7d50\u679c\u3068\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u9045\u5ef6\u3084\u30e1\u30e2\u30ea\u4e0d\u8db3\uff08OOM\uff09\u306e\u767a\u751f\u306b\u3064\u306a\u304c\u308b\u30ea\u30b9\u30af<\/p>\n<\/blockquote>\n<p>\u304c\u3042\u308b\u306e\u3067\u3001<\/p>\n<ol>\n<li>\u307e\u305a\u306f\u30af\u30a8\u30ea\u81ea\u4f53\u306e\u898b\u76f4\u3057\uff08\u4e0d\u8981\u306a\u30bd\u30fc\u30c8\u30fb\u5de8\u5927\u306a <code>IN<\/code>\u30fb\u8907\u96d1\u306aJOIN \u306a\u3069\uff09<\/li>\n<li>\u305d\u308c\u3067\u3082\u53b3\u3057\u3044\u3068\u3053\u308d\u306b\u3060\u3051\u3001<code>SET LOCAL work_mem<\/code> \u3092\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u9069\u7528<\/li>\n<\/ol>\n<p>\u3068\u3044\u3063\u305f\u9806\u756a\u3067\u691c\u8a0e\u3059\u308b\u306e\u304c\u5b89\u5168\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"\u307e\u3068\u3081\">\u307e\u3068\u3081<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n<ul>\n<li><strong>\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u51e6\u7406\u306e\u30ed\u30b0<\/strong><\/li>\n<li><strong>\u81ea\u52d5\u30d0\u30ad\u30e5\u30fc\u30e0\u51e6\u7406\u306e\u30ed\u30b0<\/strong><\/li>\n<li><strong>TEMP\u843d\u3061\u306e\u30ed\u30b0<\/strong><\/li>\n<\/ul>\n<p>\u306e3\u3064\u306e\u30ed\u30b0\u3092\u5165\u308a\u53e3\u306b\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%A2%A1%BC%A5%AD%A5%C6%A5%AF%A5%C1%A5%E3\">\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/a>\u306e\u57fa\u672c\u3092\u6574\u7406\u3057\u3066\u898b\u307e\u3057\u305f\u3002<br \/><a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306b\u306f\u4ed6\u306b\u3082\u305f\u304f\u3055\u3093\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3042\u308a\u3001<strong>\u4ed6\u306e <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/RDB\">RDB<\/a>\u88fd\u54c1\uff08<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/MySQL\">MySQL<\/a> \/ <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/SQL%20Server\">SQL Server<\/a> \/ <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/Oracle\">Oracle<\/a> \u306a\u3069\uff09\u3068\u6bd4\u8f03\u3057\u306a\u304c\u3089\u8aad\u3080\u3068\u3001\u8a2d\u8a08\u601d\u60f3\u306e\u9055\u3044\u304c\u898b\u3048\u3066\u304d\u3066\u9762\u767d\u3044<\/strong>\u3067\u3059\u3002<\/p>\n<p>\u6765\u5e74\u306e TechCon \u3067\u306f\u3001\u3055\u3089\u306b <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/PostgreSQL\">PostgreSQL<\/a> \u306e\u5185\u90e8\u69cb\u9020\u3092\u6df1\u6398\u308a\u3001\u7406\u89e3\u3057\u3066\u3044\u308b\u304b\u3089\u3053\u305d\u308f\u304b\u308b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u4e8b\u4f8b\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059 \ud83d\udd25<\/p>\n<h2 id=\"\u53c2\u8003\">\u53c2\u8003<\/h2>\n<p><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/runtime-config-resource.html#GUC-WORK-MEM\">19.4. \u8cc7\u6e90\u306e\u6d88\u8cbb<\/a><br \/><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/routine-vacuuming.html#AUTOVACUUM\">24.1. \u5b9a\u5e38\u7684\u306a\u30d0\u30ad\u30e5\u30fc\u30e0\u4f5c\u696d<\/a><br \/><a target=\"_blank\" href=\"https:\/\/www.postgresql.jp\/document\/17\/html\/wal-configuration.html\">28.5. WAL\u306e\u8a2d\u5b9a<\/a><br \/><a target=\"_blank\" href=\"https:\/\/www.fujitsu.com\/jp\/products\/software\/resources\/feature-stories\/postgres\/article-index\/architecture-overview\/\">PostgreSQL\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\u6982\u8981\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a<\/a>  <br \/><a target=\"_blank\" href=\"https:\/\/www.fujitsu.com\/jp\/products\/software\/resources\/feature-stories\/postgres\/article-index\/tuningrule9-write\/\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b09\u3064\u306e\u6280 \uff5e\u300c\u66f8\u304d\u300d\u306b\u3064\u3044\u3066\uff5e\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a<\/a><br \/><a target=\"_blank\" href=\"https:\/\/www.fujitsu.com\/jp\/products\/software\/resources\/feature-stories\/postgres\/article-index\/tuningrule9-base\/\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c1\u30e5\u30fc\u30cb\u30f3\u30b09\u3064\u306e\u6280 \uff5e\u300c\u57fa\u76e4\u300d\u306b\u3064\u3044\u3066\uff5e\uff5cPostgreSQL\u30a4\u30f3\u30b5\u30a4\u30c9 : \u5bcc\u58eb\u901a<\/a><br \/><a target=\"_blank\" href=\"https:\/\/amzn.asia\/d\/cHr7oSX\">\uff3b\u6539\u8a023\u7248\uff3d\u5185\u90e8\u69cb\u9020\u304b\u3089\u5b66\u3076PostgreSQL\u2015\u8a2d\u8a08\u30fb\u904b\u7528\u8a08\u753b\u306e\u9244\u5247 (Software Design plus) | \u4e0a\u539f \u4e00\u6a39, \u52dd\u4fe3 \u667a\u6210, \u4f50\u4f2f \u660c\u6a39, \u539f\u7530 \u767b\u5fd7 |\u672c | \u901a\u8ca9 | Amazon<\/a><\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&appId=719729204785177&version=v17.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3093\u306b\u3061\u306f\u3001Plex Job \u958b\u767a\u30c1\u30fc\u30e0\u306e\u9ad8\u5ca1\u3067\u3059\u3002 \u5148\u65e5 PLEX TechCon 2025 \u304c\u958b\u50ac\u3055\u308c\u307e\u3057\u305f\u3002\u60dc\u3057\u304f\u3082\u767b\u58c7\u6a5f\u4f1a\u3092\u5f97\u3089\u308c\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u672c\u8a18\u4e8b\u306b\u3066\u767a\u8868\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u5185\u5bb9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u6765\u5e74\u3053\u305d\u306f\u767b\u58c7\u3092 [&hellip;]","protected":false},"author":1,"featured_media":25535,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-25534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3<\/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:\/\/product.plex.co.jp\/entry\/postgresql-architecture\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001Plex Job \u958b\u767a\u30c1\u30fc\u30e0\u306e\u9ad8\u5ca1\u3067\u3059\u3002 \u5148\u65e5 PLEX TechCon 2025 \u304c\u958b\u50ac\u3055\u308c\u307e\u3057\u305f\u3002\u60dc\u3057\u304f\u3082\u767b\u58c7\u6a5f\u4f1a\u3092\u5f97\u3089\u308c\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u672c\u8a18\u4e8b\u306b\u3066\u767a\u8868\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u5185\u5bb9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u6765\u5e74\u3053\u305d\u306f\u767b\u58c7\u3092 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-28T04:04:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1300\" \/>\n\t<meta property=\"og:image:height\" content=\"686\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/25534\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c &#8211; PLEX Product Team Blog\",\"datePublished\":\"2025-11-28T04:04:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/25534\\\/\"},\"wordCount\":187,\"image\":{\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/25534\\\/\",\"url\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture\",\"name\":\"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png\",\"datePublished\":\"2025-11-28T04:04:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png\",\"width\":1300,\"height\":686},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/product.plex.co.jp\\\/entry\\\/postgresql-architecture#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c &#8211; PLEX Product Team Blog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3","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:\/\/product.plex.co.jp\/entry\/postgresql-architecture","og_locale":"ja_JP","og_type":"article","og_title":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3","og_description":"\u3053\u3093\u306b\u3061\u306f\u3001Plex Job \u958b\u767a\u30c1\u30fc\u30e0\u306e\u9ad8\u5ca1\u3067\u3059\u3002 \u5148\u65e5 PLEX TechCon 2025 \u304c\u958b\u50ac\u3055\u308c\u307e\u3057\u305f\u3002\u60dc\u3057\u304f\u3082\u767b\u58c7\u6a5f\u4f1a\u3092\u5f97\u3089\u308c\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u672c\u8a18\u4e8b\u306b\u3066\u767a\u8868\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u5185\u5bb9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u6765\u5e74\u3053\u305d\u306f\u767b\u58c7\u3092 [&hellip;]","og_url":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-11-28T04:04:04+00:00","og_image":[{"width":1300,"height":686,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/25534\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c &#8211; PLEX Product Team Blog","datePublished":"2025-11-28T04:04:04+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/25534\/"},"wordCount":187,"image":{"@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/25534\/","url":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture","name":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c - PLEX Product Team Blog - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#primaryimage"},"image":{"@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png","datePublished":"2025-11-28T04:04:04+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/product.plex.co.jp\/entry\/postgresql-architecture"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/https3A2F2Fcdn.user_.blog_.st-hatena.com2Fdefault_entry_og_image2F1584309142F168206942761190.png","width":1300,"height":686},{"@type":"BreadcrumbList","@id":"https:\/\/product.plex.co.jp\/entry\/postgresql-architecture#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u300c\u30ed\u30b0\u300d\u304b\u3089\u5b66\u3093\u3060 PostgreSQL \u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u57fa\u672c &#8211; PLEX Product Team Blog"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/25534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=25534"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/25534\/revisions"}],"predecessor-version":[{"id":25536,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/25534\/revisions\/25536"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/25535"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=25534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=25534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=25534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}