{"id":1721,"date":"2024-12-17T16:00:45","date_gmt":"2024-12-17T08:00:45","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=1721"},"modified":"2024-12-20T09:19:18","modified_gmt":"2024-12-20T01:19:18","slug":"aws-dynamodb-pricing-and-cost-optimization-guide","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/aws-dynamodb-pricing-and-cost-optimization-guide\/","title":{"rendered":"AWS DynamoDB \u5b9a\u4ef7\u548c\u6210\u672c\u4f18\u5316\u6307\u5357"},"content":{"rendered":"<p>Amazon Web Services DynamoDB\u662f\u4e00\u79cd NoSQL \u6570\u636e\u5e93\u670d\u52a1\uff0c\u975e\u5e38\u9002\u5408\u9700\u8981\u4f4e\u5ef6\u8fdf\u6570\u636e\u8bbf\u95ee\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982 Web\u3001\u79fb\u52a8\u3001\u7269\u8054\u7f51\u548c\u6e38\u620f\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u901a\u8fc7\u5feb\u901f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u6570\u636e\u6765\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u8010\u7528\u6027\u3002\u5b83\u7684\u529f\u80fd\u5305\u62ec\u5185\u7f6e\u7f13\u5b58\u548c\u5b89\u5168\u6027\u4ee5\u53ca\u5bf9 Web \u5e94\u7528\u7a0b\u5e8f\u7684\u5907\u4efd\u652f\u6301\u3002\u7531\u4e8e AWS DynamoDB \u652f\u6301 ACID \u4e8b\u52a1\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u5728\u4f01\u4e1a\u7ea7\u6269\u5c55\uff0c\u4ece\u800c\u5141\u8bb8\u5f00\u53d1\u4e1a\u52a1\u5173\u952e\u578b\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>AWS DynamoDB \u786e\u5b9e\u63d0\u4f9b\u4e86\u514d\u8d39\u5957\u9910\uff0c\u4f46\u5176\u4ed8\u8d39\u8ba1\u5212\u7684\u5b9a\u4ef7\u57fa\u4e8e\u516d\u4e2a\u56e0\u7d20\uff1a<\/p>\n<ul>\n<li>\u6570\u636e\u5b58\u50a8\u91cf<\/li>\n<li>\u60a8\u8bfb\u53d6\u548c\u5199\u5165\u7684\u6570\u636e\u91cf<\/li>\n<li>\u6570\u636e\u4f20\u8f93\u91cf<\/li>\n<li>\u5907\u4efd\u548c\u6062\u590d\u60a8\u6267\u884c\u7684\u64cd\u4f5c<\/li>\n<li>DynamoDB \u6d41<\/li>\n<li>\u4f7f\u7528\u5168\u5c40\u8868\u65f6\u590d\u5236\u7684\u5199\u5165\u8bf7\u6c42\u5355\u5143\u6570\u91cf<\/li>\n<\/ul>\n<p>\u672c\u6587\u5c06\u8bb2\u89e3 DynamoDB \u7684\u5b9a\u4ef7\u7ed3\u6784\uff0c\u4ee5\u53ca\u5982\u4f55\u901a\u8fc7\u8003\u8651\u4e0a\u8ff0\u56e0\u7d20\u6765\u964d\u4f4e DynamoDB \u4e2d\u7684\u8d39\u7528\uff0c\u4ee5\u4fbf\u60a8\u4ee5\u6700\u4f4e\u7684\u6210\u672c\u83b7\u5f97\u6700\u4f73\u7684\u6027\u80fd\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1747 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8cbb-\u9280\u548c\u91d1\u5e63-\u7d20\u6750\u5716\u7247-1024x683.jpg\" alt=\"\" width=\"1024\" height=\"683\" srcset=\"\" sizes=\"(max-width: 1024px) 100vw, 1024px\" data-srcset=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-pricing\" name=\"dynamodb-pricing\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u5b9a\u4ef7<\/h3>\n<p>DynamoDB \u7684\u4f7f\u7528\u6210\u672c\u6781\u9ad8\u3002\u6709\u4e24\u79cd\u5b9a\u4ef7\u7ed3\u6784\u53ef\u4f9b\u9009\u62e9\uff1a\u9884\u7f6e\u5bb9\u91cf\u548c\u6309\u9700\u5bb9\u91cf\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-provisioned-capacity\" name=\"dynamodb-provisioned-capacity\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u9884\u914d\u7f6e\u5bb9\u91cf<\/h3>\n<p>\u5728\u6b64 Amazon DybamoDB \u5b9a\u4ef7\u8ba1\u5212\u4e2d\uff0c\u5c06\u6309\u64cd\u4f5c\u5bb9\u91cf\u5355\u4f4d\uff08\u6216\u8bfb\u5199\u5bb9\u91cf\u5355\u4f4d\uff09\u7684\u4f7f\u7528\u91cf\u6309\u5c0f\u65f6\u8ba1\u8d39\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u7ba1\u7406\u7684\u6bcf\u4e2a\u6570\u636e\u5e93\u8868\u6240\u9700\u7684\u6700\u5927\u8d44\u6e90\u91cf\u6765\u63a7\u5236\u6210\u672c\u3002\u9884\u914d\u7f6e\u5bb9\u91cf\u63d0\u4f9b\u81ea\u52a8\u6269\u5c55\u5e76\u52a8\u6001\u9002\u5e94\u6d41\u91cf\u7684\u589e\u52a0\u3002\u4f46\u662f\uff0c\u9664\u975e\u542f\u7528\u6b64\u529f\u80fd\uff0c\u5426\u5219\u5b83\u4e0d\u4f1a\u9488\u5bf9\u6570\u636e\u6d41\u91cf\u7684\u7a81\u7136\u53d8\u5316\u5b9e\u65bd\u81ea\u52a8\u6269\u5c55\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-ondemand-pricing\" name=\"dynamodb-ondemand-pricing\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u6309\u9700\u5b9a\u4ef7<\/h3>\n<p>\u6b64\u8ba1\u5212\u6309\u8bf7\u6c42\u5355\u4f4d\uff08\u6216\u8bfb\u5199\u8bf7\u6c42\u5355\u4f4d\uff09\u8ba1\u8d39\u3002\u60a8\u53ea\u9700\u4e3a\u60a8\u53d1\u51fa\u7684\u8bf7\u6c42\u4ed8\u8d39\uff0c\u8fd9\u4f7f\u5176\u6210\u4e3a\u771f\u6b63\u7684\u65e0\u670d\u52a1\u5668\u9009\u62e9\u3002\u4e0d\u8fc7\uff0c\u5728\u5904\u7406\u5927\u91cf\u751f\u4ea7\u5de5\u4f5c\u8d1f\u8f7d\u65f6\uff0c\u8fd9\u79cd\u9009\u62e9\u53ef\u80fd\u4f1a\u53d8\u5f97\u6602\u8d35\u3002\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u9884\u8ba1\u7684\u6d41\u91cf\u5927\u5c0f\uff0c\u6309\u9700\u5bb9\u91cf\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u81ea\u52a8\u6269\u5c55\u3002<\/p>\n<p>\u4e86\u89e3\u54ea\u79cd\u5bb9\u91cf\u6700\u9002\u5408\u60a8\u7684\u9700\u6c42\u662f\u4f7f\u7528 DynamoDB \u4f18\u5316\u6210\u672c\u7684\u7b2c\u4e00\u6b65\u3002\u5728\u505a\u51fa\u9009\u62e9\u4e4b\u524d\uff0c\u8bf7\u8003\u8651\u4ee5\u4e0b\u4e00\u4e9b\u56e0\u7d20\u3002<\/p>\n<p>\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\uff0c\u60a8\u5e94\u4f7f\u7528\u9884\u914d\u7f6e\u5bb9\u91cf\uff1a<\/p>\n<ul>\n<li>\u60a8\u5bf9\u5e94\u7528\u7a0b\u5e8f\u7684\u6700\u5927\u5de5\u4f5c\u91cf\u6709\u6240\u4e86\u89e3<\/li>\n<li>\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u6d41\u91cf\u662f\u4e00\u81f4\u7684\uff0c\u4e0d\u9700\u8981\u6269\u5c55\uff08\u9664\u975e\u60a8\u542f\u7528\u81ea\u52a8\u6269\u5c55\u529f\u80fd\uff0c\u4f46\u8fd9\u4f1a\u82b1\u8d39\u66f4\u591a\uff09<\/li>\n<\/ul>\n<p>\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\uff0c\u60a8\u5e94\u4f7f\u7528\u6309\u9700\u5bb9\u91cf\uff1a<\/p>\n<ul>\n<li>\u4f60\u4e0d\u786e\u5b9a\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5c06\u627f\u53d7\u591a\u5c11\u5de5\u4f5c\u91cf<\/li>\n<li>\u4f60\u4e0d\u77e5\u9053\u5e94\u7528\u7a0b\u5e8f\u7684\u6570\u636e\u6d41\u91cf\u6709\u591a\u4e00\u81f4<\/li>\n<li>\u4f60\u53ea\u60f3\u6309\u5b9e\u9645\u4f7f\u7528\u91cf\u4ed8\u8d39<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-pricing-calculator\" name=\"dynamodb-pricing-calculator\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u5b9a\u4ef7\u8ba1\u7b97\u5668<\/h3>\n<p>\u6709\u51e0\u4e2a\u9009\u9879\u53ef\u7528\u4e8e\u5e2e\u52a9\u4f30\u7b97\u548c\u8ba1\u7b97\u4f7f\u7528 AWS DynamoDB \u53ef\u80fd\u9700\u8981\u652f\u4ed8\u7684\u8d39\u7528\u3002\u6211\u4eec\u53d1\u73b0\uff0c\u5bf9\u4e8e DynamoDB\uff0c\u6700\u597d\u7684\u662f AWS \u81ea\u5df1\u7684 AWS \u5b9a\u4ef7\u8ba1\u7b97\u5668\uff0c\u53ef\u76f4\u63a5\u5728\u6b64\u5904\u627e\u5230\uff1aDynamoDB \u5b9a\u4ef7\u8ba1\u7b97\u5668\u3002\u4f7f\u7528\u6b64\u8ba1\u7b97\u5668\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u9009\u62e9 DynamoDB \u529f\u80fd\u3001\u9884\u7f6e\u5bb9\u91cf\u3001\u8bfb\/\u5199\u8bbe\u7f6e\uff0c\u7136\u540e\u83b7\u5f97\u660e\u786e\u7684\u4f30\u7b97\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodbs-read-and-write-capacity\" name=\"dynamodbs-read-and-write-capacity\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u7684\u8bfb\u53d6\u548c\u5199\u5165\u5bb9\u91cf<\/h3>\n<p>DynamoDB \u8868\u7684\u8bfb\u53d6\u5bb9\u91cf\u8868\u793a\u60a8\u53ef\u4ee5\u4ece\u4e2d\u8bfb\u53d6\u591a\u5c11\u6570\u636e\u3002\u8bfb\u53d6\u5bb9\u91cf\u5355\u4f4d (RCU) \u7528\u4e8e\u8861\u91cf\u8868\u7684\u8bfb\u53d6\u5bb9\u91cf\u3002\u5bf9\u4e8e\u5927\u5c0f\u4e0d\u8d85\u8fc7 500 KB \u7684\u5bf9\u8c61\uff0c\u4e00\u4e2a RCU \u7b49\u4e8e\u6bcf\u79d2\u4e00\u6b21\u5f3a\u4e00\u81f4\u6027\u8bfb\u53d6\u6216\u6bcf\u79d2\u4e24\u6b21\u6700\u7ec8\u4e00\u81f4\u6027\u8bfb\u53d6\u3002<\/p>\n<p>DynamoDB \u8868\u7684\u5199\u5165\u5bb9\u91cf\u8868\u793a\u60a8\u53ef\u4ee5\u5411\u5176\u4e2d\u5199\u5165\u591a\u5c11\u6570\u636e\u3002\u5199\u5165\u5bb9\u91cf\u5355\u4f4d (WCU) \u8868\u793a\u6bcf\u79d2\u5199\u5165\u4e00\u6b21\uff08\u6700\u5927 1 KB\uff09\u7684\u9879\u76ee\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1746 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-1024x683.jpg\" alt=\"\" width=\"1024\" height=\"683\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-1024x683.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-300x200.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-768x512.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-1536x1024.jpg 1536w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\u6d45\u7126\u70b9\u955c\u5934\u8ba1\u7b97\u673a\u5904\u7406\u5668\u7167\u7247-\u7d20\u6750\u56fe\u7247-2048x1365.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-autoscaling\" name=\"dynamodb-autoscaling\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u81ea\u52a8\u6269\u5c55<\/h3>\n<p>\u6570\u636e\u5e93\u884c\u4e3a\u53ef\u80fd\u96be\u4ee5\u8861\u91cf\uff0c\u8fd9\u4f7f\u5f97\u6269\u5c55\u53d8\u5f97\u56f0\u96be\u3002\u6570\u636e\u5e93\u6269\u5c55\u4e0d\u8db3\u53ef\u80fd\u4f1a\u5bfc\u81f4\u707e\u96be\uff0c\u800c\u6269\u5c55\u8fc7\u5ea6\u5219\u4f1a\u5bfc\u81f4\u8d44\u6e90\u6d6a\u8d39\u3002DynamoDB \u81ea\u52a8\u6269\u5c55\u529f\u80fd\u53ef\u914d\u7f6e\u5408\u9002\u7684\u8bfb\u53d6\u548c\u5199\u5165\u541e\u5410\u91cf\u4ee5\u6ee1\u8db3\u5e94\u7528\u7a0b\u5e8f\u7684\u8bf7\u6c42\u7387\u3002\u8fd9\u610f\u5473\u7740\u5f53\u60a8\u7684\u5de5\u4f5c\u8d1f\u8f7d\u53d1\u751f\u53d8\u5316\u65f6\uff0cDynamoDB \u4f1a\u81ea\u52a8\u8c03\u6574\u5e76\u52a8\u6001\u91cd\u65b0\u5206\u914d\u6570\u636e\u5e93\u5206\u533a\uff0c\u4ee5\u66f4\u597d\u5730\u9002\u5e94\u8bfb\u53d6\u541e\u5410\u91cf\u3001\u5199\u5165\u541e\u5410\u91cf\u548c\u5b58\u50a8\u7684\u53d8\u5316\u3002<\/p>\n<p>\u81ea\u52a8\u6269\u5c55\u662f\u521b\u5efa DynamoDB \u8868\u65f6\u7684\u9ed8\u8ba4\u5bb9\u91cf\u8bbe\u7f6e\uff0c\u4f46\u60a8\u53ef\u4ee5\u5728\u4efb\u4f55\u8868\u4e0a\u6fc0\u6d3b\u5b83\u3002\u5728 DynamoDB \u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u8bfb\u53d6\u548c\u5199\u5165\u5bb9\u91cf\u7684\u6700\u5c0f\u548c\u6700\u5927\u7ea7\u522b\u4ee5\u53ca\u6240\u9700\u7684\u4f7f\u7528\u7387\u767e\u5206\u6bd4\u6765\u5b9a\u4e49\u81ea\u52a8\u6269\u5c55\u3002\u5f53\u6d88\u8017\u7684\u8bfb\u53d6\u6216\u5199\u5165\u91cf\u8fde\u7eed\u4e24\u5206\u949f\u8d85\u8fc7\u6240\u9700\u7684\u4f7f\u7528\u7387\u767e\u5206\u6bd4\u65f6\uff0c\u5c06\u6fc0\u6d3b\u4e0a\u9650\u8b66\u62a5\u3002\u5f53\u6d41\u91cf\u8fde\u7eed\u5341\u4e94\u5206\u949f\u4f4e\u4e8e\u6240\u9700\u5229\u7528\u7387\uff08\u51cf\u53bb\u767e\u5206\u4e4b\u4e8c\u5341\uff09\u65f6\uff0c\u5c06\u89e6\u53d1\u4e0b\u9650\u8b66\u62a5\u3002\u5f53\u4e24\u4e2a\u8b66\u62a5\u90fd\u53d1\u51fa\u65f6\uff0c\u81ea\u52a8\u6269\u5c55\u8fc7\u7a0b\u5f00\u59cb\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#monitoring-dynamodb-resources\" name=\"monitoring-dynamodb-resources\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u76d1\u63a7 DynamoDB \u8d44\u6e90<\/h3>\n<p>\u76d1\u63a7 AWS \u8d44\u6e90\uff08\u4f8b\u5982 DynamoDB\uff09\u7684\u5ef6\u8fdf\u3001\u6d41\u91cf\u3001\u9519\u8bef\u548c\u9971\u548c\u5ea6\u79f0\u4e3a\u8d44\u6e90\u76d1\u63a7\u3002\u5b83\u4f7f\u6269\u5c55 DynamoDB \u6570\u636e\u5e93\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\uff0c\u56e0\u4e3a\u60a8\u53ef\u4ee5\u83b7\u5f97\u6240\u9700\u7684\u6307\u6807\uff0c\u4f8b\u5982\u7f51\u7edc\u541e\u5410\u91cf\u3001CPU \u5229\u7528\u7387\u6216\u8bfb\/\u5199\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u5728\u76d1\u63a7\u6570\u636e\u5e93\u540e\uff0c\u60a8\u53d1\u73b0\u6570\u636e\u5e93\u7684\u6d41\u91cf\u6fc0\u589e\u3002\u8fd9\u8868\u660e\u5927\u91cf\u6570\u636e\u6b63\u5728\u4ece\u6570\u636e\u5e93\u8bfb\u53d6\u6216\u5199\u5165\u6570\u636e\u5e93\u3002\u60a8\u53ef\u4ee5\u51b3\u5b9a\u589e\u52a0\u6570\u636e\u5e93\u7684\u8bfb\u53d6\u5bb9\u91cf\u4ee5\u5bb9\u7eb3\u66f4\u591a\u8bfb\u53d6\u8bf7\u6c42\uff0c\u6216\u589e\u52a0\u5199\u5165\u5bb9\u91cf\u4ee5\u5bb9\u7eb3\u66f4\u591a\u5199\u5165\u8bf7\u6c42\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-cost-optimization\" name=\"dynamodb-cost-optimization\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u6210\u672c\u4f18\u5316<\/h3>\n<p>\u73b0\u5728\u60a8\u5df2\u7ecf\u4e86\u89e3\u4e86\u4f7f\u7528 AWS DynamoDB \u65f6\u8ba1\u8d39\u65b9\u5f0f\u7684\u4e00\u4e9b\u56e0\u7d20\uff0c\u4e0b\u9762\u662f\u4e00\u4e9b\u5efa\u8bae\uff0c\u53ef\u8ba9\u8fd9\u4e9b\u56e0\u7d20\u5bf9\u60a8\u6709\u5229\uff0c\u5e76\u786e\u4fdd DynamoDB \u5177\u6709\u6210\u672c\u6548\u76ca\u3002<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#picking-the-right-capacity\" name=\"picking-the-right-capacity\" rel=\"nofollow noopener\" target=\"_blank\"><\/a><strong>\u9009\u62e9\u5408\u9002\u7684\u5bb9\u91cf<\/strong><\/h4>\n<p>\u60a8\u53ef\u80fd\u5df2\u7ecf\u77e5\u9053\u60f3\u8981\u91c7\u7528\u54ea\u79cd\u5bb9\u91cf\u7ed3\u6784\uff0c\u4f46\u5728\u505a\u51fa\u6700\u7ec8\u9009\u62e9\u65f6\u8bf7\u8bb0\u4f4f\u8fd9\u4e9b\u8981\u70b9\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-ondemand-capacity-cost-optimization\" name=\"dynamodb-ondemand-capacity-cost-optimization\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u6309\u9700\u5bb9\u91cf\u6210\u672c\u4f18\u5316<\/h4>\n<p>\u8ba1\u7b97\u8868\u660e\u6309\u9700\u8868\u7684\u5355\u6b21\u8bf7\u6c42\u6210\u672c\u6bd4\u9884\u914d\u7f6e\u8868\u9ad8\u51fa\u4e94\u5230\u516d\u500d\u3002\u5982\u679c\u60a8\u7684\u5de5\u4f5c\u8d1f\u8f7d\u4fdd\u6301\u7a33\u5b9a\u4f7f\u7528\u4e14\u6ca1\u6709\u610f\u5916\u5cf0\u503c\uff0c\u4f46\u60a8\u4e0d\u786e\u5b9a\u672a\u6765\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u8bf7\u8003\u8651\u4f7f\u7528\u542f\u7528\u81ea\u52a8\u7f29\u653e\u7684\u9884\u914d\u7f6e\u6a21\u5f0f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#dynamodb-provisioned-capacity-cost-optimization\" name=\"dynamodb-provisioned-capacity-cost-optimization\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>DynamoDB \u9884\u7f6e\u5bb9\u91cf\u6210\u672c\u4f18\u5316<\/h4>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u9884\u7f6e\u5bb9\u91cf\uff0c\u5e76\u4e14\u5bb9\u91cf\u8d85\u8fc7 100 \u4e2a\u5355\u4f4d\uff0c\u8003\u8651\u8d2d\u4e70\u9884\u7559\u5bb9\u91cf\u3002\u4e0e\u6388\u4e88\u7684\u541e\u5410\u5bb9\u91cf\u76f8\u6bd4\uff0c\u9884\u7559\u5bb9\u91cf\u5728\u4e09\u5e74\u5185\u63d0\u4f9b 76% \u7684\u6298\u6263\uff0c\u5728\u4e00\u5e74\u5185\u63d0\u4f9b 53% \u7684\u6298\u6263\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#finding-unused-dynamodb-tables\" name=\"finding-unused-dynamodb-tables\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u67e5\u627e\u672a\u4f7f\u7528\u7684 DynamoDB \u8868<\/h4>\n<p>\u672a\u4f7f\u7528\u7684 DynamoDB \u8868\u4f1a\u6d6a\u8d39\u8d44\u6e90\uff0c\u5e76\u4e14\u4f1a\u4e0d\u5fc5\u8981\u5730\u589e\u52a0\u60a8\u7684\u6210\u672c\u3002\u60a8\u6709\u4e24\u79cd\u9009\u62e9\u6765\u5904\u7406\u6b64\u95ee\u9898\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u6309\u9700\u5bb9\u91cf\u6a21\u5f0f\u6765\u786e\u4fdd\u53ea\u4e3a\u60a8\u53d1\u51fa\u8bfb\/\u5199\u8bf7\u6c42\u7684\u6570\u636e\u5e93\u8868\u4ed8\u8d39\u3002\u6216\u8005\uff0c\u5c1d\u8bd5\u68c0\u6d4b\u672a\u4f7f\u7528\u7684\u8868\u5e76\u6d88\u9664\u5b83\u4eec\u3002\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u68c0\u67e5\u8868\u4e0a\u7684\u8bfb\/\u5199\u64cd\u4f5c\u3002\u5982\u679c\u8868\u5728\u8fc7\u53bb 90 \u5929\u5185\u6ca1\u6709\u8bfb\/\u5199\u6d3b\u52a8\uff0c\u5219\u5b83\u4e3a\u672a\u4f7f\u7528\u7684\u8868\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#reduce-dynamodb-backup-needs\" name=\"reduce-dynamodb-backup-needs\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u51cf\u5c11 DynamoDB \u5907\u4efd\u9700\u6c42<\/h4>\n<p>\u636e\u4f30\u8ba1\uff0c\u652f\u6301\u81ea\u52a8\u5907\u4efd\u548c\u5220\u9664\u6570\u636e\u7684 Amazon DynamoDB \u5907\u4efd\u7ba1\u9053\u53ef\u80fd\u4f1a\u5927\u5927\u589e\u52a0\u60a8\u7684\u6210\u672c\u3002\u8fd9\u662f\u56e0\u4e3a\u521b\u5efa\u5f53\u524d DynamoDB \u8868\u7684\u5907\u4efd\u9700\u8981\u4e0d\u65ad\u6d88\u8017 WCU \u6570\u91cf\uff0c\u68c0\u7d22\u5907\u4efd\u8868\u65f6\u9700\u8981\u6d88\u8017 RCU \u6570\u91cf\u3002\u56e0\u6b64\uff0c\u5907\u4efd\u8868\u6ca1\u6709\u6307\u5b9a\u7684\u8d44\u6e90\u5927\u5c0f\uff0c\u5e76\u4e14\u8868\u4f1a\u65e0\u9650\u589e\u957f\u3002\u8bf7\u6539\u7528\u672c\u673a DynamoDB \u5907\u4efd\uff0c\u5b83\u4f7f\u7528\u9884\u7f6e\u5bb9\u91cf\u3002\u8fd9\u6837\uff0c\u60a8\u5c31\u77e5\u9053\u9700\u8981\u591a\u5c11\u5907\u4efd\u5927\u5c0f\u4ee5\u53ca\u9700\u8981\u591a\u5c11\u8bfb\/\u5199\u8d44\u6e90\u5bb9\u91cf\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#using-aws-cheaper-regions\" name=\"using-aws-cheaper-regions\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u4f7f\u7528 AWS \u5ec9\u4ef7\u533a\u57df<\/h4>\n<p>\u67d0\u4e9bAWS \u533a\u57df\u7684\u4ef7\u683c\u6bd4\u5176\u4ed6\u533a\u57df\u66f4\u8d35\u3002\u5982\u679c\u60a8\u4e0d\u5173\u5fc3\u6570\u636e\u4f4d\u7f6e\uff0c\u8bf7\u9009\u62e9\u6700\u4fbf\u5b9c\u7684\u533a\u57df\u3002<\/p>\n<p>\u6700\u4fbf\u5b9c\u7684\u5730\u533a\u662f us-east-1\u3001us-east-2 \u548c us-west-2\uff0c\u6bcf\u6708\u6bcf GB 0.25 \u7f8e\u5143\u3001\u6bcf\u5c0f\u65f6\u6bcf WCU 0.00065 \u7f8e\u5143\u3001\u6bcf\u5c0f\u65f6\u6bcf RCU 0.00013 \u7f8e\u5143\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/cloudforecast\/aws-dynamodb-pricing-and-cost-optimization-guide-3ljm#conclusion\" name=\"conclusion\" rel=\"nofollow noopener\" target=\"_blank\"><\/a><\/h3>\n<h3>\u603b\u7ed3<\/h3>\n<p>AWS DynamoDB \u63d0\u4f9b\u4e86\u7075\u6d3b\u7684\u5b9a\u4ef7\u6a21\u5f0f\u548c\u591a\u6837\u5316\u7684\u8d44\u6e90\u914d\u7f6e\u9009\u9879\uff0c\u6ee1\u8db3\u4e0d\u540c\u89c4\u6a21\u548c\u8d1f\u8f7d\u7684\u4e1a\u52a1\u9700\u6c42\u3002\u901a\u8fc7\u6309\u9700\u6a21\u5f0f\u548c\u9884\u7f6e\u5bb9\u91cf\u6a21\u5f0f\u7684\u5408\u7406\u9009\u62e9\uff0c\u4ee5\u53ca\u4f7f\u7528\u81ea\u52a8\u5206\u5c42\u5b58\u50a8\u3001DAX \u7f13\u5b58\u548c\u57fa\u4e8e\u6307\u6807\u7684\u76d1\u63a7\u4f18\u5316\uff0c\u7528\u6237\u53ef\u4ee5\u663e\u8457\u964d\u4f4e\u6210\u672c\u5e76\u63d0\u5347\u6027\u80fd\u3002\u6b64\u5916\uff0c\u5145\u5206\u5229\u7528\u514d\u8d39\u5957\u9910\u3001\u4fdd\u7559\u5bb9\u91cf\u4ee5\u53ca\u5220\u9664\u672a\u4f7f\u7528\u8d44\u6e90\u7b49\u63aa\u65bd\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u4f18\u5316 DynamoDB \u7684\u4f7f\u7528\u6210\u672c\u3002\u5168\u9762\u7406\u89e3\u5b9a\u4ef7\u673a\u5236\u5e76\u7ed3\u5408\u5b9e\u9645\u4e1a\u52a1\u573a\u666f\uff0c\u80fd\u591f\u5e2e\u52a9\u4f01\u4e1a\u5728\u63a7\u5236\u9884\u7b97\u7684\u540c\u65f6\uff0c\u6700\u5927\u5316\u6570\u636e\u5e93\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Amazon Web Services DynamoDB\u662f\u4e00\u79cd NoSQL \u6570\u636e\u5e93\u670d\u52a1\uff0c\u975e\u5e38\u9002\u5408\u9700\u8981\u4f4e\u5ef6\u8fdf\u6570\u636e\u8bbf\u95ee\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982 Web\u3001\u79fb\u52a8\u3001\u7269\u8054\u7f51\u548c\u6e38\u620f\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u901a\u8fc7\u5feb\u901f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u6570\u636e\u6765\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u8010\u7528\u6027\u3002\u5b83\u7684\u529f\u80fd\u5305\u62ec\u5185\u7f6e\u7f13\u5b58\u548c\u5b89\u5168\u6027\u4ee5\u53ca\u5bf9 Web \u5e94\u7528\u7a0b\u5e8f\u7684\u5907\u4efd\u652f\u6301\u3002\u7531\u4e8e AWS DynamoDB \u652f\u6301 ACID \u4e8b\u52a1\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u5728\u4f01\u4e1a\u7ea7\u6269\u5c55\uff0c\u4ece\u800c\u5141\u8bb8\u5f00\u53d1\u4e1a\u52a1\u5173\u952e\u578b\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>","protected":false},"author":1,"featured_media":1722,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-1721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/1721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/comments?post=1721"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/1721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/1722"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=1721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=1721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=1721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}