{"id":1755,"date":"2026-03-25T15:48:36","date_gmt":"2026-03-25T15:48:36","guid":{"rendered":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/"},"modified":"2026-03-25T15:48:36","modified_gmt":"2026-03-25T15:48:36","slug":"adding-time-to-your-erd-techniques-for-temporal-data-modeling","status":"publish","type":"post","link":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/","title":{"rendered":"\u70ba\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u589e\u6dfb\u6642\u9593\uff1a\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u6280\u8853"},"content":{"rendered":"<p>\u8a2d\u8a08\u7a69\u5065\u7684\u8cc7\u6599\u6a21\u578b\uff0c\u4e0d\u50c5\u50c5\u9700\u8981\u6620\u5c04\u5be6\u9ad4\u8207\u95dc\u4fc2\u3002\u66f4\u9700\u8981\u7406\u89e3\u8cc7\u6599\u5982\u4f55\u96a8\u6642\u9593\u6f14\u8b8a\u3002\u5728\u50b3\u7d71\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\uff08ERD\uff09\u4e2d\uff0c\u6211\u5011\u901a\u5e38\u53ea\u6355\u6349\u67d0\u7b46\u8a18\u9304\u5728\u55ae\u4e00\u6642\u523b\u7684\u72c0\u614b\u3002\u6211\u5011\u5132\u5b58\u85aa\u8cc7\u7684\u7576\u524d\u503c\u3001\u4f7f\u7528\u8005\u7684\u6d3b\u8e8d\u72c0\u614b\uff0c\u6216\u7522\u54c1\u7684\u6700\u65b0\u50f9\u683c\u3002\u7136\u800c\uff0c\u5546\u696d\u667a\u6167\u8207\u6cd5\u898f\u5408\u898f\u6027\u7d93\u5e38\u9700\u8981\u77e5\u9053\u7684\u4e0d\u53ea\u662f\u73fe\u5728\u70ba\u771f\u7684\u8cc7\u8a0a\uff0c\u9084\u5305\u62ec\u904e\u53bb\u66fe\u7d93\u70ba\u771f\u7684\u72c0\u614b\u3002<\/p>\n<p>\u9019\u6b63\u662f\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u4ecb\u5165\u4e4b\u8655\u3002\u5b83\u5c07\u975c\u614b\u7684\u8cc7\u6599\u7d50\u69cb\u8f49\u5316\u70ba\u52d5\u614b\u7684\u6b77\u53f2\u8ffd\u8e64\u5668\u3002\u900f\u904e\u76f4\u63a5\u5c07\u6642\u9593\u7dad\u5ea6\u6574\u5408\u81f3\u60a8\u7684ERD\u4e2d\uff0c\u53ef\u78ba\u4fdd\u6bcf\u4e00\u9805\u8b8a\u66f4\u90fd\u53d7\u5230\u8a18\u9304\u3001\u53ef\u7a3d\u6838\u4e14\u53ef\u67e5\u8a62\uff0c\u540c\u6642\u4e0d\u55aa\u5931\u8b8a\u66f4\u767c\u751f\u6642\u523b\u7684\u4e0a\u4e0b\u6587\u3002\u672c\u6307\u5357\u63a2\u8a0e\u5efa\u69cb\u5177\u6642\u9593\u611f\u77e5\u80fd\u529b\u7684\u8cc7\u6599\u5eab\u7cfb\u7d71\u6240\u9700\u7684\u7d50\u69cb\u6280\u8853\u3002<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img alt=\"Hand-drawn infographic illustrating temporal data modeling techniques for Entity Relationship Diagrams: compares Valid Time (business reality) and Transaction Time (system records), explains Bitemporal modeling, visualizes three design patterns (SCD Type 2, Period Tables, Event Sourcing) with pros and cons, shows SCD Type 2 workflow for versioning records, lists best practices like surrogate keys and strategic indexing, and highlights implementation challenges including storage growth and query performance, all rendered with thick outline strokes and soft pastel color coding in 16:9 aspect ratio\" decoding=\"async\" src=\"https:\/\/www.go-diagram.com\/wp-content\/uploads\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\"\/><\/figure>\n<\/div>\n<h2>\u70ba\u4f55\u6a19\u6e96ERD\u5728\u6b77\u53f2\u8ffd\u8e64\u4e0a\u6709\u6240\u4e0d\u8db3 \ud83d\udcc9<\/h2>\n<p>\u50b3\u7d71\u7684ERD\u5c08\u6ce8\u65bc\u7576\u524d\u72c0\u614b\u3002\u7576\u8a18\u9304\u88ab\u66f4\u65b0\u6642\uff0c\u820a\u503c\u901a\u5e38\u6703\u88ab\u8986\u84cb\u3002\u96d6\u7136\u9019\u5c0d\u7c21\u55ae\u7684\u4f5c\u696d\u7cfb\u7d71\u904b\u4f5c\u5c1a\u53ef\uff0c\u4f46\u5c0d\u5206\u6790\u9700\u6c42\u537b\u6703\u7522\u751f\u986f\u8457\u7684\u76f2\u9ede\u3002\u8209\u4f8b\u4f86\u8aaa\uff0c\u7576\u4f60\u9700\u8981\u91cd\u5efa\u5ba2\u6236\u904e\u53bb\u4e94\u5e74\u5167\u7684\u5e33\u55ae\u6b77\u53f2\u6642\uff0c\u6a19\u6e96\u8cc7\u6599\u8868\u53ef\u80fd\u50c5\u986f\u793a\u76ee\u524d\u7684\u5730\u5740\u6216\u7576\u524d\u7684\u8a02\u95b1\u7b49\u7d1a\u3002<\/p>\n<p>\u82e5\u7f3a\u4e4f\u6642\u5e8f\u5efa\u6a21\uff0c\u60a8\u5c07\u9762\u81e8\u591a\u9805\u6311\u6230\uff1a<\/p>\n<ul>\n<li><strong>\u4e0a\u4e0b\u6587\u907a\u5931\uff1a<\/strong>\u60a8\u7121\u6cd5\u5224\u65b7\u50f9\u683c\u8b8a\u66f4\u5728\u73fe\u5be6\u4e16\u754c\u4e2d\u5be6\u969b\u751f\u6548\u7684\u6642\u9593\uff0c\u8207\u7cfb\u7d71\u4e2d\u8f38\u5165\u7684\u6642\u9593\u4e4b\u9593\u7684\u5dee\u7570\u3002<\/li>\n<li><strong>\u7a3d\u6838\u8907\u96dc\u5ea6\uff1a<\/strong>\u5efa\u7acb\u7368\u7acb\u7684\u7a3d\u6838\u65e5\u8a8c\u8cc7\u6599\u8868\uff0c\u9700\u8981\u624b\u52d5\u5be6\u4f5c\u89f8\u767c\u5668\uff0c\u4e26\u70ba\u6bcf\u6b21\u5beb\u5165\u64cd\u4f5c\u589e\u52a0\u984d\u5916\u8ca0\u64d4\u3002<\/li>\n<li><strong>\u67e5\u8a62\u56f0\u96e3\uff1a<\/strong>\u91cd\u5efa\u6642\u9593\u8ef8\u901a\u5e38\u9700\u8981\u8907\u96dc\u7684\u9023\u63a5\uff08JOIN\uff09\u6216\u81ea\u6211\u9023\u63a5\uff08SELF-JOIN\uff09\uff0c\u96e3\u4ee5\u7dad\u8b77\u8207\u6700\u4f73\u5316\u3002<\/li>\n<li><strong>\u8cc7\u6599\u5b8c\u6574\u6027\uff1a<\/strong>\u82e5\u672a\u660e\u78ba\u8a2d\u5b9a\u6642\u9593\u9650\u5236\uff0c\u65bc\u5927\u91cf\u66f4\u65b0\u6642\u5f88\u5bb9\u6613\u610f\u5916\u8986\u5beb\u6b77\u53f2\u8cc7\u6599\u3002<\/li>\n<\/ul>\n<p>\u900f\u904e\u5c07\u6642\u9593\u76f4\u63a5\u5d4c\u5165\u8cc7\u6599\u7d50\u69cb\u4e2d\uff0c\u60a8\u4fbf\u80fd\u5c07\u6b77\u53f2\u8ffd\u8e64\u7684\u8cac\u4efb\uff0c\u5f9e\u61c9\u7528\u7a0b\u5f0f\u908f\u8f2f\u8f49\u79fb\u81f3\u8cc7\u6599\u7d50\u69cb\u672c\u8eab\u3002<\/p>\n<h2>\u7406\u89e3\u6642\u5e8f\u7dad\u5ea6 \u23f3<\/h2>\n<p>\u8981\u6709\u6548\u5efa\u6a21\u6642\u9593\uff0c\u5fc5\u9808\u5340\u5206\u6642\u9593\u5728\u8cc7\u6599\u5eab\u4e2d\u5b58\u5728\u7684\u65b9\u5f0f\u3002\u4e3b\u8981\u6709\u5169\u500b\u7dad\u5ea6\u9700\u8981\u8003\u616e\uff1a\u6709\u6548\u6642\u9593\uff08Valid Time\uff09\u8207\u4ea4\u6613\u6642\u9593\uff08Transaction Time\uff09\u3002\u7406\u89e3\u5169\u8005\u7684\u5dee\u7570\uff0c\u5c0d\u65bc\u9078\u64c7\u6b63\u78ba\u7684\u5efa\u6a21\u6280\u8853\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<h3>1. \u6709\u6548\u6642\u9593\uff08\u696d\u52d9\u6642\u9593\uff09<\/h3>\n<p>\u6709\u6548\u6642\u9593\u4ee3\u8868\u67d0\u9805\u4e8b\u5be6\u5728\u73fe\u5be6\u4e16\u754c\u4e2d\u70ba\u771f\u7684\u671f\u9593\u3002\u9019\u8207\u8cc7\u6599\u5eab\u7cfb\u7d71\u7121\u95dc\u3002\u4f8b\u5982\uff0c\u82e5\u4e00\u540d\u54e1\u5de5\u7684\u90e8\u9580\u65bc1\u67081\u65e5\u5f9e\u92b7\u552e\u90e8\u9580\u8b8a\u66f4\u70ba\u5de5\u7a0b\u90e8\u9580\uff0c\u5247\u5de5\u7a0b\u90e8\u9580\u6307\u6d3e\u7684\u6709\u6548\u6642\u9593\u5373\u5f9e\u8a72\u65e5\u8d77\u7b97\uff0c\u7121\u8ad6\u4eba\u8cc7\u7d93\u7406\u4f55\u6642\u5c07\u6b64\u8cc7\u8a0a\u8f38\u5165\u7cfb\u7d71\u3002<\/p>\n<ul>\n<li><strong>\u7126\u9ede\uff1a<\/strong>\u73fe\u5be6\u3002<\/li>\n<li><strong>\u4f7f\u7528\u60c5\u5883\uff1a<\/strong>\u6b77\u53f2\u5831\u8868\u3001\u5408\u898f\u7a3d\u6838\u3001\u91cd\u5efa\u904e\u53bb\u72c0\u614b\u3002<\/li>\n<li><strong>\u5c6c\u6027\uff1a<\/strong>\u901a\u5e38\u4ee5 <code>valid_from<\/code> \u548c <code>valid_to<\/code> \u6642\u9593\u6233\u8a18\u4f86\u5be6\u4f5c\u3002<\/li>\n<\/ul>\n<h3>2. \u4ea4\u6613\u6642\u9593\uff08\u7cfb\u7d71\u6642\u9593\uff09<\/h3>\n<p>\u4ea4\u6613\u6642\u9593\u8a18\u9304\u7684\u662f\u4e8b\u5be6\u88ab\u5132\u5b58\u5728\u8cc7\u6599\u5eab\u4e2d\u7684\u6642\u9593\u3002\u9019\u5b8c\u5168\u7531\u7cfb\u7d71\u7ba1\u7406\u3002\u5982\u679c\u4f7f\u7528\u8005\u4eca\u5929\u7de8\u8f2f\u4e86\u4e00\u7b46\u8a18\u9304\uff0c\u4ea4\u6613\u6642\u9593\u6703\u8a18\u9304\u4e0b\u9019\u500b\u7279\u5b9a\u6642\u523b\u3002\u5982\u679c\u8a72\u7b46\u8a18\u9304\u88ab\u522a\u9664\uff0c\u4ea4\u6613\u6642\u9593\u6703\u78ba\u4fdd\u7cfb\u7d71\u77e5\u9053\u5b83\u4f55\u6642\u4e0d\u518d\u51fa\u73fe\u5728\u6d3b\u8e8d\u8cc7\u6599\u96c6\u4e2d\u3002<\/p>\n<ul>\n<li><strong>\u7126\u9ede\uff1a<\/strong>\u7cfb\u7d71\u4f5c\u696d\u3002<\/li>\n<li><strong>\u4f7f\u7528\u6848\u4f8b\uff1a<\/strong>\u9664\u932f\u8cc7\u6599\u554f\u984c\u3001\u7406\u89e3\u7279\u5b9a\u6642\u523b\u7684\u7cfb\u7d71\u72c0\u614b\u3001\u56de\u6efe\u529f\u80fd\u3002<\/li>\n<li><strong>\u5c6c\u6027\uff1a<\/strong>\u901a\u5e38\u7531\u8cc7\u6599\u5eab\u5f15\u64ce\u81ea\u52d5\u7ba1\u7406\uff0c\u4f5c\u70ba<code>sys_start<\/code>\u548c<code>sys_end<\/code>.<\/li>\n<\/ul>\n<h3>3. \u96d9\u6642\u614b\u8cc7\u6599<\/h3>\n<p>\u7576\u4f60\u9700\u8981\u540c\u6642\u64c1\u6709\u6709\u6548\u6642\u9593\u8207\u4ea4\u6613\u6642\u9593\u6642\uff0c\u4f60\u6b63\u5728\u5efa\u7acb\u4e00\u500b\u96d9\u6642\u614b\u8cc7\u6599\u8868\u3002\u9019\u662f\u6642\u9593\u5efa\u6a21\u4e2d\u6700\u5b8c\u6574\u7684\u5f62\u5f0f\u3002\u5b83\u8b93\u4f60\u53ef\u4ee5\u63d0\u51fa\u985e\u4f3c\u9019\u6a23\u7684\u554f\u984c\uff1a\u300c\u7cfb\u7d71\u57282023\u5e743\u67081\u65e5\u8a8d\u70ba\uff0c2023\u5e741\u67081\u65e5\u4e16\u754c\u5be6\u969b\u72c0\u614b\u70ba\u4f55\uff1f\u300d<\/p>\n<h2>\u6642\u9593\u611f\u77e5\u67b6\u69cb\u7684\u8a2d\u8a08\u6a21\u5f0f \ud83d\udee0\ufe0f<\/h2>\n<p>\u5728ERD\u4e2d\u5be6\u73fe\u6642\u9593\u8cc7\u6599\u6709\u5e7e\u7a2e\u67b6\u69cb\u6a21\u5f0f\u3002\u9078\u64c7\u53d6\u6c7a\u65bc\u4f60\u7684\u67e5\u8a62\u6a21\u5f0f\u8207\u5132\u5b58\u9650\u5236\u3002<\/p>\n<h3>\u7de9\u6162\u8b8a\u5316\u7684\u7dad\u5ea6\uff08SCD\uff09\u985e\u578b2\u6a21\u5f0f<\/h3>\n<p>\u9019\u662f\u8cc7\u6599\u5009\u5132\u4e2d\u6b77\u53f2\u8ffd\u8e64\u6700\u5e38\u898b\u7684\u6280\u8853\u3002\u4e0d\u662f\u66f4\u65b0\u8cc7\u6599\u5217\uff0c\u800c\u662f\u63d2\u5165\u4e00\u7b46\u5e36\u6709\u65b0\u7248\u672c\u8b58\u5225\u78bc\u7684\u65b0\u8cc7\u6599\u5217\uff0c\u820a\u8cc7\u6599\u5217\u5247\u6a19\u8a18\u70ba\u975e\u6d3b\u8e8d\u72c0\u614b\u3002<\/p>\n<ul>\n<li><strong>\u95dc\u9375\u65b0\u589e\u9805\u76ee\uff1a<\/strong> <code>surrogate_key<\/code>\uff08\u7528\u65bc\u9023\u7d50\u81f3\u65b0\u7248\u672c\uff09\u548c<code>is_active<\/code>\u65d7\u6a19\u3002<\/li>\n<li><strong>\u512a\u9ede\uff1a<\/strong>\u4f7f\u7528\u7be9\u9078\u689d\u4ef6\u5373\u53ef\u7c21\u55ae\u67e5\u8a62\u76ee\u524d\u7684\u8a18\u9304\u3002<\/li>\n<li><strong>\u7f3a\u9ede\uff1a<\/strong>\u8cc7\u6599\u8868\u6703\u96a8\u8457\u8b8a\u66f4\u7dda\u6027\u589e\u9577\u3002\u522a\u9664\u4e00\u7b46\u8cc7\u6599\u9700\u8981\u66f4\u65b0\u6240\u6709\u5148\u524d\u7248\u672c\uff0c\u6216\u5c07\u5176\u6a19\u8a18\u3002<\/li>\n<\/ul>\n<h3>\u671f\u9593\u8cc7\u6599\u8868\u6a21\u5f0f<\/h3>\n<p>\u5728\u6b64\u65b9\u6cd5\u4e2d\uff0c\u6642\u9593\u4ee5\u671f\u9593\u985e\u578b\u5132\u5b58\uff0c\u800c\u975e\u5169\u500b\u7368\u7acb\u7684\u6b04\u4f4d\u3002\u9019\u901a\u5e38\u7531\u73fe\u4ee3\u8cc7\u6599\u5eab\u5f15\u64ce\u539f\u751f\u652f\u63f4\u3002\u5b83\u5f37\u5236\u8981\u6c42\u671f\u9593\u4e0d\u80fd\u91cd\u758a\u3002<\/p>\n<ul>\n<li><strong>\u95dc\u9375\u65b0\u589e\u9805\u76ee\uff1a<\/strong>\u4e00\u500b<code>\u671f\u9593<\/code>\u8cc7\u6599\u985e\u578b\u9650\u5236\u3002<\/li>\n<li><strong>\u512a\u9ede\uff1a<\/strong>\u81ea\u52d5\u5f37\u5236\u57f7\u884c\u4e0d\u91cd\u758a\u7684\u6642\u9593\u7bc4\u570d\u3002<\/li>\n<li><strong>\u7f3a\u9ede\uff1a<\/strong>\u9700\u8981\u7279\u5b9a\u7684\u8cc7\u6599\u5eab\u529f\u80fd\uff0c\u9019\u4e9b\u529f\u80fd\u5728\u6240\u6709\u7cfb\u7d71\u4e2d\u53ef\u80fd\u7121\u6cd5\u53d6\u5f97\u3002<\/li>\n<\/ul>\n<h3>\u4e8b\u4ef6\u4f86\u6e90\u6a21\u5f0f<\/h3>\n<p>\u4e0d\u662f\u5132\u5b58\u76ee\u524d\u7684\u72c0\u614b\uff0c\u800c\u662f\u5132\u5b58\u4e00\u9023\u4e32\u7684\u4e8b\u4ef6\u3002\u72c0\u614b\u900f\u904e\u91cd\u64ad\u9019\u4e9b\u4e8b\u4ef6\u4f86\u91cd\u5efa\u3002\u9019\u975e\u5e38\u8a73\u7d30\uff0c\u4f46\u8b80\u53d6\u6642\u53ef\u80fd\u9700\u8981\u5927\u91cf\u7684\u904b\u7b97\u8cc7\u6e90\u3002<\/p>\n<ul>\n<li><strong>\u95dc\u9375\u65b0\u589e\u9805\u76ee\uff1a<\/strong> \u4e00\u500b\u50c5\u80fd\u8ffd\u52a0\u7684\u8a18\u9304\u8868\u3002<\/li>\n<li><strong>\u512a\u9ede\uff1a<\/strong> \u5b8c\u7f8e\u7684\u7a3d\u6838\u8ffd\u8e64\uff1b\u8cc7\u6599\u6c38\u9060\u4e0d\u6703\u88ab\u522a\u9664\u3002<\/li>\n<li><strong>\u7f3a\u9ede\uff1a<\/strong> \u8b80\u53d6\u908f\u8f2f\u8907\u96dc\uff1b\u72c0\u614b\u91cd\u5efa\u4e26\u975e\u7acb\u5373\u5b8c\u6210\u3002<\/li>\n<\/ul>\n<h2>SCD\u985e\u578b2\u65b9\u6cd5\u8a73\u8ff0 \ud83d\udd04<\/h2>\n<p>\u5c0d\u65bc\u5927\u591a\u6578\u4f01\u696d\u61c9\u7528\u7a0b\u5f0f\uff0cSCD\u985e\u578b2\u63d0\u4f9b\u4e86\u8907\u96dc\u6027\u8207\u5be6\u7528\u6027\u4e4b\u9593\u7684\u6700\u4f73\u5e73\u8861\u3002\u8b93\u6211\u5011\u770b\u770b\u9019\u5982\u4f55\u8f49\u5316\u70baERD\u7d50\u69cb\u3002<\/p>\n<p>\u60f3\u50cf\u4e00\u500b<code>\u5ba2\u6236<\/code>\u5be6\u9ad4\u3002\u5728\u6a19\u6e96\u6a21\u578b\u4e2d\uff0c\u6bcf\u500b\u5ba2\u6236ID\u5c0d\u61c9\u4e00\u884c\u8cc7\u6599\u3002\u5728\u6642\u9593\u6a21\u578b\u4e2d\uff0c\u540c\u4e00\u500b\u5ba2\u6236ID\u6703\u6709\u6578\u884c\u8cc7\u6599\uff0c\u4e26\u4ee5\u6642\u9593\u5340\u5206\u3002<\/p>\n<p><strong>\u5fc5\u8981\u5c6c\u6027\uff1a<\/strong><\/p>\n<ul>\n<li><code>\u5ba2\u6236ID<\/code>\uff1a\u81ea\u7136\u7684\u696d\u52d9\u91d1\u9470\u3002<\/li>\n<li><code>\u7248\u672cID<\/code>\uff1a\u6bcf\u500b\u7279\u5b9a\u8a18\u9304\u5be6\u4f8b\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002<\/li>\n<li><code>\u6709\u6548\u8d77\u59cb\u6642\u9593<\/code>\uff1a\u6b64\u8a18\u9304\u751f\u6548\u7684\u6642\u9593\u6233\u8a18\u3002<\/li>\n<li><code>\u6709\u6548\u7d50\u675f\u6642\u9593<\/code>\uff1a\u6b64\u8a18\u9304\u505c\u6b62\u751f\u6548\u7684\u6642\u9593\u6233\u8a18\u3002\u76ee\u524d\u8a18\u9304\u901a\u5e38\u8a2d\u70baNULL\u3002<\/li>\n<li><code>\u662f\u5426\u70ba\u7576\u524d\u8a18\u9304<\/code>\uff1a\u4e00\u500b\u5e03\u6797\u65d7\u6a19\uff0c\u7528\u65bc\u5feb\u901f\u8b58\u5225\u6700\u65b0\u7684\u72c0\u614b\u3002<\/li>\n<\/ul>\n<p>\u7576\u5ba2\u6236\u66f4\u6539\u5176\u5730\u5740\u6642\uff0c\u60a8\u4e0d\u6703\u66f4\u65b0\u73fe\u6709\u7684\u8cc7\u6599\u5217\u3002\u76f8\u53cd\uff0c\u60a8\u61c9\uff1a<\/p>\n<ol>\n<li>\u66f4\u65b0 <code>valid_to<\/code> \u820a\u5730\u5740\u8cc7\u6599\u5217\u7684\u503c\u70ba\u76ee\u524d\u6642\u9593\u6233\u8a18\u3002<\/li>\n<li>\u5c07 <code>is_current<\/code> \u8a2d\u70ba False\uff08\u820a\u8cc7\u6599\u5217\uff09\u3002<\/li>\n<li>\u63d2\u5165\u4e00\u7b46\u65b0\u8cc7\u6599\u5217\uff0c\u5167\u5bb9\u70ba\u65b0\u5730\u5740\u3002<\/li>\n<li>\u5c07 <code>valid_from<\/code> \u8a2d\u70ba\u76ee\u524d\u6642\u9593\u6233\u8a18\u3002<\/li>\n<li>\u5c07 <code>valid_to<\/code> \u8a2d\u70ba NULL\u3002<\/li>\n<li>\u5c07 <code>is_current<\/code> \u8a2d\u70ba True\u3002<\/li>\n<\/ol>\n<h2>\u671f\u9593\u8868\u683c\u8207\u6709\u6548\u6642\u9593 \ud83d\uddd3\ufe0f<\/h2>\n<p>\u96d6\u7136 SCD Type 2 \u5177\u6709\u5f48\u6027\uff0c\u4f46\u671f\u9593\u8868\u683c\u63d0\u4f9b\u4e86\u66f4\u56b4\u683c\u7684\u6642\u9593\u5b9a\u7fa9\u3002\u5728\u6b64\u6a21\u578b\u4e2d\uff0c\u6642\u9593\u5340\u9593\u70ba\u55ae\u4e00\u5c6c\u6027\u3002\u9019\u6709\u52a9\u65bc\u9632\u6b62\u51fa\u73fe\u300c<code>valid_from<\/code> \u5927\u65bc <code>valid_to<\/code>.<\/p>\n<p>\u4ee5\u4e0b\u70ba\u671f\u9593\u8868\u683c\u7684\u7d50\u69cb\u7bc4\u4f8b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6b04\u4f4d\u540d\u7a31<\/th>\n<th>\u985e\u578b<\/th>\n<th>\u63cf\u8ff0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>entity_id<\/code><\/td>\n<td>UUID<\/td>\n<td>\u5be6\u9ad4\u7684\u4e3b\u9375<\/td>\n<\/tr>\n<tr>\n<td><code>\u8cc7\u6599\u503c<\/code><\/td>\n<td>VARCHAR<\/td>\n<td>\u6b63\u5728\u8ffd\u8e64\u7684\u5c6c\u6027<\/td>\n<\/tr>\n<tr>\n<td><code>\u6642\u9593\u5340\u9593<\/code><\/td>\n<td>PERIOD(TIMESTAMP)<\/td>\n<td>\u6709\u6548\u6027\u7684\u958b\u59cb\u8207\u7d50\u675f<\/td>\n<\/tr>\n<tr>\n<td><code>\u7cfb\u7d71\u7248\u672c<\/code><\/td>\n<td>INT<\/td>\n<td>\u8cc7\u6599\u5217\u7684\u5e8f\u5217\u865f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6b64\u7d50\u69cb\u78ba\u4fdd\u8cc7\u6599\u5eab\u5f15\u64ce\u5728\u63d2\u5165\u524d\u9a57\u8b49\u6642\u9593\u5340\u9593\u3002\u5982\u679c\u60a8\u5617\u8a66\u63d2\u5165\u8207\u540c\u4e00\u5be6\u9ad4\u73fe\u6709\u671f\u9593\u91cd\u758a\u7684\u8a18\u9304\uff0c\u8a72\u64cd\u4f5c\u5c07\u5931\u6557\uff0c\u9664\u975e\u660e\u78ba\u5141\u8a31\u3002<\/p>\n<h2>\u8655\u7406\u4ea4\u6613\u6642\u9593 \ud83d\udcdd<\/h2>\n<p>\u6709\u6548\u6642\u9593\u544a\u8a34\u60a8\u4ec0\u9ebc\u662f\u771f\u5be6\u7684\u3002\u4ea4\u6613\u6642\u9593\u544a\u8a34\u60a8\u4f55\u6642\u77e5\u9053\u5b83\u3002\u6709\u6642\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8cc7\u6599\u5eab\u66fe\u76f8\u4fe1\u67d0\u500b\u4e8b\u5be6\u70ba\u771f\uff0c\u5373\u4f7f\u8a72\u4e8b\u5be6\u5f8c\u4f86\u5728\u73fe\u5be6\u4e16\u754c\u4e2d\u88ab\u8b49\u660e\u662f\u932f\u8aa4\u7684\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u4f7f\u7528\u8005\u53ef\u80fd\u8f38\u5165\u4e86\u932f\u8aa4\u7684\u5730\u5740\u3002\u7cfb\u7d71\u6703\u4ee5\u4ea4\u6613\u6642\u9593\u8a18\u9304\u8a72\u8cc7\u6599\u3002\u7a0d\u5f8c\uff0c\u4f7f\u7528\u8005\u9032\u884c\u4e86\u66f4\u6b63\u3002\u5982\u679c\u60a8\u50c5\u8ffd\u8e64\u6709\u6548\u6642\u9593\uff0c\u5c07\u6703\u907a\u5931\u6700\u521d\u7684\u932f\u8aa4\u8a18\u9304\u3002\u4f46\u82e5\u8ffd\u8e64\u4ea4\u6613\u6642\u9593\uff0c\u5247\u53ef\u4fdd\u7559\u7cfb\u7d71\u7684\u8cc7\u6599\u8f38\u5165\u6b77\u53f2\u3002<\/p>\n<p>\u5be6\u4f5c\u4ea4\u6613\u6642\u9593\u901a\u5e38\u6d89\u53ca\u5c07\u9019\u4e9b\u6b04\u4f4d\u96b1\u85cf\u65bc\u4f7f\u7528\u8005\u4ecb\u9762\u4e4b\u5916\u3002\u9019\u4e9b\u6b04\u4f4d\u7531\u8cc7\u6599\u5eab\u5f15\u64ce\u7ba1\u7406\u3002\u7576\u67e5\u8a62\u300c\u76ee\u524d\u300d\u72c0\u614b\u6642\uff0c\u7cfb\u7d71\u6703\u81ea\u52d5\u904e\u6ffe\u6389\u4ea4\u6613\u6642\u9593\u5df2\u904e\u671f\u7684\u8a18\u9304\uff08\u5373\u8a72\u8a18\u9304\u5df2\u88ab\u522a\u9664\uff09\u3002<\/p>\n<h2>\u96d9\u6642\u9593\u6a21\u578b\u8aaa\u660e \u2696\ufe0f<\/h2>\n<p>\u96d9\u6642\u9593\u6a21\u578b\u7d50\u5408\u4e86\u6709\u6548\u6642\u9593\u8207\u4ea4\u6613\u6642\u9593\u3002\u9019\u662f\u5728\u6cd5\u898f\u5408\u898f\u8207\u6cd5\u91ab\u8cc7\u6599\u5206\u6790\u4e2d\u7684\u9ec3\u91d1\u6a19\u6e96\u3002<\/p>\n<p><strong>\u7d50\u69cb\u5f71\u97ff\uff1a<\/strong><\/p>\n<ul>\n<li>\u60a8\u9700\u8981\u56db\u500b\u8207\u6642\u9593\u76f8\u95dc\u7684\u6b04\u4f4d\uff1a<code>\u6709\u6548\u958b\u59cb<\/code>, <code>\u6709\u6548\u7d50\u675f<\/code>, <code>\u4ea4\u6613\u958b\u59cb<\/code>, <code>\u4ea4\u6613\u7d50\u675f<\/code>.<\/li>\n<li>\u60a8\u7684\u7d22\u5f15\u7b56\u7565\u5fc5\u9808\u540c\u6642\u8003\u616e\u9019\u5169\u500b\u7dad\u5ea6\u3002<\/li>\n<li>\u60a8\u7684\u67e5\u8a62\u8b8a\u5f97\u66f4\u8907\u96dc\uff0c\u901a\u5e38\u9700\u8981\u7bc4\u570d\u9023\u63a5\u3002<\/li>\n<\/ul>\n<p><strong>\u67e5\u8a62\u7bc4\u4f8b\u908f\u8f2f\uff1a<\/strong><\/p>\n<p>\u8981\u627e\u51fa\u67d0\u7b46\u8a18\u9304\u5728\u7279\u5b9a\u6642\u9593\u9ede\u6642\u7684\u72c0\u614b\uff0c\u60a8\u61c9\u6839\u64da\u4ea4\u6613\u6642\u9593\u9032\u884c\u904e\u6ffe\u3002\u8981\u627e\u51fa\u5728\u7279\u5b9a\u6642\u9593\u9ede\u4e16\u754c\u7684\u72c0\u614b\uff0c\u60a8\u61c9\u6839\u64da\u6709\u6548\u6642\u9593\u9032\u884c\u904e\u6ffe\u3002\u8981\u627e\u51fa\u7cfb\u7d71\u5728\u7279\u5b9a\u6642\u9593\u9ede\u6240\u7406\u89e3\u7684\u4e16\u754c\u72c0\u614b\uff0c\u60a8\u61c9\u540c\u6642\u6839\u64da\u5169\u8005\u9032\u884c\u904e\u6ffe\u3002<\/p>\n<p>\u9019\u7a2e\u7d30\u7bc0\u7a0b\u5ea6\u5c0d\u65bc\u91d1\u878d\u3001\u91ab\u7642\u548c\u6cd5\u5f8b\u670d\u52d9\u7b49\u884c\u696d\u81f3\u95dc\u91cd\u8981\uff0c\u56e0\u70ba\u6578\u64da\u4f86\u6e90\u8207\u6578\u64da\u672c\u8eab\u4e00\u6a23\u91cd\u8981\u3002<\/p>\n<h2>\u5be6\u65bd\u6311\u6230 \u26a0\ufe0f<\/h2>\n<p>\u5728\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u4e2d\u52a0\u5165\u6642\u9593\u6703\u5f15\u5165\u5fc5\u9808\u8b39\u614e\u7ba1\u7406\u7684\u8907\u96dc\u6027\u3002<\/p>\n<h3>1. \u5b58\u5132\u81a8\u8139<\/h3>\n<p>\u6bcf\u6b21\u8b8a\u66f4\u90fd\u6703\u7522\u751f\u4e00\u7b46\u65b0\u8a18\u9304\u3002\u7d93\u904e\u591a\u5e74\u5f8c\uff0c\u8868\u683c\u7684\u5927\u5c0f\u53ef\u80fd\u9060\u8d85\u904e\u5176\u975e\u6642\u9593\u7248\u672c\u3002\u60a8\u5fc5\u9808\u70ba\u589e\u52a0\u7684\u5132\u5b58\u9700\u6c42\u505a\u597d\u898f\u5283\u3002\u6309\u6642\u9593\u7bc4\u570d\uff08\u4f8b\u5982\u6bcf\u6708\u6216\u6bcf\u5e74\uff09\u9032\u884c\u5206\u5272\u662f\u5e38\u898b\u7b56\u7565\uff0c\u4ee5\u78ba\u4fdd\u67e5\u8a62\u5feb\u901f\u4e14\u7dad\u8b77\u5bb9\u6613\u3002<\/p>\n<h3>2. \u67e5\u8a62\u6548\u80fd<\/h3>\n<p>\u82e5\u7d22\u5f15\u6b63\u78ba\uff0c\u6309\u6642\u9593\u7bc4\u570d\u904e\u6ffe\u901a\u5e38\u5f88\u5feb\u3002\u7136\u800c\uff0c\u91cd\u5efa\u6b77\u53f2\u72c0\u614b\u901a\u5e38\u9700\u8981\u9023\u63a5\u591a\u500b\u8868\u683c\u3002\u4e00\u500b\u539f\u672c\u53ea\u9700\u6578\u6beb\u79d2\u7684\u67e5\u8a62\uff0c\u82e5\u6d89\u53ca\u6383\u63cf\u5305\u542b\u6578\u767e\u842c\u7b46\u8cc7\u6599\u7684\u6b77\u53f2\u8868\u683c\uff0c\u53ef\u80fd\u9700\u8981\u6578\u79d2\u3002<\/p>\n<h3>3. \u61c9\u7528\u7a0b\u5f0f\u908f\u8f2f\u8b8a\u66f4<\/h3>\n<p>\u539f\u672c\u5047\u8a2d\u6bcf\u500b\u5be6\u9ad4\u53ea\u6709\u4e00\u7b46\u8cc7\u6599\u7684\u73fe\u6709\u61c9\u7528\u7a0b\u5f0f\u7a0b\u5f0f\u78bc\u5c07\u6703\u5931\u6548\u3002\u60a8\u5fc5\u9808\u91cd\u65b0\u8a2d\u8a08\u6240\u6709 CRUD \u64cd\u4f5c\u4ee5\u8655\u7406\u6642\u9593\u5c6c\u6027\u3002\u63d2\u5165\u64cd\u4f5c\u5c07\u8f49\u8b8a\u70ba\u689d\u4ef6\u908f\u8f2f\u66f4\u65b0\u3002<\/p>\n<h3>4. \u6578\u64da\u4e00\u81f4\u6027<\/h3>\n<p>\u78ba\u4fdd<code>valid_from<\/code>\u59cb\u7d42\u5c0f\u65bc<code>valid_to<\/code>\u9700\u8981\u8cc7\u6599\u5eab\u7684\u7d04\u675f\u689d\u4ef6\u3002\u82e5\u7121\u9019\u4e9b\u7d04\u675f\uff0c\u53ef\u80fd\u6703\u7522\u751f\u7121\u6548\u7684\u6642\u9593\u5340\u9593\uff0c\u5c0e\u81f4\u6b77\u53f2\u5831\u8868\u5931\u6548\u3002<\/p>\n<h2>\u7dad\u8b77\u7684\u6700\u4f73\u5be6\u52d9 \ud83e\uddf9<\/h2>\n<p>\u70ba\u4fdd\u6301\u6642\u9593\u6a21\u578b\u7684\u5065\u5eb7\uff0c\u8acb\u9075\u5faa\u4ee5\u4e0b\u6307\u5f15\u3002<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u4ee3\u7406\u9375\uff1a<\/strong>\u6b77\u53f2\u8868\u683c\u4e00\u5f8b\u4f7f\u7528\u5167\u90e8 ID\uff0c\u800c\u975e\u696d\u52d9\u9375\u3002\u9019\u5141\u8a31\u696d\u52d9\u9375\u8b8a\u66f4\u800c\u4e0d\u7834\u58de\u53c3\u7167\u5b8c\u6574\u6027\u3002<\/li>\n<li><strong>\u7b56\u7565\u6027\u5efa\u7acb\u7d22\u5f15\uff1a<\/strong>\u5728\uff08<code>entity_id<\/code>, <code>valid_from<\/code>\uff09\u4e0a\u5efa\u7acb\u8907\u5408\u7d22\u5f15\u3002\u9019\u80fd\u52a0\u5feb\u76ee\u524d\u8a18\u9304\u8207\u6b77\u53f2\u5feb\u7167\u7684\u67e5\u8a62\u901f\u5ea6\u3002<\/li>\n<li><strong>\u81ea\u52d5\u6e05\u7406\uff1a<\/strong>\u5be6\u65bd\u6b78\u6a94\u7b56\u7565\u3002\u82e5\u8a18\u9304\u5df2\u8d85\u904e\u5341\u5e74\uff0c\u5247\u79fb\u81f3\u51b7\u5132\u5b58\u8868\u683c\uff0c\u4ee5\u4fdd\u6301\u6d3b\u8e8d\u8868\u683c\u7684\u8f15\u91cf\u3002<\/li>\n<li><strong>\u8a18\u9304\u6642\u9593\u8ef8\uff1a<\/strong>\u5728\u8cc7\u6599\u5b57\u5178\u4e2d\u660e\u78ba\u8a18\u9304\u6709\u6548\u6642\u9593\u8207\u4ea4\u6613\u6642\u9593\u7684\u5dee\u7570\u3002\u958b\u767c\u4eba\u54e1\u9700\u6e05\u695a\u4e86\u89e3\u54ea\u7a2e\u6642\u9593\u6233\u8a18\u9069\u7528\u65bc\u5176\u4f7f\u7528\u60c5\u5883\u3002<\/li>\n<li><strong>\u9a57\u8b49\u91cd\u758a\uff1a<\/strong> \u4f7f\u7528\u8cc7\u6599\u5eab\u7d04\u675f\u4f86\u9632\u6b62\u540c\u4e00\u5be6\u9ad4\u7684\u6709\u6548\u671f\u9593\u91cd\u758a\u3002<\/li>\n<\/ul>\n<h2>\u6642\u9593\u7b56\u7565\u7684\u6bd4\u8f03<\/h2>\n<p>\u9078\u64c7\u5408\u9069\u7684\u6a21\u578b\u53d6\u6c7a\u65bc\u60a8\u7684\u7279\u5b9a\u9700\u6c42\u3002\u4e0b\u8868\u7e3d\u7d50\u4e86\u5176\u4e2d\u7684\u6b0a\u8861\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u7b56\u7565<\/th>\n<th>\u8907\u96dc\u5ea6<\/th>\n<th>\u5132\u5b58\u6210\u672c<\/th>\n<th>\u67e5\u8a62\u901f\u5ea6<\/th>\n<th>\u6700\u4f73\u4f7f\u7528\u60c5\u5883<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>SCD \u985e\u578b 2<\/strong><\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u9ad8<\/td>\n<td>\u4e00\u822c\u696d\u52d9\u6b77\u53f2\u8ffd\u8e64<\/td>\n<\/tr>\n<tr>\n<td><strong>\u671f\u9593\u8868\u683c<\/strong><\/td>\n<td>\u9ad8<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u9ad8<\/td>\n<td>\u56b4\u683c\u7684\u6cd5\u898f\u5408\u898f\u6027<\/td>\n<\/tr>\n<tr>\n<td><strong>\u96d9\u6642\u9593<\/strong><\/td>\n<td>\u975e\u5e38\u9ad8<\/td>\n<td>\u9ad8<\/td>\n<td>\u4e2d\u7b49<\/td>\n<td>\u6cd5\u91ab\u5206\u6790\u3001\u7cfb\u7d71\u5be9\u8a08<\/td>\n<\/tr>\n<tr>\n<td><strong>\u4e8b\u4ef6\u4f86\u6e90<\/strong><\/td>\n<td>\u9ad8<\/td>\n<td>\u975e\u5e38\u9ad8<\/td>\n<td>\u4f4e\uff08\u8b80\u53d6\uff09<\/td>\n<td>\u72c0\u614b\u91cd\u5efa\u3001\u5373\u6642\u8a0a\u606f\u50b3\u8f38<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u8cc7\u6599\u67b6\u69cb\u5e2b\u7684\u6700\u7d42\u8003\u91cf<\/h2>\n<p>\u5c07\u6642\u9593\u6574\u5408\u5230\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u4e2d\u662f\u4e00\u500b\u5f71\u97ff\u8cc7\u6599\u751f\u547d\u9031\u671f\u7684\u6c7a\u7b56\u3002\u9019\u4e0d\u50c5\u50c5\u662f\u6280\u8853\u4e0a\u7684\u8abf\u6574\uff1b\u66f4\u662f\u4e00\u7a2e\u770b\u5f85\u8cc7\u8a0a\u65b9\u5f0f\u7684\u8f49\u8b8a\u3002<\/p>\n<p>\u7576\u4f60\u8a2d\u8a08\u6642\u8003\u616e\u5230\u6642\u9593\u56e0\u7d20\uff0c\u4f60\u5c31\u627f\u8a8d\u6578\u64da\u4e26\u975e\u975c\u614b\u7684\u3002\u5b83\u5728\u6d41\u52d5\uff0c\u5b83\u5728\u8b8a\u5316\uff0c\u5b83\u5728\u8001\u5316\u3002\u901a\u904e\u5c07\u9019\u4e9b\u529f\u80fd\u878d\u5165\u4f60\u7684\u8cc7\u6599\u7d50\u69cb\u57fa\u790e\u4e2d\uff0c\u4f60\u5c31\u80fd\u70ba\u7cfb\u7d71\u7684\u672a\u4f86\u505a\u597d\u6e96\u5099\uff0c\u4ee5\u61c9\u5c0d\u56de\u6eaf\u5206\u6790\u7684\u9700\u6c42\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8b58\u5225\u7cfb\u7d71\u4e2d\u54ea\u4e9b\u5c6c\u6027\u78ba\u5be6\u9700\u8981\u6b77\u53f2\u8a18\u9304\u3002\u4e26\u975e\u6bcf\u500b\u6b04\u4f4d\u90fd\u9700\u8981\u6642\u9593\u6233\u3002\u5c08\u6ce8\u65bc\u9ad8\u50f9\u503c\u7684\u8cc7\u6599\u9ede\uff0c\u4f8b\u5982\u8ca1\u52d9\u9918\u984d\u3001\u4eba\u54e1\u5206\u914d\u548c\u7522\u54c1\u5b9a\u50f9\u3002\u6709\u9078\u64c7\u6027\u5730\u61c9\u7528\u6642\u9593\u6a21\u5f0f\uff0c\u4ee5\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u958b\u92b7\u3002<\/p>\n<p>\u96a8\u8457\u7cfb\u7d71\u7684\u6210\u719f\uff0c\u4f60\u53ef\u80fd\u6703\u767c\u73fe\u6700\u521d\u7684\u8a2d\u8a08\u9700\u8981\u9032\u4e00\u6b65\u512a\u5316\u3002\u6642\u9593\u6578\u64da\u6a21\u578b\u662f\u8fed\u4ee3\u7684\u3002\u76e3\u63a7\u4f60\u7684\u67e5\u8a62\u6548\u80fd\u548c\u5132\u5b58\u7a7a\u9593\u589e\u9577\u3002\u96a8\u8457\u6b77\u53f2\u8cc7\u6599\u91cf\u7684\u7d2f\u7a4d\uff0c\u8abf\u6574\u4f60\u7684\u5206\u5272\u8207\u7d22\u5f15\u7b56\u7565\u3002<\/p>\n<p>\u6700\u7d42\uff0c\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u63d0\u4f9b\u4e86\u4e00\u500b\u55ae\u4e00\u7684\u771f\u76f8\u4f86\u6e90\uff0c\u65e2\u5c0a\u91cd\u904e\u53bb\uff0c\u53c8\u670d\u52d9\u7576\u4e0b\u3002\u5b83\u78ba\u4fdd\u7576\u95dc\u65bc\u300c\u70ba\u4ec0\u9ebc\u300d\u67d0\u4e8b\u767c\u751f\u7684\u554f\u984c\u51fa\u73fe\u6642\uff0c\u7b54\u6848\u65e9\u5df2\u8a18\u9304\u5728\u4f60\u7684\u8cc7\u6599\u5eab\u4e2d\uff0c\u7b49\u5f85\u88ab\u63d0\u53d6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a2d\u8a08\u7a69\u5065\u7684\u8cc7\u6599\u6a21\u578b\uff0c\u4e0d\u50c5\u50c5\u9700\u8981\u6620\u5c04\u5be6\u9ad4\u8207\u95dc\u4fc2\u3002\u66f4\u9700\u8981\u7406\u89e3\u8cc7\u6599&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1756,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_title":"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f","_yoast_wpseo_metadesc":"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002","fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[86],"tags":[82,85],"class_list":["post-1755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-erd","tag-academic","tag-erd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f<\/title>\n<meta name=\"description\" content=\"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f\" \/>\n<meta property=\"og:description\" content=\"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\" \/>\n<meta property=\"og:site_name\" content=\"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-25T15:48:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1664\" \/>\n\t<meta property=\"og:image:height\" content=\"928\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"vpadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"vpadmin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\"},\"author\":{\"name\":\"vpadmin\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/05a897b07530dd5607bd8a29719b1d6c\"},\"headline\":\"\u70ba\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u589e\u6dfb\u6642\u9593\uff1a\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u6280\u8853\",\"datePublished\":\"2026-03-25T15:48:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\"},\"wordCount\":31,\"publisher\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\",\"keywords\":[\"academic\",\"erd\"],\"articleSection\":[\"ERD\"],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\",\"url\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\",\"name\":\"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f\",\"isPartOf\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\",\"datePublished\":\"2026-03-25T15:48:36+00:00\",\"description\":\"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage\",\"url\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\",\"contentUrl\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg\",\"width\":1664,\"height\":928},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.go-diagram.com\/tw\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u70ba\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u589e\u6dfb\u6642\u9593\uff1a\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u6280\u8853\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#website\",\"url\":\"https:\/\/www.go-diagram.com\/tw\/\",\"name\":\"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.go-diagram.com\/tw\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#organization\",\"name\":\"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods\",\"url\":\"https:\/\/www.go-diagram.com\/tw\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2025\/03\/go-diagram-logo.png\",\"contentUrl\":\"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2025\/03\/go-diagram-logo.png\",\"width\":340,\"height\":62,\"caption\":\"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods\"},\"image\":{\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/05a897b07530dd5607bd8a29719b1d6c\",\"name\":\"vpadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56e0eb902506d9cea7c7e209205383146b8e81c0ef2eff693d9d5e0276b3d7e3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56e0eb902506d9cea7c7e209205383146b8e81c0ef2eff693d9d5e0276b3d7e3?s=96&d=mm&r=g\",\"caption\":\"vpadmin\"},\"sameAs\":[\"https:\/\/www.go-diagram.com\"],\"url\":\"https:\/\/www.go-diagram.com\/tw\/author\/vpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f","description":"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/","og_locale":"zh_TW","og_type":"article","og_title":"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f","og_description":"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002","og_url":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/","og_site_name":"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods","article_published_time":"2026-03-25T15:48:36+00:00","og_image":[{"width":1664,"height":928,"url":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg","type":"image\/jpeg"}],"author":"vpadmin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"vpadmin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#article","isPartOf":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/"},"author":{"name":"vpadmin","@id":"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/05a897b07530dd5607bd8a29719b1d6c"},"headline":"\u70ba\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u589e\u6dfb\u6642\u9593\uff1a\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u6280\u8853","datePublished":"2026-03-25T15:48:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/"},"wordCount":31,"publisher":{"@id":"https:\/\/www.go-diagram.com\/tw\/#organization"},"image":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage"},"thumbnailUrl":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg","keywords":["academic","erd"],"articleSection":["ERD"],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/","url":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/","name":"ERD \u4e2d\u7684\u6642\u9593\u6578\u64da\u5efa\u6a21\uff1a\u6280\u8853\u6307\u5357 \ud83d\udd70\ufe0f","isPartOf":{"@id":"https:\/\/www.go-diagram.com\/tw\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage"},"image":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage"},"thumbnailUrl":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg","datePublished":"2026-03-25T15:48:36+00:00","description":"\u5b78\u7fd2\u5982\u4f55\u8a2d\u8a08\u5177\u5099\u6642\u9593\u610f\u8b58\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u3002\u63a2\u7d22\u5728\u4e0d\u4f9d\u8cf4\u7279\u5b9a\u8edf\u9ad4\u7684\u60c5\u6cc1\u4e0b\uff0c\u8ffd\u8e64\u6b77\u53f2\u3001\u6709\u6548\u6642\u9593\u548c\u4ea4\u6613\u6642\u9593\u7684\u6280\u8853\u3002","breadcrumb":{"@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#primaryimage","url":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg","contentUrl":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2026\/03\/temporal-data-modeling-erd-infographic-hand-drawn.jpg","width":1664,"height":928},{"@type":"BreadcrumbList","@id":"https:\/\/www.go-diagram.com\/tw\/adding-time-to-your-erd-techniques-for-temporal-data-modeling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.go-diagram.com\/tw\/"},{"@type":"ListItem","position":2,"name":"\u70ba\u60a8\u7684\u5be6\u9ad4\u95dc\u4fc2\u5716\u589e\u6dfb\u6642\u9593\uff1a\u6642\u5e8f\u8cc7\u6599\u5efa\u6a21\u6280\u8853"}]},{"@type":"WebSite","@id":"https:\/\/www.go-diagram.com\/tw\/#website","url":"https:\/\/www.go-diagram.com\/tw\/","name":"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods","description":"","publisher":{"@id":"https:\/\/www.go-diagram.com\/tw\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.go-diagram.com\/tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/www.go-diagram.com\/tw\/#organization","name":"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods","url":"https:\/\/www.go-diagram.com\/tw\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.go-diagram.com\/tw\/#\/schema\/logo\/image\/","url":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2025\/03\/go-diagram-logo.png","contentUrl":"https:\/\/www.go-diagram.com\/tw\/wp-content\/uploads\/sites\/3\/2025\/03\/go-diagram-logo.png","width":340,"height":62,"caption":"Go Diagram Traditional Chinese - Proven AI Workflows &amp; Modern Tech Methods"},"image":{"@id":"https:\/\/www.go-diagram.com\/tw\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/05a897b07530dd5607bd8a29719b1d6c","name":"vpadmin","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.go-diagram.com\/tw\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56e0eb902506d9cea7c7e209205383146b8e81c0ef2eff693d9d5e0276b3d7e3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56e0eb902506d9cea7c7e209205383146b8e81c0ef2eff693d9d5e0276b3d7e3?s=96&d=mm&r=g","caption":"vpadmin"},"sameAs":["https:\/\/www.go-diagram.com"],"url":"https:\/\/www.go-diagram.com\/tw\/author\/vpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/posts\/1755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":0,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/media\/1756"}],"wp:attachment":[{"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.go-diagram.com\/tw\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}