From the course: Amazon Web Services: Data Analytics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Query DynamoDB for NoSQL

Query DynamoDB for NoSQL - Amazon Web Services (AWS) Tutorial

From the course: Amazon Web Services: Data Analytics

Start my 1-month free trial

Query DynamoDB for NoSQL

- The next structure we're going to look at is a DynamoDB table. First, we're going to have to set up the table by defining the table schema. And then we're going to perform the two types of query operations. There's a scan query that searches the entire table, and you can filter the results. And there's a regular query operation that searches only the primary key, then it uses comparison operators. So on the Amazon console, we're going to type DynamoDB, and click the blue button to create a table. We're going to give the table a name, we're going to call it customers. And we're going to set up a partition key that is a name with the value of string, or the type of string. And I can select binary or number. Notice it's a subset of types. A DynamoDB is a NoSQL database or a key value store, so it has a key, and then a number of associated values. Another way to think about this is a schema on reed rather than on write, so you can write in rows of differing lengths. So in other words, a…

Contents