{"id":257,"date":"2022-03-23T23:06:23","date_gmt":"2022-03-23T14:06:23","guid":{"rendered":"https:\/\/kashiiblog.com\/?p=257"},"modified":"2022-03-24T00:24:56","modified_gmt":"2022-03-23T15:24:56","slug":"%e3%80%90oss-db-exam-silver%e3%80%915-%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/kashiiblog.com\/?p=257","title":{"rendered":"5.\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3010OSS DB exam Silver\u3011"},"content":{"rendered":"<p>\u73fe\u5728OSS-DB Silver Ver.2\u3092\u52c9\u5f37\u4e2d\u306e\u30b5\u30a4\u30c8\u4e3b\u3067\u3059\u3002<\/p>\n<p>OSS DB Silver\u3092\u672c\u3067\u52c9\u5f37\u3057\u3066\u3044\u3066\u3082\u56f3\u306b\u3057\u306a\u3044\u3068\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u8868\u306b\u3057\u305f\u307b\u3046\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u81ea\u5206\u304c\u899a\u3048\u306b\u304f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u3001\u6df7\u540c\u3057\u3084\u3059\u3044\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002\u66f8\u3044\u3066\u3042\u308b\u3053\u3068\u306f\u5e38\u8b58\u306a\u3053\u3068\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u79c1\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u52c9\u5f37\u6cd5\u306a\u3069\u306f\u4e0b\u8a18\u306b\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kashiiblog.com\/?p=239\">OSS DB Silver\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u3084\u3063\u305f\u3053\u3068<\/a><\/p>\n<h2>OSS DB exam Silver\u306e\u52c9\u5f37\u5185\u5bb9<\/h2>\n<ol>\n<li><span style=\"font-weight: 400;\"><a href=\"https:\/\/kashiiblog.com\/?p=247\">\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e00\u822c\u7684\u7279\u5fb4<\/a><\/span><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=249\"><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u57fa\u790e\u77e5\u8b58<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=252\"><span style=\"font-weight: 400;\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=254\"><span style=\"font-weight: 400;\">\u6a19\u6e96\u4ed8\u5c5e\u30c4\u30fc\u30eb<\/span><\/a><\/li>\n<li><span style=\"font-weight: 400;\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<strong>\u21e6\u4eca\u65e5\u306f\u3053\u308c\uff01<\/strong><\/span><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=259\"><span style=\"font-weight: 400;\">\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u30ea\u30b9\u30c8\u30a2<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=261\"><span style=\"font-weight: 400;\">\u57fa\u672c\u7684\u306a\u904b\u7528\u7ba1\u7406<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=263\"><span style=\"font-weight: 400;\">SQL\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=265\"><span style=\"font-weight: 400;\">\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3068\u6f14\u7b97\u5b50<\/span><\/a><\/li>\n<li><a href=\"https:\/\/kashiiblog.com\/?p=267\"><span style=\"font-weight: 400;\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/span><\/a><\/li>\n<\/ol>\n<h2><span style=\"font-weight: 400;\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/span><\/h2>\n<h3><span style=\"font-weight: 400;\">\u3010Part4\u3011OSS DB Exam Silver \u6280\u8853\u89e3\u8aac\u30bb\u30df\u30ca\u30fc \uff5e PostgreSQL \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08postgresql.conf\uff09\u3001Q&amp;A \uff5e<\/span><\/h3>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/QR0d0JTRwAk\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4><b>\u300cpostgresql.conf\u300d\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/b><\/h4>\n<ul>\n<li><span style=\"font-weight: 400;\">\u30d1\u30e9\u30e1\u30fc\u30bf\u306f1\u884c\u306b1\u3064\u305a\u3064<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306e\u533a\u5225\u306f\u306a\u3044<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u30d1\u30e9\u30e1\u30fc\u30bf\u540d\u306e\u5f8c\u306e\u3001\u30a4\u30b3\u30fc\u30eb(=)\u306f\u7701\u7565\u53ef<\/span><\/li>\n<li><span style=\"font-weight: 400;\">#\u304b\u3089\u884c\u672b\u307e\u3067\u306f\u30b3\u30e1\u30f3\u30c8\u3092\u610f\u5473\u3059\u308b(#\u306f\u3069\u3053\u304b\u3089\u59cb\u307e\u3063\u3066\u3082\u3088\u3044)<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u306f\u3001boolean\u578b\u3001\u6574\u6570\u578b\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u3001\u6587\u5b57\u5217\u306e4\u3064\u3067\u3042\u308b<\/span><\/li>\n<li><span style=\"font-weight: 400;\">boolean\u5024\u306fon, off, true, false, yes, no, 1, 0\u3067\u3042\u308b<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u6709\u52b9\u306a\u30e1\u30e2\u30ea\u306e\u5358\u4f4d\u306fkB(\u30ad\u30ed\u30d0\u30a4\u30c8), MB(\u30e1\u30ac\u30d0\u30a4\u30c8), GB(\u30ae\u30ac\u30d0\u30a4\u30c8), TB(\u30c6\u30e9\u30d0\u30a4\u30c8)\u3067\u3001\u30e1\u30e2\u30ea\u5358\u4f4d\u306e\u4e57\u6570\u306f1024\u3067\u3042\u308b<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u6642\u9593\u306e\u8a2d\u5b9a\u5024\u306b\u3064\u3044\u3066\u306f\u3001ms(\u30df\u30ea\u79d2), s(\u79d2), min(\u5206), h(\u6642\u9593), d(\u65e5)\u306e\u5358\u4f4d\u3092\u8a2d\u5b9a\u3067\u304d\u308b<\/span><\/li>\n<\/ul>\n<h4><b>\u25a0postgresql.conf<\/b><\/h4>\n<ul>\n<li><span style=\"font-weight: 400;\">logging_collector \u2026 \u6a19\u6e96\u30a8\u30e9\u30fc\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u304b\u3069\u3046\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"font-weight: 400;\">log_connections \u2026 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u306e\u6210\u529f\u7d42\u4e86\u3084\u30b5\u30fc\u30d0\u3078\u306e\u63a5\u7d9a\u8a66\u884c\u306a\u3069\u306e\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u60c5\u5831\u3092\u30b5\u30fc\u30d0\u30ed\u30b0\u306b\u51fa\u529b\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"font-weight: 400;\">log_min_messages \u2026 \u30b5\u30fc\u30d0\u30ed\u30b0\u306b\u66f8\u304d\u8fbc\u3080\u30ed\u30b0\u306e\u30ec\u30d9\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"font-weight: 400;\">log_line_prefix \u2026 \u30b5\u30fc\u30d0\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u884c\u982d\u306b\u3001\u30e6\u30fc\u30b6\u540d\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3001\u65e5\u4ed8\u306a\u3069\u306e\u66f8\u5f0f\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<h4><b>\u25a0pg_hba.conf<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u5185\u306e\u3001\u300cpg_hba.conf\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002hba\u3068\u306f\u3001host-based authentication: \u30db\u30b9\u30c8\u30d9\u30fc\u30b9\u8a8d\u8a3c\u306e\u7565\u3067\u3059\u3002<\/span><span style=\"font-weight: 400;\">\u300cpg_hba.conf\u300d\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u5909\u66f4\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u518d\u8aad\u307f\u8fbc\u307f(pg_ctl reload)\u306e\u5b9f\u884c\u306b\u3088\u3063\u3066\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u66f8\u5f0f\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">local \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d \u30e6\u30fc\u30b6\u540d \u8a8d\u8a3c\u65b9\u5f0f<\/span><\/li>\n<li><span style=\"font-weight: 400;\">host \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d \u30e6\u30fc\u30b6\u540d IP\u30a2\u30c9\u30ec\u30b9 \u30b5\u30d6\u30cd\u30c3\u30c8\u30de\u30b9\u30af \u8a8d\u8a3c\u65b9\u5f0f<\/span><\/li>\n<li><span style=\"font-weight: 400;\">host \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d \u30e6\u30fc\u30b6\u540d CIDR\u30a2\u30c9\u30ec\u30b9 \u8a8d\u8a3c\u65b9\u5f0f<\/span><\/li>\n<\/ul>\n<p><b>\u300cpostgresql.conf\u300d\u30d5\u30a1\u30a4\u30eb<\/b><span style=\"font-weight: 400;\">\u306b\u306f\u3001\u30ed\u30b0\u51fa\u529b\u306b\u95a2\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u591a\u6570\u3042\u308a\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\">log_min_messages\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3001\u30b5\u30fc\u30d0\u30ed\u30b0\u306b\u66f8\u304d\u8fbc\u3080\u30ed\u30b0\u306e\u30ec\u30d9\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8a2d\u5b9a\u3067\u304d\u308b\u30ed\u30b0\u30ec\u30d9\u30eb\u306f\u4e0b\u8a18\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">\u3000INFO\u2026\u30e6\u30fc\u30b6\u304b\u3089\u51fa\u529b\u3092\u8981\u6c42\u3055\u308c\u305f\u60c5\u5831<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000NOTICE\u2026\u30e6\u30fc\u30b6\u306b\u3068\u3063\u3066\u5f79\u7acb\u3064\u60c5\u5831<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000WARNING\u2026\u4e0d\u9069\u5207\u306a\u30b3\u30de\u30f3\u30c9\u4f7f\u7528\u7b49\u306b\u5bfe\u3059\u308b\u30e6\u30fc\u30b6\u3078\u306e\u8b66\u544a<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000ERROR\u2026\u7279\u5b9a\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4e2d\u65ad\u3055\u305b\u305f\u30a8\u30e9\u30fc<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000LOG\u2026\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u8005\u306b\u3068\u3063\u3066\u5f79\u7acb\u3064\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3084\u5185\u90e8\u306e\u51e6\u7406\u306b\u95a2\u3059\u308b\u60c5\u5831<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000FATAL\u2026\u7279\u5b9a\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4e2d\u65ad\u3055\u305b\u305f\u30a8\u30e9\u30fc<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u3000PANIC\u2026\u5168\u3066\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4e2d\u65ad\u3055\u305b\u305f\u81f4\u547d\u7684\u306a\u30a8\u30e9\u30fc<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">\u3010Part5\u3011OSS DB Exam Silver \u6280\u8853\u89e3\u8aac\u30bb\u30df\u30ca\u30fc \uff5e PostgreSQL \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08pg_hba.conf\uff09\u3001VACUUM\/ANALYZE \uff5e<\/span><\/h3>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/FKRXpuYJtPc\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4>VACUUM\u30fbANALYZE\u95a2\u9023<\/h4>\n<p><strong>VACUUM\u3068VACUUM FULL<\/strong><br \/>\nVACUUM\u306b\u306f\u901a\u5e38\u306eVACUUM\u3068\u3001VACUUM FULL\u306e2\u3064\u304c\u3042\u308b\u3002<\/p>\n<ul>\n<li>VACUUM\uff1a\u30b5\u30a4\u30ba\u306f\u5909\u308f\u3089\u306a\u3044\u3001\u51e6\u7406\u306f\u65e9\u3044\u3002\u6392\u4ed6\u7684\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3057\u306a\u3044\u3002<\/li>\n<li>VACUUM FULL\uff1a\u304d\u308c\u3044\u306b\u3057\u305f\u9818\u57df\u3092OS\u306b\u8fd4\u3059\u304c\u51e6\u7406\u306f\u9045\u304f\u306a\u308b\u3002\u6392\u4ed6\u7684\u30ed\u30c3\u30af\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002<\/li>\n<\/ul>\n<h2>\u6240\u611f<\/h2>\n<p>VACUUM\u3068ANALYZE\u3001autovacuum\u306a\u3069\u7a2e\u985e\u304c\u591a\u6570\u5b58\u5728\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u77e5\u3089\u306a\u304b\u3063\u305f\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u554f\u984c\u3067\u521d\u3081\u3066\u76ee\u306b\u3059\u308b\u306a\u3069\u304c\u591a\u3044\u90e8\u5206\u3067\u3057\u305f\u3002\u30c6\u30b9\u30c8\u3067\u3082\u983b\u51fa\u3055\u308c\u308b\u306e\u3067\u6ce8\u610f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728OSS-DB Silver Ver.2\u3092\u52c9\u5f37\u4e2d\u306e\u30b5\u30a4\u30c8\u4e3b\u3067\u3059\u3002 OSS DB Silver\u3092\u672c\u3067\u52c9\u5f37\u3057\u3066\u3044\u3066\u3082\u56f3\u306b\u3057\u306a\u3044\u3068\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u8868\u306b\u3057\u305f\u307b\u3046\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u81ea\u5206\u304c\u899a\u3048\u306b\u304f\u3044\u3068\u601d\u3063\u305f&#8230;<\/p>\n","protected":false},"author":1,"featured_media":244,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[],"class_list":{"0":"post-257","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-oss-db-silver-ver-2","8":"article cf"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=257"}],"version-history":[{"count":6,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/posts\/257\/revisions\/306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=\/wp\/v2\/media\/244"}],"wp:attachment":[{"href":"https:\/\/kashiiblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kashiiblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}