{"id":69458,"date":"2018-08-07T08:43:45","date_gmt":"2018-08-07T00:43:45","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=69458"},"modified":"2018-08-06T10:01:28","modified_gmt":"2018-08-06T02:01:28","slug":"hcache-sqlpad","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/hcache-sqlpad.html","title":{"rendered":"\u5982\u4f55\u67e5\u770bLinux\u5f53\u524d\u7f13\u5b58\u5b9e\u7528\u5de5\u5177"},"content":{"rendered":"

Linux\u7528\u6237\u53ef\u80fd\u7ecf\u5e38\u9047\u5230\u7684\u4e00\u4e2a\u95ee\u9898\u662f\u5185\u5b58\u5927\u90e8\u5206\u90fd\u88abBuff\u548cCache\u5360\u7528\u4e86\uff0c\u4f46\u662f\u6709\u65f6\u5019\u6211\u4eec\u60f3\u77e5\u9053\u5230\u5e95Cache\u4e86\u4e9b\u4ec0\u4e48\u5185\u5bb9\u5374\u6ca1\u6709\u4e00\u4e2a\u76f4\u89c2\u597d\u7528\u7684\u5de5\u5177\u3002\u4eca\u5929\u7ed9\u4f60\u4ecb\u7ecd\u4e00\u4e2a\u53ef\u4ee5\u67e5\u770bLinux\u5f53\u524d\u7f13\u5b58\u4e86\u54ea\u4e9b\u6587\u4ef6\u7684\u5c0f\u5de5\u5177hcache\u3002<\/p>\n

hcache<\/strong><\/div>\n

hcache\u662f\u57fa\u4e8epcstat\u7684\uff0cpcstat\u53ef\u4ee5\u67e5\u770b\u67d0\u4e2a\u6587\u4ef6\u662f\u5426\u88ab\u7f13\u5b58\u548c\u6839\u636e\u8fdb\u7a0bpid\u6765\u67e5\u770b\u90fd\u7f13\u5b58\u4e86\u54ea\u4e9b\u6587\u4ef6\u3002hcache\u5728\u5176\u57fa\u7840\u4e0a\u589e\u52a0\u4e86\u67e5\u770b\u6574\u4e2a\u64cd\u4f5c\u7cfb\u7edfCache\u548c\u6839\u636e\u4f7f\u7528Cache\u5927\u5c0f\u6392\u5e8f\u7684\u7279\u6027\u3002<\/p>\n

\u5b98\u7f51:https:\/\/github.com\/silenceshell\/hcache<\/p>\n

\u5b89\u88c5<\/strong><\/span><\/div>\n

hcache\u662f\u4f7f\u7528GO\u5f00\u53d1\u7684\uff0c\u5b89\u88c5\u975e\u5e38\u7b80\u5355\uff0c\u5f00\u7bb1\u5373\u7528\u3002<\/p>\n

\"\"<\/p>\n

\u4f7f\u7528<\/strong><\/span><\/div>\n

\u67e5\u770b\u4f7f\u7528Cache\u6700\u591a\u76843\u4e2a\u8fdb\u7a0b\u3002<\/p>\n

\"\"<\/p>\n

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u663e\u793acache\u6587\u4ef6\u7684\u5168\u8def\u5f84\uff0c\u4f1a\u6bd4\u8f83\u957f\u3002\u53ef\u4ee5\u4f7f\u7528--bname\u9009\u9879\u6765\u4ec5\u663e\u793a\u6587\u4ef6\u540d\u3002<\/p>\n

\"\"<\/p>\n

\u67e5\u770b\u6307\u5b9a\u8fdb\u7a0b\u7684Cache\u4f7f\u7528\u60c5\u51b5\u3002<\/p>\n

\"\"<\/p>\n

\u53e6\u5916\u8fd8\u53ef\u4f7f\u7528\u6307\u5b9a\u683c\u5f0f\u8f93\u51fa\uff0c\u6bd4\u5982\uff1aJSON\u3001\u7eaf\u6587\u672c\u3002\u66f4\u591a\u4f7f\u7528\u65b9\u6cd5\u53ef\u53c2\u8003hcache -h\u3002<\/p>\n

SQLPad<\/strong><\/div>\n

SQLPad\u662f\u4e00\u4e2a\u57fa\u4e8eNodejs\u5f00\u53d1\u7684\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8fd0\u884cSQL\u67e5\u8be2\u5e76\u5bf9\u7ed3\u679c\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a\u5de5\u5177\u3002SQLPad\u652f\u6301\u7684\u6570\u636e\u5e93\u975e\u5e38\u591a\uff0c\u6bd4\u5982\uff1aMySQL, Postgres, SQL Server, Vertica, Crate, Presto\u7b49\u3002<\/p>\n

\u5b98\u7f51\uff1ahttp:\/\/rickbergfalk.github.io\/sqlpad\/<\/p>\n

\u5b89\u88c5<\/strong><\/span><\/div>\n