{"id":1523,"date":"2021-06-19T23:47:29","date_gmt":"2021-06-19T14:47:29","guid":{"rendered":"https:\/\/www.kwonline.org\/memo2\/?p=1523"},"modified":"2021-06-19T23:47:29","modified_gmt":"2021-06-19T14:47:29","slug":"the-data-warehouse-toolkit-%e3%82%92%e8%aa%ad%e3%82%80-4-procurement","status":"publish","type":"post","link":"https:\/\/www.kwonline.org\/memo2\/2021\/06\/19\/the-data-warehouse-toolkit-%e3%82%92%e8%aa%ad%e3%82%80-4-procurement\/","title":{"rendered":"The Data Warehouse Toolkit \u3092\u8aad\u3080 #4: Procurement"},"content":{"rendered":"<p>&nbsp;<br \/>\n\u524d\u56de\u304b\u3089\u306e\u7d9a\u304d\u3092\u30e1\u30e2<\/p>\n<p>\u524d\u56de\u306e\u8a18\u4e8b:<br \/>\n<a href=\"https:\/\/www.kwonline.org\/memo2\/2021\/06\/06\/the-data-warehouse-toolkit-inventory\/\" rel=\"noopener\" target=\"_blank\">The Data Warehouse Toolkit \u3092\u8aad\u3080 #3: Inventory<\/a><\/p>\n<p>\u8abf\u9054\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30ca\u30eb\u30fb\u30e2\u30c7\u30eb\u306e\u69cb\u7bc9\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>Bus Matrix<\/h2>\n<p>\u8abf\u9054\u30d7\u30ed\u30bb\u30b9\u3092\u30e2\u30c7\u30ea\u30f3\u30b0\u3059\u308b\u306a\u3089\u3070\u3001\u3053\u306e\u3088\u3046\u306a Bus Matrix \u304c\u8003\u3048\u3089\u308c\u308b\u3002<br \/>\n\u5206\u304b\u308a\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u884c (row) \u306e\u5b9a\u7fa9\u3068\u6307\u6a19 (metrics) \u3082\u66f8\u3044\u3066\u3042\u308b\u3002<\/p>\n<div id=\"attachment_1525\" style=\"width: 798px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1525\" src=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_bus.png\" alt=\"\" width=\"788\" height=\"273\" class=\"size-full wp-image-1525\" srcset=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_bus.png 788w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_bus-300x104.png 300w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_bus-768x266.png 768w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_bus-624x216.png 624w\" sizes=\"auto, (max-width: 788px) 100vw, 788px\" \/><p id=\"caption-attachment-1525\" class=\"wp-caption-text\">\u8abf\u9054\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b Bus Matrix \u306e\u4f8b<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Fact Table<\/h2>\n<p>\u305d\u3057\u3066\u3053\u306e Bus Matrix \u304b\u3089\u30d5\u30a1\u30af\u30c8\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u308b\u3068\u3053\u3046\u306a\u308b\u3002<\/p>\n<div id=\"attachment_1528\" style=\"width: 705px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1528\" src=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_fact.png\" alt=\"\" width=\"695\" height=\"1123\" class=\"size-full wp-image-1528\" srcset=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_fact.png 695w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_fact-186x300.png 186w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_fact-634x1024.png 634w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_fact-624x1008.png 624w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><p id=\"caption-attachment-1528\" class=\"wp-caption-text\">Procurement process fact tables \u306e\u4f8b<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Slowly Changing Dimension (SCD)<\/h2>\n<p>\u3055\u3066\u4eca\u56de\u306e\u672c\u984c\u306f SCD \u306e\u57fa\u672c\u306b\u3064\u3044\u3066\u3002<br \/>\nDimension \u306e\u66f4\u65b0\u3092\u3069\u3046\u3059\u308b\u304b\u3068\u3044\u3046\u8a71\u3002<\/p>\n<p>\u57fa\u672c\u5f62\u306f2\u3064\u3002\u4e0a\u66f8\u304d\u578b\u306e Type1 \u304b\u3001\u8ffd\u8a18\u578b\u306e Type2 \u306b\u5206\u304b\u308c\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>SCD Type 1<\/h3>\n<p>Dimension \u306b\u5909\u66f4\u304c\u3042\u3063\u305f\u5834\u5408\u306b\u5024\u3092\u4e0a\u66f8\u304d\u66f4\u65b0\u3059\u308b\u306e\u304c SCD Type1.<br \/>\n\u3064\u307e\u308a\u3053\u3046\u3044\u3046\u4e8b\u3002<\/p>\n<div id=\"attachment_1530\" style=\"width: 431px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1530\" src=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd1.png\" alt=\"\" width=\"421\" height=\"198\" class=\"size-full wp-image-1530\" srcset=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd1.png 421w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd1-300x141.png 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><p id=\"caption-attachment-1530\" class=\"wp-caption-text\">SCD type 1<\/p><\/div>\n<p>\u88fd\u54c1\u30ab\u30c6\u30b4\u30ea\u304c\u5909\u308f\u3063\u305f\u306e\u3067\u305d\u306e\u307e\u307e\u4e0a\u66f8\u304d\u3002<br \/>\n\u3053\u308c\u3060\u3068\u904e\u53bb\u306e\u5206\u6790\u306b\u554f\u984c\u3042\u308a\u307e\u3059\u308f\u306a\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>SCD Type 2<\/h3>\n<p>Dimension \u306b\u5909\u66f4\u304c\u3042\u3063\u305f\u5834\u5408\u306b\u65b0\u305f\u306a\u884c\u3092\u8ffd\u8a18\u3059\u308b\u306e\u304c SCD Type2.<br \/>\n\u3064\u307e\u308a\u3053\u3046\u3044\u3046\u4e8b\u3002<\/p>\n<div id=\"attachment_1531\" style=\"width: 733px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1531\" src=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd2.png\" alt=\"\" width=\"723\" height=\"206\" class=\"size-full wp-image-1531\" srcset=\"https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd2.png 723w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd2-300x85.png 300w, https:\/\/www.kwonline.org\/memo2\/wp-content\/uploads\/2021\/06\/procure_scd2-624x178.png 624w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><p id=\"caption-attachment-1531\" class=\"wp-caption-text\">SCD type 2<\/p><\/div>\n<p>\u958b\u59cb\u65e5\u30fb\u7d42\u4e86\u65e5\u30fb\u73fe\u5728\u30d5\u30e9\u30b0 \u3053\u306e3\u500b\u306e\u30ab\u30e9\u30e0\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044\u60c5\u5831\u3092\u8ffd\u8a18\u3057\u3066\u3044\u304f\u3002<br \/>\nPK \u306b\u306f\u65b0\u3057\u3044\u30b5\u30ed\u30b2\u30fc\u30c8\u30ad\u30fc\u3092\u5272\u308a\u5f53\u3066\u308b\u3002<br \/>\n\u3053\u308c\u306a\u3089\u904e\u53bb\u306e\u30c7\u30fc\u30bf\u304c\u5909\u308f\u3089\u306a\u304f\u3066\u826f\u3044\u3002<\/p>\n<p>\u4ed6\u306b\u5fdc\u7528\u7cfb\u3067 Type7 \u307e\u3067\u3042\u308b\u3051\u3069\u4f7f\u3046\u3053\u3068\u306f\u306a\u3044\u304b\u3089\u30b9\u30eb\u30fc<\/p>\n<p>\u4eca\u56de\u306f\u3053\u3053\u307e\u3067\u3002<\/p>\n<p>\u3064\u3065\u304f\u3002<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u524d\u56de\u304b\u3089\u306e\u7d9a\u304d\u3092\u30e1\u30e2 \u524d\u56de\u306e\u8a18\u4e8b: The Data Warehouse Toolkit \u3092\u8aad\u3080 #3: Inventory \u8abf\u9054\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30ca\u30eb\u30fb\u30e2\u30c7\u30eb\u306e\u69cb\u7bc9\u3002 &nbsp; Bus Ma [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-1523","post","type-post","status-publish","format-standard","hentry","category-data-engineering"],"_links":{"self":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/comments?post=1523"}],"version-history":[{"count":6,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1523\/revisions"}],"predecessor-version":[{"id":1533,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1523\/revisions\/1533"}],"wp:attachment":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/media?parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/categories?post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/tags?post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}