1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2023,Amazon Web Services,Inc.or its affiliates.All rights reserved.2023,Amazon Web Services,Inc.or its affiliates.All rights reserved.Cost optimization for Amazon Dy
2、namoDBLee HanniganD A T 3 0 8-RDatabase EngineerAWSJohn TerhuneSenior Solutions Architect,Amazon DynamoDB AWS 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.AgendaDesign and modelingCost-saving featuresCommercial options and tools 2025,Amazon Web Services,Inc.or its affiliates.Al
3、l rights reserved.Design and modeling 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Two key inputs to your Amazon DynamoDB billOther features with their own cost include:backups,import/export,data transfer,change streamsCapacityStorage 2025,Amazon Web Services,Inc.or its affilia
4、tes.All rights reserved.Read capacity unit(RCU)Read operationsGetItemQueryScan4 KB unitMeasures size of result set,rounds up to next 4 KBHalf cost for eventually consistent 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Key efficiencyCan using partition and sort keys help you gai
5、n efficiency?2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Key efficiencyIts best when you can pull exactly what you need based on the index keysCan using partition and sort keys help you gain efficiency?2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Single t
6、able design 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Single table designAre 10 GetItem calls better than 1 Query against 10 items?2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Single table designIts best if you can pull what you need in one call instead