{"id":382,"date":"2009-08-13T21:29:19","date_gmt":"2009-08-13T13:29:19","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=382"},"modified":"2009-10-24T00:37:18","modified_gmt":"2009-10-23T16:37:18","slug":"perfomance-of-portupgrade","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2009\/08\/13\/perfomance-of-portupgrade\/","title":{"rendered":"portupgrade \u7684\u6548\u80fd"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[en]  <\/strong><\/p><p>\u6709\u4e00\u53f0\u6a5f\u5668\u7576\u4e45\u6c92\u66f4\u65b0\u653e\u90a3\u908a\u7d66\u4ed6\u8d70\u3001\u524d\u5e7e\u65e5\u60f3\u8981\u7528 portupgrade \u66f4\u65b0\u90a3\u4e0b\u624d\u767c\u73fe\u7576\u6162\u3002\u90a3\u53f0\u6a5f\u5668\u5dee\u4e0d\u591a\u88dd\u4e86\u4e03\u767e\u96f6\u96bb\u5957\u4ef6\u3001\u7576\u591a\u3002\u67e5\u4e86\u4e00\u4e0b\u624d\u767c\u73fe\u8b1b\u5149\u662f\u91cd\u65b0\u5efa\u7acb pkgdb.db \u5c31\u82b1\u7576\u591a\u6642\u9593\u3001\u5c31\u60f3\u5230\u6703\u662f\u8cc7\u6599\u5eab\u9078\u64c7\u7684\u554f\u984c\u3002\u9019\u53f0\u6a5f\u5668\u672c\u6210\u7684 pkgdb.db \u662f\u7528\u00a0dbm_hash\u3001\u986f\u7136\u6bcb\u662f\u7528 bdb\u3001\u91cd\u65b0\u88dd\u4e86\u6709\u958b bdb \u7684 portupgrade\u3001\u91cd\u65b0\u505a\u51fa\u4f86\u7684 pkgdb.db \u5c31\u8b8a\u6210\u00a0bdb_btree \u4e86\u3002\u901f\u5ea6\u6b63\u7d93\u6709\u5dee\u3001\u7576\u660e\u986f\u662f\u8b1b\u5957\u4ef6\u591a\u90a3\u4e0b\u3001\u7528 bdb \u9084\u662f\u8f03\u597d\u7684\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[en] \u6709\u4e00\u53f0\u6a5f\u5668\u7576\u4e45\u6c92\u66f4\u65b0\u653e\u90a3\u908a\u7d66\u4ed6\u8d70\u3001\u524d\u5e7e\u65e5\u60f3\u8981\u7528 portupgrade \u66f4\u65b0\u90a3\u4e0b\u624d\u767c\u73fe\u7576\u6162\u3002\u90a3\u53f0\u6a5f\u5668\u5dee\u4e0d\u591a\u88dd\u4e86\u4e03\u767e\u96f6\u96bb\u5957\u4ef6\u3001\u7576\u591a\u3002\u67e5\u4e86\u4e00\u4e0b\u624d\u767c\u73fe\u8b1b\u5149\u662f\u91cd\u65b0\u5efa\u7acb pkgdb.db \u5c31\u82b1\u7576\u591a\u6642\u9593\u3001\u5c31\u60f3\u5230\u6703\u662f\u8cc7\u6599\u5eab\u9078\u64c7\u7684\u554f\u984c\u3002\u9019\u53f0\u6a5f\u5668\u672c\u6210\u7684 pkgdb.db \u662f\u7528\u00a0dbm_hash\u3001\u986f\u7136\u6bcb\u662f\u7528 bdb\u3001\u91cd\u65b0\u88dd\u4e86\u6709\u958b bdb \u7684 portupgrade\u3001\u91cd\u65b0\u505a\u51fa\u4f86\u7684 pkgdb.db \u5c31\u8b8a\u6210\u00a0bdb_btree \u4e86\u3002\u901f\u5ea6\u6b63\u7d93\u6709\u5dee\u3001\u7576\u660e\u986f\u662f\u8b1b\u5957\u4ef6\u591a\u90a3\u4e0b\u3001\u7528 bdb \u9084\u662f\u8f03\u597d\u7684\u65b9\u6848\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[100,4591,101],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-bdb","tag-freebsd","tag-portupgrade"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=382"}],"version-history":[{"count":2,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/382\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}