{"id":72475,"date":"2023-09-12T18:22:07","date_gmt":"2023-09-12T10:22:07","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=72475"},"modified":"2023-09-12T18:22:07","modified_gmt":"2023-09-12T10:22:07","slug":"dba-pilosa","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/dba-pilosa.html","title":{"rendered":"\u4f4d\u56fe\u6570\u636e\u5e93\uff1aPilosa\u67e5\u8be2\u5341\u4ebf\u7ea7\u51fa\u79df\u8f66\u642d\u4e58\u6570\u636e\u6848\u4f8b"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Pilosa \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5206\u5e03\u5f0f\u5185\u5b58\u4f4d\u56fe\u7d22\u5f15\uff0c\u53ef\u4ee5\u9488\u5bf9\u6d77\u91cf\u6570\u636e\u96c6\u5bf9\u67e5\u8be2\u8fdb\u884c\u52a0\u901f\uff0c\u9002\u5408\u5728\u7528\u6237\u6570\u636e\u67e5\u8be2\u4ee5\u53ca\u7528\u6237\u753b\u50cf\u7b49\u573a\u666f\u4f7f\u7528\uff0c\u4f46\u5728\u53e6\u5916\u4e00\u65b9\u9762\uff0c\u975e\u7a00\u758f\u7684\u5173\u7cfb\u578b\u6570\u636e\u662f\u5426\u4e5f\u53ef\u4ee5\u4f7f\u7528 Pilosa \u6765\u67e5\u8be2\uff1f<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Pilosa \u6700\u521d\u662f\u4e3a\u5206\u6790\u7528\u6237\u5c5e\u6027\u6570\u636e\uff08\u7a00\u758f\u5e76\u4e14\u9ad8\u57fa\u6570\uff09\u800c\u51c6\u5907\u7684\u3002\u6240\u4ee5\u5f53\u6211\u4eec\u51c6\u5907\u56f4\u7ed5 Pilosa \u521b\u5efa\u4e00\u5bb6\u516c\u53f8\u65f6\uff0c\u7b2c\u4e00\u6b65\u5c31\u662f\u8bc4\u4f30\u5728\u5176\u4ed6\u7c7b\u578b\u6570\u636e\u4e0a\u7684\u6548\u679c\u3002<\/p>\n \u867d\u7136\u7528\u6237\u7ec6\u5206\u7684\u5c5e\u6027\u6570\u91cf\u975e\u5e38\u591a\uff0c\u4f46\u6570\u636e\u5374\u975e\u5e38\u7a00\u758f\uff0c\u8fd9\u662f\u56e0\u4e3a\u5f88\u591a\u5c5e\u6027\u53ea\u4e0e\u5c11\u6570\u4eba\u76f8\u5173\u8054\uff0c\u5927\u90e8\u5206\u4eba\u53ea\u6709\u51e0\u767e\u4e2a\u6216\u51e0\u5343\u4e2a\u5c5e\u6027\u3002 Pilosa \u53ef\u4ee5\u975e\u5e38\u4f18\u96c5\u5730\u5904\u7406\u8fd9\u79cd\u573a\u666f\uff0c\u5b83\u80fd\u591f\u5728\u51e0\u6beb\u79d2\u5185\u7b5b\u9009\u6570\u767e\u4e07\u4e2a\u5c5e\u6027\u7684\u4efb\u610f\u7ec4\u5408\uff0c\u4ece\u800c\u627e\u5230\u6ee1\u8db3\u8be5\u6761\u4ef6\u7684\u7528\u6237\u3002<\/p>\n <\/p>\n \u56fe\u7247\u7531 Umbel \u63d0\u4f9b<\/em><\/p>\n \u5bf9\u4e8e\u7528\u6237\u7ec6\u5206\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 Pilosa \u5904\u7406\u8fd9\u7c7b\u95ee\u9898\u3002\u7136\u800c\uff0c\u5982\u679c\u6211\u4eec\u5e0c\u671b Pilosa \u6210\u4e3a\u901a\u7528\u7d22\u5f15\uff0c\u90a3\u4e48\u5b83\u5c06\u4e0d\u4ec5\u80fd\u652f\u6301\u5206\u6bb5\u67e5\u8be2\u800c\u4e14\u4e0d\u4ec5\u518d\u7a00\u758f\u800c\u9ad8\u57fa\u6570\u7684\u6570\u636e\u4e0a\u5de5\u4f5c\u3002<\/p>\n \u4e3a\u4e86\u6d4b\u8bd5 Pilosa\uff0c\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u5177\u6709\u5bc6\u96c6\u7684\uff0c\u8f83\u4f4e\u57fa\u6570\u7684\u6570\u636e\u96c6\uff0c\u5e76\u6700\u597d\u662f\u80fd\u901a\u8fc7\u5176\u4ed6\u89e3\u51b3\u65b9\u6848\u8fdb\u884c\u63a2\u8ba8\uff0c\u4ee5\u4fbf\u8bc4\u4f30\u6211\u4eec\u5982\u4f55\u5904\u7406\u8be5\u95ee\u9898\u3002<\/p>\n \u7ebd\u7ea6\u5e02\u653f\u5e9c\u5f00\u653e\u7684\u5341\u4ebf\u51fa\u79df\u8f66\u642d\u4e58\u6570\u636e\u96c6\uff08\u4e0b\u8f7d\u8bf7\u53c2\u9605\u6587\u672b\u94fe\u63a5 4\uff09\u5b8c\u7f8e\u7b26\u5408\u4ee5\u4e0a\u6761\u4ef6\uff0c\u6709\u5f88\u591a\u5206\u6790\u8be5\u6570\u636e\u7684\u6587\u7ae0\uff0c\u4e0b\u9762\u5217\u51fa\u7684\u4ec5\u4ec5\u662f\u5c11\u6570\u51e0\u4e2a\u94fe\u63a5\uff1a<\/p>\n \uff08\u8bd1\u8005\u6ce8\uff1a\u6570\u636e\u96c6\u4e2d\u5305\u542b\u4e0a\u4e0b\u8f66\u65f6\u95f4\u3001\u5730\u70b9\u3001\u8ddd\u79bb\u3001\u8f66\u8d39\u3001\u652f\u4ed8\u65b9\u5f0f\u3001\u4e58\u5ba2\u4eba\u6570\u7b49\u5b57\u6bb5\uff09<\/p>\n \u5bf9\u6211\u4eec\u7279\u522b\u6709\u7528\u7684\u662f Mark Litwintschik \u548c\u4ed6\u7f16\u5236\u7684\u6027\u80fd\u6bd4\u8f83\u8868\u7684\u7cfb\u5217\u6587\u7ae0\uff0c\u8fd9\u662f\u7ed3\u679c\u8868\u683c\u4f9b\u53c2\u8003\uff0c\u5176\u4e2d\u5206\u522b\u4f7f\u7528\u4e86 Spark, PostgreSQL, Elasticsearch \u7b49\u6570\u636e\u5e93\u6765\u67e5\u8be2\u3002<\/p>\n <\/p>\n \u6211\u4eec\u5bf9 Pilosa \u6267\u884c\u4e86\u76f8\u540c\u7684\u56db\u4e2a\u67e5\u8be2\uff0c\u4ee5\u4fbf\u6211\u4eec\u53ef\u4ee5\u540c\u5176\u4ed6\u89e3\u51b3\u65b9\u6848\u7684\u6027\u80fd\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n \u4ee5\u4e0b\u662f\u6bcf\u4e2a\u67e5\u8be2\u7684\u63cf\u8ff0\uff1a<\/p>\n \u73b0\u5728\u6211\u4eec\u6709\u4e00\u4e2a\u6570\u636e\u96c6\u548c\u4e00\u7ec4\u67e5\u8be2\uff0c\u90fd\u8fdc\u8fdc\u8d85\u51fa\u4e86 Pilosa \u7684\u6700\u9002\u5408\u505a\u7684\u9886\u57df\uff0c\u4ee5\u53ca\u5bf9\u4e0d\u540c\u786c\u4ef6\/\u8f6f\u4ef6\u7ec4\u5408\u7684\u957f\u671f\u6027\u80fd\u5bf9\u6bd4\u3002<\/p>\n \u5982\u679c\u60a8\u60f3\u4e86\u89e3\u5982\u4f55\u5728 Pilosa \u4e2d\u5efa\u6a21\u6570\u636e\u96c6\u5e76\u6784\u5efa\u67e5\u8be2\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u8fd0\u8f93\u7528\u4f8b\u6587\u7ae0 [6]\u3002<\/p>\n \u73b0\u5728\u6211\u4eec\u5e76\u975e\u53ea\u6709\u6570\u5343\u4e07\u7684 boolean \u5c5e\u6027\uff0c\u5176\u4e2d\u4e00\u4e9b\u5c5e\u6027\u5177\u6709\u66f4\u590d\u6742\u7684\u7c7b\u578b\uff1a\u6574\u6570\uff0c\u6d6e\u70b9\uff0c\u65f6\u95f4\u6233\u7b49\u7b49\u3002\u603b\u800c\u8a00\u4e4b\uff0c\u76f8\u6bd4\u4e4b\u4e0b\u8fd9\u4e2a\u6570\u636e\u96c6\u66f4\u9002\u5408\u7528\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3002<\/p>\n \u6211\u4eec\u5728 AWS c4.8xlarge \u5b9e\u4f8b\u4e0a\u67b6\u8d77\u4e86\u4e00\u4e2a 3 \u8282\u70b9\u7684 Pilosa \u96c6\u7fa4\uff0c\u5e76\u9644\u52a0\u4e86\u4e00\u4e2a c4.8xlarge \u5b9e\u4f8b\u6765\u52a0\u8f7d\u6570\u636e\u3002\u6211\u4eec\u4f7f\u7528 pdk \u5de5\u5177\u5c06\u6570\u636e\u52a0\u8f7d\u5230 Pilosa \u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u884c\u53c2\u6570\uff1a<\/p>\n \u8fd9\u4e2a\u8fc7\u7a0b\u9700\u8981\u5927\u7ea6 2 \u5c0f\u65f6 50 \u5206\u949f\uff0c\u5176\u4e2d\u5305\u62ec\u4ece S3 \u4e0b\u8f7d\u6240\u6709\u7684 csv \u6587\u4ef6\uff0c\u89e3\u6790\u5b83\u4eec\uff0c\u5e76\u5c06\u6570\u636e\u52a0\u8f7d\u5230 Pilosa \u4e2d\u3002<\/p>\n \u5982\u679c\u6211\u4eec\u5c06\u7ed3\u679c\u6dfb\u52a0\u5230 Mark \u8868\u4e2d\uff0c\u5b83\u5c06\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n <\/p>\n \u8bf7\u6ce8\u610f\uff0c\u6bcf\u4e2a\u7ec4\u5408\u7684\u8f6f\u786c\u4ef6\u90fd\u4e0d\u540c\uff0c\u6240\u4ee5\u76f4\u63a5\u6bd4\u8f83\u662f\u5f88\u56f0\u96be\u7684\u3002<\/p>\n \u6211\u4eec\u5e94\u8be5\u6ce8\u610f\u5230\uff0cPilosa \u5728\u201c\u67e5\u8be21\u201d\u4e0a\u6709\u4e00\u4e9b\u201c\u4f5c\u5f0a\u201d\uff08\u7531\u4e8e\u5176\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0cPilosa \u5df2\u7ecf\u9884\u5148\u8ba1\u7b97\u4e86\u6b64\u7ed3\u679c\uff09\uff0c\u56e0\u6b64\u67e5\u8be2\u65f6\u95f4\u5927\u90e8\u5206\u662f\u7f51\u7edc\u5ef6\u8fdf\u3002<\/p>\n \u7136\u800c\uff0c\u5bf9\u4e8e\u5176\u4f59\u7684\u67e5\u8be2\uff0cPilosa \u8868\u73b0\u975e\u5e38\u51fa\u8272 \u2013 \u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u80dc\u8fc7\u5f02\u6784\u786c\u4ef6\uff0c\u5982\u591a GPU \u914d\u7f6e\u3002\u67e5\u8be23 \u7684 0.177s \u65f6\u95f4\u7279\u522b\u4ee4\u4eba\u5403\u60ca\uff0c\u4e0e Nvidia Pascal Titan Xs \u7684\u8868\u73b0\u76f8\u4f3c\u3002\u770b\u8d77\u6765 kdb+\/q \u4e5f\u5f88\u597d\uff0c\u4f46\u662f\u8bf7\u8bb0\u4f4f\uff0cXeon Phi 7210 \u6bcf\u4e2a\u82af\u7247\u6709 256 \u4e2a\u786c\u4ef6\u7ebf\u7a0b\uff0c\u4ee5\u53ca 16GB \u7684\u5185\u5b58\u3002\u8fd9\u4f7f\u5b83\u4eec\u7684\u6027\u80fd\u548c\u5185\u5b58\u5e26\u5bbd\u66f4\u63a5\u8fd1\u4e8e GPU\u3002\u5f53\u7136\u4ef7\u683c\u4e5f\u5f88\u8d35\uff0c\u7ea6 2400 \u7f8e\u5143\u3002<\/p>\n \u5bf9\u4e8e\u6211\u4eec\u6765\u8bf4\uff0c\u8fd9\u4e9b\u7ed3\u679c\u8db3\u4ee5\u8ba9\u6211\u4eec\u82b1\u8d39\u66f4\u591a\u7684\u65f6\u95f4\u4f18\u5316 Pilosa \u7528\u4e8e\u5176\u4ed6\u65b9\u9762\u3002\u7531\u4e8e Pilosa \u7684\u5185\u90e8\u4f4d\u56fe\u538b\u7f29\u683c\u5f0f\u6ca1\u6709\u9488\u5bf9\u5bc6\u96c6\u6570\u636e\u8fdb\u884c\u4f18\u5316\uff0c\u6211\u4eec\u5728\u8fd9\u65b9\u9762\u8fdb\u884c\u4e86\u66f4\u591a\u7684\u7814\u7a76\uff0c\u5e76\u83b7\u5f97\u4e86\u4ee4\u4eba\u632f\u594b\u7684\u7ed3\u679c\uff0c\u6240\u4ee5\u6211\u4eec\u6709\u7406\u7531\u8ba4\u4e3a\u8fd9\u4e9b\u6570\u5b57\u8fd8\u6709\u5f88\u5927\u7684\u6539\u8fdb\u7a7a\u95f4\u3002<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.yunweipai.com\/archives\/19506.html<\/a><\/p>\n |