Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7437253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:22:14+00:00 2026-05-29T10:22:14+00:00

I’ve just started looking into Amazon’s DynamoDB. Obviously the scalability appeals, but I’m trying

  • 0

I’ve just started looking into Amazon’s DynamoDB. Obviously the scalability appeals, but I’m trying to get my head out of SQL mode and into no-sql mode. Can this be done (with all the scalability advantages of dynamodb):

Have a load of entries (say 5 – 10 million) indexed by some number. One of the fields in each entry will be a creation date. Is there an effective way for dynamo db to give my web app all the entries created between two dates?

A more simple question – can dynamo db give me all entries in which a field matches a certain number. That is, there’ll be another field that is a number, for argument’s sake lets say between 0 and 10. Can I ask dynamodb to give me all the entries which have value e.g. 6?

Do both of these queries need a scan of the entire dataset (which I assume is a problem given the dataset size?)

many thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:22:15+00:00Added an answer on May 29, 2026 at 10:22 am

    Is there an effective way for dynamo db to give my web app all the
    entries created between two dates?

    Yup, please have a look at the of the Primary Key concept within Amazon DynamoDB Data Model, specifically the Hash and Range Type Primary Key:

    In this case, the primary key is made of two attributes. The first
    attributes is the hash attribute and the second one is the range
    attribute. Amazon DynamoDB builds an unordered hash index on the hash
    primary key attribute and a sorted range index on the range primary
    key attribute. […]

    The listed samples feature your use case exactly, namely the Reply ( Id, ReplyDateTime, … ) table facilitates a primary key of type Hash and Range with a hash attribute Id and a range attribute ReplyDateTime.

    You’ll use this via the Query API, see RangeKeyCondition for details and Querying Tables in Amazon DynamoDB for respective examples.

    can dynamo db give me all entries in which a field matches a certain
    number. […] Can I ask dynamodb to give
    me all the entries which have value e.g. 6?

    This is possible as well, albeit by means of the Scan API only (i.e. requires to read every item in the table indeed), see ScanFilter for details and Scanning Tables in Amazon DynamoDB for respective examples.

    Do both of these queries need a scan of the entire dataset (which I
    assume is a problem given the dataset size?)

    As mentioned the first approach works with a Query while the second requires a Scan, and Generally, a query operation is more efficient than a scan operation – this is a good advise to get started, though the details are more complex and depend on your use case, see section Scan and Query Performance within the Query and Scan in Amazon DynamoDB overview:

    For quicker response times, design your tables in a way that can use
    the Query, Get, or BatchGetItem APIs, instead. Or, design your
    application to use scan operations in a way that minimizes the impact
    on your table’s request rate. For more information, see Provisioned Throughput Guidelines in Amazon DynamoDB.

    So, as usual when applying NoSQL solutions, you might need to adjust your architecture to accommodate these constraints.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a French site that I want to parse, but am running into
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.