{"id":3835,"date":"2025-09-18T17:09:47","date_gmt":"2025-09-18T09:09:47","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=3835"},"modified":"2025-09-18T17:09:47","modified_gmt":"2025-09-18T09:09:47","slug":"aws-athena-easily-embark-on-the-path-of-serverless-data-analytics","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/aws-athena-easily-embark-on-the-path-of-serverless-data-analytics\/","title":{"rendered":"AWS Athena\uff1a\u8f15\u9b06\u958b\u555f\u7121\u4f3a\u670d\u5668\u8cc7\u6599\u5206\u6790\u4e4b\u8def"},"content":{"rendered":"<p>\u5728\u7576\u4eca\u6578\u64da\u9a45\u52d5\u7684\u6642\u4ee3\uff0c\u4f01\u696d\u6bcf\u5929\u90fd\u6703\u5728\u65e5\u8a8c\u3001\u696d\u52d9\u7cfb\u7d71\u4ee5\u53ca\u7528\u6236\u4e92\u52d5\u4e2d\u7522\u751f\u5927\u91cf\u6578\u64da\u3002\u5982\u4f55\u5728\u4fdd\u969c\u6548\u7387\u8207\u6210\u672c\u53ef\u63a7\u7684\u524d\u63d0\u4e0b\uff0c\u5c0d\u9019\u4e9b\u8cc7\u6599\u9032\u884c\u5feb\u901f\u5206\u6790\u8207\u6d1e\u5bdf\uff0c\u6210\u70baIT \u67b6\u69cb\u7684\u95dc\u9375\u554f\u984c\u3002<\/p>\n<p><strong>Amazon Athena<\/strong> \u6b63\u662f\u70ba\u6b64\u800c\u751f\u3002\u4f5c\u70ba\u4e00\u9805\u7121\u4f3a\u670d\u5668\uff08Serverless\uff09\u7684\u4e92\u52d5\u5f0f\u67e5\u8a62\u670d\u52d9\uff0cAthena \u8b93\u4f7f\u7528\u8005\u7121\u9700\u7ba1\u7406\u8907\u96dc\u7684\u57fa\u790e\u8a2d\u65bd\uff0c\u5c31\u80fd\u76f4\u63a5\u4f7f\u7528\u6a19\u6e96SQL \u5728Amazon S3 \u4e2d\u5206\u6790\u8cc7\u6599\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u6838\u5fc3\u512a\u52e2<\/h4>\n<ol>\n<li><strong>\u7121\u4f3a\u670d\u5668\u67b6\u69cb<\/strong><\/li>\n<li>\u4e0d\u9700\u8981\u90e8\u7f72\u3001\u914d\u7f6e\u548c\u7ba1\u7406\u4f3a\u670d\u5668\uff0c\u6309\u9700\u81ea\u52d5\u64f4\u5145\u3002\u4f7f\u7528\u8005\u53ea\u9700\u95dc\u6ce8\u67e5\u8a62\u672c\u8eab\uff0c\u5927\u5e45\u964d\u4f4e\u7dad\u904b\u6210\u672c\u3002<\/li>\n<li><strong>\u6309\u9700\u4ed8\u8cbb\uff0c\u7d93\u6fdf\u9ad8\u6548<\/strong><\/li>\n<li>\u8cbb\u7528\u4f9d\u67e5\u8a62\u6240\u6383\u63cf\u7684\u8cc7\u6599\u91cf\u8a08\u8cbb\uff0c\u7d50\u5408Parquet\u3001ORC \u7b49\u5217\u5f0f\u5132\u5b58\u683c\u5f0f\uff0c\u4ee5\u53ca\u5206\u5340\u7b56\u7565\uff0c\u53ef\u5927\u5e45\u6e1b\u5c11\u6383\u63cf\u91cf\uff0c\u964d\u4f4e\u6210\u672c\u3002<\/li>\n<li><strong>\u8207AWS \u751f\u614b\u7121\u7e2b\u96c6\u6210<\/strong><\/li>\n<\/ol>\n<ul>\n<li>\u8207 <strong>AWS Glue Data Catalog<\/strong> \u96c6\u6210\uff0c\u7d71\u4e00\u7ba1\u7406\u5143\u8cc7\u6599\u3002<\/li>\n<li>\u53ef\u7d50\u5408 <strong>Amazon QuickSight<\/strong> \u5be6\u73fe\u53ef\u8996\u5316\u5206\u6790\u8207\u5831\u8868\u5c55\u793a\u3002<\/li>\n<li>\u8207IAM \u6b0a\u9650\u7b56\u7565\u7d50\u5408\uff0c\u78ba\u4fdd\u8cc7\u6599\u5b58\u53d6\u5b89\u5168\u5408\u898f\u3002<\/li>\n<\/ul>\n<ol>\n<li><strong>\u6a19\u6e96SQL \u652f\u6301<\/strong><\/li>\n<li>\u57fa\u65bcPresto \u5f15\u64ce\uff0c\u652f\u63f4\u8907\u96dcSQL \u7279\u6027\uff08JOIN\u3001\u8996\u7a97\u51fd\u6578\u3001\u9663\u5217\/\u6620\u5c04\u7b49\uff09\uff0c\u8b93\u5206\u6790\u4eba\u54e1\u8f15\u9b06\u4e0a\u624b\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4>\u5178\u578b\u61c9\u7528\u5834\u666f<\/h4>\n<ul>\n<li><strong>\u65e5\u8a8c\u5206\u6790<\/strong>\uff1a\u76f4\u63a5\u5728S3 \u67e5\u8a62\u61c9\u7528\u7a0b\u5f0f\u8207\u7cfb\u7d71\u65e5\u8a8c\uff0c\u5feb\u901f\u5b9a\u4f4d\u554f\u984c\u3001\u8fa8\u8b58\u8da8\u52e2\u3002<\/li>\n<li><strong>\u81e8\u6642\u8cc7\u6599\u63a2\u7d22<\/strong>\uff1a\u7121\u9700\u5efa\u7f6e\u8cc7\u6599\u5eab\uff0c\u5373\u53ef\u9032\u884c\u5feb\u901f\u63a2\u7d22\u8207\u9a57\u8b49\u3002<\/li>\n<li><strong>\u8cc7\u6599\u6e56\u67e5\u8a62<\/strong>\uff1a\u4f5c\u70ba\u8cc7\u6599\u6e56\u67b6\u69cb\u7684\u91cd\u8981\u7d44\u6210\u90e8\u5206\uff0cAthena \u53ef\u76f4\u63a5\u5b58\u53d6\u548c\u5206\u6790\u6e56\u4e2d\u8cc7\u6599\u3002<\/li>\n<li><strong>\u5546\u696d\u667a\u6167\u5831\u544a<\/strong>\uff1a\u7d50\u5408BI \u5de5\u5177\uff0c\u652f\u63f4\u4f01\u696d\u6578\u64da\u9a45\u52d5\u6c7a\u7b56\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Athena \u8207Amazon Redshift \u7684\u5340\u5225<\/h4>\n<ul>\n<li><strong>Amazon Athena<\/strong> \u66f4\u9069\u5408\u81e8\u6642\u67e5\u8a62\u3001\u63a2\u7d22\u6027\u5206\u6790\u548c\u6210\u672c\u654f\u611f\u578b\u5834\u666f\u3002<\/li>\n<li><strong>Amazon Redshift<\/strong> \u4f5c\u70ba\u96f2\u7aef\u8cc7\u6599\u5009\u5132\uff0c\u9069\u5408\u5927\u898f\u6a21\u3001\u983b\u7e41\u3001\u8907\u96dc\u7684\u5206\u6790\u8207\u5831\u8868\u4efb\u52d9\u3002<\/li>\n<\/ul>\n<p>\u4f01\u696d\u5728\u8a2d\u8a08\u8cc7\u6599\u67b6\u69cb\u6642\uff0c\u53ef\u4ee5\u6839\u64da\u696d\u52d9\u9700\u6c42\u9748\u6d3b\u9078\u64c7\uff0c\u751a\u81f3\u5c07\u5169\u8005\u7d50\u5408\u4f7f\u7528\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u7d50\u8a9e<\/h4>\n<p>Amazon Athena \u8b93\u4f01\u696d\u5728\u7121\u9700\u984d\u5916\u7dad\u904b\u6295\u5165\u7684\u524d\u63d0\u4e0b\uff0c\u5373\u6642\u958b\u59cb\u8cc7\u6599\u63a2\u7d22\u8207\u5206\u6790\uff0c\u5354\u52a9\u7d44\u7e54\u4ee5\u66f4\u4f4e\u6210\u672c\u3001\u66f4\u9ad8\u6548\u7387\u5f9e\u5927\u91cf\u8cc7\u6599\u4e2d\u53d6\u5f97\u50f9\u503c\u3002<\/p>\n<p>\u4f5c\u70ba <strong>AWS \u5b98\u65b9\u4ee3\u7406\u5546<\/strong>\uff0c\u5728\u96f2\u7aef\u4e0a\u5c07\u70ba\u4f01\u696d\u63d0\u4f9bAthena \u76f8\u95dc\u7684\u8aee\u8a62\u3001\u90e8\u7f72\u8207\u6700\u4f73\u5316\u670d\u52d9\uff0c\u5e6b\u52a9\u5ba2\u6236\u5efa\u69cb\u9ad8\u6548\u7684\u6578\u64da\u5206\u6790\u67b6\u69cb\uff0c\u52a0\u901f\u5be6\u73fe\u6578\u4f4d\u8f49\u578b\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5728\u7576\u4eca\u6578\u64da\u9a45\u52d5\u7684\u6642\u4ee3\uff0c\u4f01\u696d\u6bcf\u5929\u90fd\u6703\u5728\u65e5\u8a8c\u3001\u696d\u52d9\u7cfb\u7d71\u4ee5\u53ca\u7528\u6236\u4e92\u52d5\u4e2d\u7522\u751f\u5927\u91cf\u6578\u64da\u3002\u5982\u4f55\u5728\u4fdd\u969c\u6548\u7387\u8207\u6210\u672c\u53ef\u63a7\u7684\u524d\u63d0\u4e0b\uff0c\u5c0d\u9019\u4e9b\u8cc7\u6599\u9032\u884c\u5feb\u901f\u5206\u6790\u8207\u6d1e\u5bdf\uff0c\u6210\u70baIT \u67b6\u69cb\u7684\u95dc\u9375\u554f\u984c\u3002<\/p>","protected":false},"author":1,"featured_media":3836,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-3835","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\/3835","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=3835"}],"version-history":[{"count":1,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/3835\/revisions"}],"predecessor-version":[{"id":3837,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/3835\/revisions\/3837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/3836"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=3835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=3835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=3835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}