Amazon Athena adds cost-based optimizer to enhance query performance
Share
Services
Starting today, [Amazon Athena](https://aws.amazon.com/athena/) uses cost-based optimizer (CBO) to enhance query performance based on table and column statistics, collected by [AWS Glue Data Catalog](https://docs.aws.amazon.com/glue/latest/dg/components-overview.html). With CBO, Athena analyzes and selects query plan optimizations, such as reordering joins or moving aggregations to earlier in the plan, that improve performance without requiring changes in your SQL code.
CBO is beneficial when your data grows or changes over time. For example, a retail business with hundreds of stores today likely produces more data than it did when there was one store location. Such growth can cause queries to require more complex SQL logic or more processing time than before. Through CBO, Athena applies data-driven query plan optimizations that can overcome changes in data structure and lead to faster performance. Get started by using the Athena or Glue consoles or AWS SDK to generate table statistics for a chosen Glue table. For help generating table statistics, see [generating column statistics](https://docs.aws.amazon.com/glue/latest/dg/column-statistics.html).
CBO is available in the US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland), Asia Pacific (Tokyo), and Asia Pacific (Osaka) Regions. For pricing information, visit the [AWS Glue pricing page](https://aws.amazon.com/glue/pricing/). To learn more, see [Using cost-based optimizer](https://docs.aws.amazon.com/athena/latest/ug/cost-based-optimizer.html) in the Athena user guide or read our [blog](https://aws.amazon.com/blogs/big-data/speed-up-queries-with-cost-based-optimizer-in-amazon-athena/) post.
What else is happening at Amazon Web Services?
Amazon AppStream 2.0 users can now save their user preferences between streaming sessions
December 13th, 2024
Services
Share
AWS Elemental MediaConnect Gateway now supports source-specific multicast
December 13th, 2024
Services
Share
Amazon EC2 instances support bandwidth configurations for VPC and EBS
December 13th, 2024
Services
Share
AWS announces new AWS Direct Connect location in Osaka, Japan
December 13th, 2024
Services
Share
Amazon DynamoDB announces support for FIPS 140-3 interface VPC and Streams endpoints
December 13th, 2024
Services
Share