{"id":273119,"date":"2021-01-11T10:30:32","date_gmt":"2021-01-11T02:30:32","guid":{"rendered":"http:\/\/4563.org\/?p=273119"},"modified":"2021-01-11T10:30:32","modified_gmt":"2021-01-11T02:30:32","slug":"%e7%94%a8%e5%85%b3%e7%b3%bb%e5%9e%8b%e6%95%b0%e6%8d%ae%e5%ba%93%e5%ad%98%e5%82%a8%e6%9f%a5%e8%af%a2%e6%97%b6%e5%ba%8f%e6%95%b0%e6%8d%ae%e6%80%8e%e4%b9%88%e6%a0%b7%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=273119","title":{"rendered":"\u7528\u5173\u7cfb\u578b\u6570\u636e\u5e93\u5b58\u50a8\u67e5\u8be2\u65f6\u5e8f\u6570\u636e\u600e\u4e48\u6837\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u7528\u5173\u7cfb\u578b\u6570\u636e\u5e93\u5b58\u50a8\u67e5\u8be2\u65f6\u5e8f\u6570\u636e\u600e\u4e48\u6837\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rogergood <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u5728\u8c03\u7814\u65f6\u5e8f\u6570\u636e\uff08\u6bd4\u5982\u673a\u5668\u7684\u76d1\u63a7\u6570\u636e\uff09\u7684\u5b58\u50a8\u548c\u67e5\u8be2\uff0c\u770b\u5230\u6709\u4e00\u4e2a TimescaleDB \u662f\u57fa\u4e8e PostgreSQL \u7684\uff0c\u6bd4\u8f83\u597d\u5947\u5173\u7cfb\u578b\u6570\u636e\u5e93\u80fd\u6bd4\u8f83\u9ad8\u6548\u5730\u5904\u7406\u73b0\u5728\u8fd9\u79cd\u6570\u636e\u91cf\u5f88\u5927\u7684\u65f6\u5e8f\u6570\u636e\u5417\uff1f\u6709\u5728\u5b9e\u9645\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u8fc7\u7684\u670b\u53cb\u4e86\u89e3\u8fd9\u4e2a\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4902948\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : opengps <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u5565\u592a\u5927\u95ee\u9898\u3002\u4e3b\u8981\u662f io \u4f4e\u3002\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6570\u636e\u8bfb\u5199\u7ed3\u6784\u6574\u4f53\u590d\u6742\uff0c\u4f1a\u6709\u4e00\u4e9b\u903b\u8f91\u5f71\u54cd io \u6307\u6807                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902949\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : funky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ebf\u4e0a\u6b63\u5728\u4f7f\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902950\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : funky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u53ef\u4ee5\u770b\u770b prometheus \u81ea\u5e26\u7684\u5b58\u50a8\u65f6\u5e8f\u6570\u636e\u5e93 TSDB,\u5982\u679c\u4f60\u8981\u5b9e\u73b0\u76d1\u63a7\u7cfb\u7edf,\u81ea\u5df1\u5199\u4e2a proxy \u501f\u52a9 prometheus \u4e5f\u662f\u53ef\u4ee5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902951\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rockyou12 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             TimescaleDB \u6027\u80fd\u8fd8\u662f\u5f88\u9ad8\u4e86\uff0c\u751f\u4ea7\u7528\u5176\u5b9e\u6ca1\u95ee\u9898\u7684\uff0c\u7279\u522b\u662f\u4e00\u822c\u7684\u5173\u7cfb\u6570\u636e\u548c\u65f6\u5e8f\u6570\u636e\u53ef\u4ee5\u7528\u4e00\u4e2a\u5e93\u3002\u5b83\u73b0\u5728\u6700\u5927\u95ee\u9898\u8fd8\u662f\u538b\u7f29\u6bd4\u592a\u4f4e\u4e86\uff0c\u6bd4\u8f83\u5403\u786c\u76d8\u3002<\/p>\n<p>\u6309\u7167\u4ed6\u4eec\u81ea\u5df1\u7684 benckmark\uff0c\u5728\u9ad8\u8d1f\u8f7d\u4e0b timescaledb \u6027\u80fd\u6bd4 influxdb \u8fd8\u9ad8\u51fa\u4e00\u5927\u622a\u3002\u4f46\u73b0\u5728 influxdb2.0 \u53d1\u5e03\u800c\u4e14\u5feb\u7a33\u5b9a\u4e86\uff0c\u4e0d\u77e5\u9053\u63d0\u5347\u591a\u5c11<br \/>https:\/\/blog.timescale.com\/blog\/timescaledb-vs-influxdb-for-time-series-data-timescale-influx-sql-nosql-36489299877\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : rogergood <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @funky \u60f3\u95ee\u4e00\u4e0b\uff0c\u5177\u4f53\u7684\u6570\u636e\u89c4\u6a21\u65b9\u4fbf\u900f\u9732\u5417\uff0c\u6bd4\u5982\u8bf4 metric \u7684\u4e2a\u6570\u548c device \u7684\u4e2a\u6570\uff1f \u60f3\u6839\u636e\u8fd9\u4e2a\u5bf9 timescaldb \u7684\u5199\u5165 io \u548c\u78c1\u76d8\u5360\u7528\u5728\u7ebf\u4e0a\u73af\u5883\u7684\u8868\u73b0\u6709\u4e2a\u5927\u6982\u7684\u8ba4\u8bc6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rockyou12 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @rogergood prometheus \u662f\u4e13\u4e3a\u8fd0\u7ef4\u76d1\u63a7\u8bbe\u8ba1\u7684\uff0c\u5982\u679c\u4f60\u4eec\u662f iot \u6216\u5176\u5b83\u4e1a\u52a1\u5b83\u7684\u6a21\u5f0f\u4e0d\u592a\u5408\u9002\uff0c\u5f53\u524d\u5176\u5b9e\u65f6\u5e8f\u6570\u636e\u5e93\u6211\u89c9\u5f97\u9760\u8c31\u6709 3 \u4e2a\u4f60\u53ef\u4ee5\u8054\u7cfb\u4ed6\u4eec\u6216\u627e\u627e\u4ed6\u4eec\u7684\u6027\u80fd\u6d4b\u8bd5\u6587\u7ae0\uff1a<\/p>\n<p>influxdb\uff0c\u6700\u8001\u6700\u7a33\u5b9a\uff0c\u6709\u5f88\u5f3a\u5927\u751f\u6001\uff0c2.0 \u7248\u84c4\u52bf\u5f85\u53d1<br \/>timescale\uff0c\u6027\u80fd\u4e0d\u9519\uff0c\u7531\u4e8e\u57fa\u4e8e pg \u6240\u6709\u53ef\u4ee5\u4f7f\u7528 pg \u7684\u751f\u6001\uff0c\u5f00\u53d1\u975e\u5e38\u65b9\u4fbf\u3002\u800c\u4e14\u5404\u65b9\u9762\u6027\u80fd\u5176\u5b9e\u6bd4 influx \u5f3a\uff08\u81f3\u5c11 infuxdb1 \uff09<br \/>tdengine\uff0c\u56fd\u5185\u56e2\u961f\u4ea7\u54c1\uff0c\u6027\u80fd\u603b\u4f53\u5e94\u8be5\u662f\u6700\u5f3a\u7684\uff0c\u4f46\u751f\u6001\u8fd8\u4e0d\u5b8c\u5584\uff0c\u6709\u4e9b\u529f\u80fd\u53ef\u80fd\u8fd8\u9700\u8981\u6253\u78e8\u4f46\u7455\u4e0d\u63a9\u745c<\/p>\n<p>\u8fd9\u51e0\u4e2a\u6570\u636e\u5e93\u57fa\u672c\u6bcf\u79d2\u5199\u5165\u51e0\u5341\u4e07\u7684\u6307\u6807\u70b9\u4f4d\u90fd\u662f\u8f7b\u8f7b\u677e\u677e\uff0c\u5177\u4f53\u6027\u80fd\u8fd8\u662f\u8981\u770b\u4f60\u73af\u5883                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : funky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @rogergood \u3000\u4f60\u662f\u95ee\u76d1\u63a7\u8fd8\u662f timescaledb,timescaledb \u538b\u7f29\u592a\u5360\u78c1\u76d8\u7a7a\u95f4\u4e86,\u5bf9\u6570\u636e\u7684\u538b\u7f29\u6bd4\u4f8b\u4e0d\u9ad8,\u4f46\u662f\u9762\u5bf9 iot \u6570\u636e\u90fd\u662f\u5ea6\u91cf\u6570\u636e,\u4e00\u822c\u4e0d\u662f\u5f88\u5927,\u5f00\u6e90\u7248\u672c\u53ef\u4ee5\u5199\u4e2a crontab \u5b9a\u65f6\u6e05\u7406\u4e0d\u7528\u7684 chunks,\u5546\u4e1a\u7248\u672c\u652f\u6301\u6dfb\u52a0 schedule job,\u652f\u6301\u5728\u6570\u636e\u5e93\u5c42\u9762\u6267\u884c\u4efb\u52a1,\u5199\u5165 io \u65b9\u9762,\u6279\u91cf\u5199\u5165,\u7279\u522b\u662f iot \u6570\u636e\u8fd8\u597d,\u5f00\u6e90\u7248\u672c\u7684 timescaledb \u4e0d\u652f\u6301\u96c6\u7fa4\u6a21\u5f0f,\u8981\u662f\u652f\u6301\u7684\u8bdd\u5c31 666 \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4902955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : funky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bf9\u4e86,prometheus \u53ef\u4ee5\u4f7f\u7528 timescaledb \u4f5c\u4e3a\u9ed8\u8ba4\u5b58\u50a8\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u5173\u7cfb\u578b\u6570\u636e\u5e93\u5b58\u50a8\u67e5\u8be2\u65f6\u5e8f\u6570\u636e\u600e\u4e48&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/273119"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273119"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/273119\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273119"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}