{"id":917,"date":"2024-10-27T11:37:16","date_gmt":"2024-10-27T03:37:16","guid":{"rendered":"https:\/\/lingbo.online\/?p=917"},"modified":"2024-10-27T11:37:37","modified_gmt":"2024-10-27T03:37:37","slug":"database-2","status":"publish","type":"post","link":"https:\/\/lingbo.online\/index.php\/learning_note\/database-2\/","title":{"rendered":"[\u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba1\u5e08]\u6570\u636e\u5e93\u8bbe\u8ba1\u6848\u4f8b\u5206\u6790"},"content":{"rendered":"<h3>\u7d22\u5f15\u4e0e\u89c6\u56fe<\/h3>\n<p>\u6570\u636e\u5e93\u7d22\u5f15\uff1a\u63d0\u5347\u67e5\u8be2\u6548\u7387\uff1b\u964d\u4f4e\u6dfb\u52a0\u3001\u4fee\u6539\u3001\u5220\u9664\u6548\u7387\uff1b\u91c7\u7528B\u6811\uff0cB+\u6811\u7b49<\/p>\n<h3>\u5173\u7cfb\u7684\u4e09\u79cd\u7c7b\u578b<\/h3>\n<ul>\n<li>\u57fa\u672c\u5173\u7cfb\uff08\u901a\u5e38\u53c8\u79f0\u4e3a\u57fa\u672c\u8868\u6216\u57fa\u8868\uff09\uff1a\u5b9e\u9645\u5b58\u5728\u7684\u8868\uff0c\u5b9e\u9645\u5b58\u50a8\u6570\u636e\u7684\u903b\u8f91\u8868\u793a<\/li>\n<li>\u67e5\u8be2\u8868\uff1a\u67e5\u8be2\u7ed3\u679c\u5bf9\u5e94\u7684\u8868<\/li>\n<li>\u89c6\u56fe\u8868\uff1a\u7531\u57fa\u8868\u6216\u5176\u4ed6\u89c6\u56fe\u5bfc\u51fa\u7684\u8868\uff0c\u672c\u8eab\u4e0d\u72ec\u7acb\u5b58\u50a8\uff0c\u6570\u636e\u5e93\u53ea\u5b58\u653e\u5b83\u7684\u5b9a\u4e49\uff0c\u5e38\u79f0\u4e3a\u865a\u8868\uff0c\u5176\u5185\u5bb9\u7531\u67e5\u8be2\u5b9a\u4e49\uff08\u4ec5\u5b58\u653eSQL\u67e5\u8be2\u8bed\u53e5\uff09\u3002\u540c\u771f\u5b9e\u7684\u8868\u4e00\u6837\uff0c\u89c6\u56fe\u5305\u542b\u4e00\u7cfb\u5217\u5e26\u6709\u540d\u79f0\u7684\u5217\u548c\u884c\u6570\u636e\u3002\u4f46\u662f\uff0c\u89c6\u56fe\u5e76\u6ca1\u6709\u771f\u6b63\u7684\u5b58\u50a8\u8fd9\u4e9b\u6570\u636e\uff0c\u800c\u662f\u901a\u8fc7\u67e5\u8be2\u539f\u59cb\u8868\u52a8\u6001\u751f\u6210\u6240\u9700\u8981\u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n<h4>\u89c6\u56fe\u7684\u4f18\u70b9<\/h4>\n<ul>\n<li>\u89c6\u56fe\u80fd\u591f\u7b80\u5316\u7528\u6237\u7684\u64cd\u4f5c<\/li>\n<li>\u89c6\u56fe\u673a\u5236\u53ef\u4ee5\u4f7f\u7528\u6237\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u67e5\u8be2\u540c\u4e00\u6570\u636e<\/li>\n<li>\u89c6\u56fe\u5bf9\u6570\u636e\u5e93\u91cd\u6784\u63d0\u4f9b\u4e86\u4e00\u5b9a\u7a0b\u5ea6\u7684\u903b\u8f91\u72ec\u7acb\u6027<\/li>\n<li>\u89c6\u56fe\u53ef\u4ee5\u5bf9\u673a\u5bc6\u7684\u6570\u636e\u63d0\u4f9b\u5b89\u5168\u4fdd\u62a4<\/li>\n<\/ul>\n<p><strong>\u7269\u5316\u89c6\u56fe<\/strong>\uff1a\u5c06\u89c6\u56fe\u7684\u5185\u5bb9\u7269\u7406\u5b58\u50a8\u8d77\u6765\uff0c\u5176\u6570\u636e\u968f\u539f\u59cb\u8868\u53d8\u5316\uff0c\u540c\u6b65\u66f4\u65b0\u3002\u5b83\u4e0d\u662f\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u865a\u62df\u89c6\u56fe\uff0c\u662f\u5b9e\u4f53\u5316\u89c6\u56fe\uff0c\u5176\u672c\u8eab\u4f1a\u5b58\u50a8\u6570\u636e\u3002\u540c\u65f6\u5f53\u539f\u59cb\u8868\u4e2d\u7684\u6570\u636e\u66f4\u65b0\u65f6\uff0c\u7269\u5316\u89c6\u56fe\u4e5f\u4f1a\u66f4\u65b0\u3002<\/p>\n<h4>\u5206\u5e03\u5f0f\u6570\u636e\u5e93<\/h4>\n<p>\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u53ef\u4ee5\u5206\u4e3a\u5206\u533a\u548c\u5206\u8868\uff0c\u5206\u533a\u548c\u5206\u8868\u7684\u5171\u6027\u4e3a\uff1a<br \/>\n1\u3001\u90fd\u9488\u5bf9\u6570\u636e\u8868<br \/>\n2\u3001\u90fd\u4f7f\u7528\u4e86\u5206\u5e03\u5f0f\u5b58\u50a8<br \/>\n3\u3001\u90fd\u63d0\u5347\u4e86\u67e5\u8be2\u6548\u7387<br \/>\n4\u3001\u90fd\u964d\u4f4e\u4e86\u6570\u636e\u5e93\u7684\u9891\u7e41I\/O\u538b\u529b\u503c\u3002<br \/>\n\u4f46\u662f\uff0c\u5206\u533a\u65b9\u6cd5\u903b\u8f91\u4e0a\u8fd8\u662f\u4e00\u5f20\u8868\uff0c\u5206\u8868\u65b9\u6cd5\u903b\u8f91\u4e0a\u5df2\u7ecf\u662f\u591a\u5f20\u8868<br \/>\n\u5e38\u89c1\u7684\u5206\u533a\u65b9\u5f0f\u5305\u62ec\uff1a\u8303\u56f4\u5206\u533a\u3001\u54c8\u5e0c\u5206\u533a\u548c\u5217\u8868\u5206\u533a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5206\u533a\u7b56\u7565<\/th>\n<th>\u5206\u533a\u65b9\u5f0f<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u8303\u56f4\u5206\u533a\u3010Range\u3011<\/td>\n<td>\u6309\u6570\u636e\u8303\u56f4\u503c\u6765\u4f5c\u5206\u533a<\/td>\n<td>\u4f8b\uff1a\u6309\u7528\u6237\u7f16\u53f7\u5206\u533a\uff0c0-99999\u6620\u5c04\u5230\u5206\u533aA\uff0c100000-199999\u6620\u5c04\u5230\u5206\u533aB<\/td>\n<\/tr>\n<tr>\n<td>\u6563\u5217\u5206\u533a\u3010HASH\u3011<\/td>\n<td>\u901a\u8fc7key\u8fdb\u884chash\u8fd0\u7b97\u5206\u533a<\/td>\n<td>\u4f8b\uff1a\u53ef\u4ee5\u628a\u6570\u636e\u5206\u914d\u5230\u4e0d\u540c\u7684\u5206\u533a\uff0c\u8fd9\u7c7b\u4f3c\u4e8e\u53d6\u4f59\u7684\u64cd\u4f5c\uff0c\u4f59\u6570\u76f8\u540c\u7684\uff0c\u653e\u5728\u4e00\u4e2a\u5206\u533a\u4e0a<\/td>\n<\/tr>\n<tr>\n<td>\u5217\u8868\u5206\u533a\u3010LIST\u3011<\/td>\n<td>\u6839\u636e\u67d0\u5b57\u6bb5\u7684\u67d0\u4e2a\u5177\u4f53\u503c\u8fdb\u884c\u5206\u533a<\/td>\n<td>\u4f8b\uff1a\u957f\u6c99\u7528\u6237\u5206\u6210\u4e00\u4e2a\u533a\uff0c\u5317\u4eac\u7528\u6237\u5206\u6210\u4e00\u4e2a\u533a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u5206\u533a\u7684\u4f18\u70b9<\/h4>\n<ol>\n<li>\u76f8\u5bf9\u4e8e\u5355\u4e2a\u6587\u4ef6\u6216\u8005\u786c\u76d8\uff0c\u5206\u533a\u53ef\u4ee5\u5b58\u50a8\u66f4\u591a\u7684\u6570\u636e<\/li>\n<li>\u6570\u636e\u7ba1\u7406\u6bd4\u8f83\u65b9\u4fbf\uff0c\u6bd4\u5982\u8981\u6e05\u7406\u6216\u5e9f\u5f03\u67d0\u5e74\u7684\u6570\u636e\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u5220\u9664\u8be5\u65e5\u671f\u7684\u5206\u533a\u6570\u636e\u5373\u53ef<\/li>\n<li>\u7cbe\u51c6\u5b9a\u4f4d\u5206\u533a\u67e5\u8be2\u6570\u636e\uff0c\u4e0d\u9700\u8981\u5168\u8868\u626b\u63cf\u67e5\u8be2\uff0c\u5927\u5927\u63d0\u5347\u6570\u636e\u68c0\u7d22\u6548\u7387<\/li>\n<li>\u53ef\u8de8\u591a\u4e2a\u5206\u533a\u78c1\u76d8\u67e5\u8be2\uff0c\u6765\u63d0\u9ad8\u67e5\u8be2\u7684\u541e\u5410\u91cf<\/li>\n<li>\u5728\u6d89\u53ca\u805a\u5408\u51fd\u6570\u67e5\u8be2\u65f6\uff0c\u53ef\u4ee5\u5f88\u5bb9\u6613\u7684\u8fdb\u884c\u6570\u636e\u7684\u5408\u5e76<\/li>\n<\/ol>\n<h3>\u5206\u5e03\u5f0f\u6570\u636e\u5e93<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/youpaiyun.lingbo.online\/2024\/10\/20241027030825662.jpg!\/format\/webp\/lossless\/true\" alt=\"\" \/><br \/>\n\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf-\u7ec4\u6210\uff1a<\/p>\n<ul>\n<li>LDBMS<\/li>\n<li>GDBMS<\/li>\n<li>\u5168\u5c40\u6570\u636e\u5b57\u5178<\/li>\n<li>\u901a\u4fe1\u7ba1\u7406\uff08CM\uff09<\/li>\n<\/ul>\n<p>\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf-\u7ed3\u6784\uff1a<\/p>\n<ul>\n<li>\u5168\u5c40\u63a7\u5236\u96c6\u4e2d\u7684DDBMS<\/li>\n<li>\u5168\u5c40\u63a7\u5236\u5206\u6563\u7684DDBMS<\/li>\n<li>\u5168\u5c40\u63a7\u5236\u90e8\u5206\u5206\u6563\u7684DDBMS<\/li>\n<\/ul>\n<h4>\u5206\u5e03\u900f\u660e\u6027<\/h4>\n<p>\u5206\u7247\u65b9\u5f0f\u5305\u62ec\uff1a\u6c34\u5e73\u5207\u5206\uff1a\u6309\u8bb0\u5f55\u5206\uff1b\u5782\u76f4\u5207\u5206\uff1a\u6309\u5b57\u6bb5\u5206\uff1b\u6df7\u5408\u5206\u7247<\/p>\n<ul>\n<li>\u5206\u7247\u900f\u660e\u6027\uff1a\u5206\u5e03\u5206\u7247\uff0c\u7528\u6237\u611f\u53d7\u4e0d\u5230\uff08\u4e0d\u5173\u7cfb\u5982\u4f55\u5206\u7247\u5b58\u50a8\uff09<\/li>\n<li>\u4f4d\u7f6e\u900f\u660e\u6027\uff1a\u6570\u636e\u5b58\u653e\u5728\u54ea\u91cc\uff0c\u7528\u6237\u4e0d\u7528\u7ba1\uff08\u7528\u6237\u65e0\u9700\u77e5\u9053\u6570\u636e\u5b58\u653e\u7684\u7269\u7406\u4f4d\u7f6e\uff09<\/li>\n<li>\u590d\u5236\u900f\u660e\uff1a\u4e0d\u5173\u5fc3\u7ed3\u70b9\u7684\u590d\u5236\u60c5\u51b5<\/li>\n<li>\u5c40\u90e8\u6570\u636e\u6a21\u578b\u900f\u660e\u6027\uff08\u903b\u8f91\u900f\u660e\uff09\uff1a\u7528\u6237\u6216\u5e94\u7528\u7a0b\u5e8f\u65e0\u9700\u77e5\u9053\u5c40\u90e8\u573a\u5730\u4f7f\u7528\u7684\u662f\u54ea\u79cd\u6570\u636e\u6a21\u578b<\/li>\n<\/ul>\n<h4>\u5206\u5e03\u5f0f\u4e8b\u52a1\u7ba1\u7406<\/h4>\n<p>\u4e24\u9636\u6bb5\u63d0\u4ea4\u534f\u8bae2PC<br \/>\n2PC\u4e8b\u52a1\u63d0\u4ea4\u7684\u4e24\u4e2a\u9636\u6bb5\uff1a<br \/>\n\u8868\u51b3\u9636\u6bb5\uff1a\u76ee\u7684\u662f\u5f62\u6210\u4e00\u4e2a\u5171\u540c\u7684\u51b3\u5b9a<br \/>\n\u6267\u884c\u9636\u6bb5\uff1a\u76ee\u7684\u662f\u5b9e\u73b0\u8fd9\u4e2a\u534f\u8c03\u8005\u7684\u51b3\u5b9a<\/p>\n<p>\u4e24\u6761\u5168\u5c40\u63d0\u4ea4\u89c4\u5219\uff1a<br \/>\n\u53ea\u8981\u6709\u4e00\u4e2a\u53c2\u4e0e\u8005\u64a4\u9500\u4e8b\u52a1\uff0c\u534f\u8c03\u8fd9\u5c31\u5fc5\u987b\u505a\u51fa\u5168\u5c40\u64a4\u9500\u7684\u51b3\u5b9a\u3002<br \/>\n\u53ea\u8981\u6240\u6709\u7684\u53c2\u4e0e\u8005\u90fd\u540c\u610f\u63d0\u4ea4\u4e8b\u52a1\uff0c\u534f\u8c03\u8005\u624d\u80fd\u505a\u51fa\u5168\u5c40\u63d0\u4ea4\u51b3\u5b9a<\/p>\n<h3>NoSQL<\/h3>\n<p>NoSQL(not-only SQL)\uff1a\u4e0d\u4ec5\u4ec5\u662fSQL\uff0c\u6cdb\u6307\u975e\u5173\u7cfb\u578b\u7684\u6570\u636e\u5e93\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/youpaiyun.lingbo.online\/2024\/10\/20241027031949555.jpg!\/format\/webp\/lossless\/true\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/youpaiyun.lingbo.online\/2024\/10\/20241027032253433.jpg!\/format\/webp\/lossless\/true\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d22\u5f15\u4e0e\u89c6\u56fe \u6570\u636e\u5e93\u7d22\u5f15\uff1a\u63d0\u5347\u67e5\u8be2\u6548\u7387\uff1b\u964d\u4f4e\u6dfb\u52a0\u3001\u4fee\u6539\u3001\u5220\u9664\u6548\u7387\uff1b\u91c7\u7528B\u6811\uff0cB+\u6811\u7b49 \u5173\u7cfb\u7684\u4e09\u79cd\u7c7b\u578b \u57fa\u672c\u5173\u7cfb\uff08\u901a\u5e38\u53c8\u79f0\u4e3a\u57fa\u672c\u8868\u6216\u57fa &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[50,41],"tags":[],"class_list":["post-917","post","type-post","status-publish","format-standard","hentry","category-software_engineering_exam","category-learning_note"],"_links":{"self":[{"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/posts\/917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":2,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions"}],"predecessor-version":[{"id":922,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions\/922"}],"wp:attachment":[{"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/media?parent=917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/categories?post=917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lingbo.online\/index.php\/wp-json\/wp\/v2\/tags?post=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}