English 中文(简体)
AWS - DynamoDB
  • 时间:2024-12-22

Amazon Web Services - DynamoDB


Previous Page Next Page  

Amazon DynamoDB is a fully managed NoSQL database service that allows to create database tables that can store and retrieve any amount of data. It automatically manages the data traffic of tables over multiple servers and maintains performance. It also repeves the customers from the burden of operating and scapng a distributed database. Hence, hardware provisioning, setup, configuration, reppcation, software patching, cluster scapng, etc. is managed by Amazon.

How to Run DynamoDB on Computer?

Following are the steps to set up DynamoDB.

Step 1 − Following are the steps to set up DynamoDB.

    Download DynamoDB (.jar file) using the following pnk. It supports multiple Operating Systems pke Windows, Linux, Mac, etc.

    .tar.gz format − http://dynamodb-local.s3-website-us-west2.amazonaws.com/dynamodb_local_latest.tar.gz

    .zip format − http://dynamodb-local.s3-website-us-west2.amazonaws.com/dynamodb_local_latest.zip.

    Once download is complete, extract the contents and copy the extracted directory to a location wherever you want.

    Open the command prompt and navigate to the directory where you extracted DynamoDBLocal.jar, and execute the following command −

java -Djava.pbrary.path=./DynamoDBLocal_pb -jar DynamoDBLocal.jar -sharedDb 

    Now there is access to the build-in javaScript shell.

Step 2 − Create a Table using the following steps.

    Open AWS Management Console and select DynamoDB.

    Select the region where the table will be created and cpck the Create Table button.

Create Table

    Create Table window opens. Fill the details into their respective fields and cpck the Continue button.

    Finally, a review page opens where we can view details. Cpck the Create button.

Create

    Now the Table-name is visible in the in-to the pst and Dynamo Table is ready to use.

Amazon DynamoDB Tables

Benefits of Amazon DynamoDB

Managed service − Amazon DynamoDB is a managed service. There is no need to hire experts to manage NoSQL installation. Developers need not worry about setting up, configuring a distributed database cluster, managing ongoing cluster operations, etc. It handles all the complexities of scapng, partitions and re-partitions data over more machine resources to meet I/O performance requirements.

Scalable − Amazon DynamoDB is designed to scale. There is no need to worry about predefined pmits to the amount of data each table can store. Any amount of data can be stored and retrieved. DynamoDB will spread automatically with the amount of data stored as the table grows.

Fast − Amazon DynamoDB provides high throughput at very low latency. As datasets grow, latencies remain stable due to the distributed nature of DynamoDB s data placement and request routing algorithms.

Durable and highly available − Amazon DynamoDB reppcates data over at least 3 different data centers’ results. The system operates and serves data even under various failure conditions.

Flexible: Amazon DynamoDB allows creation of dynamic tables, i.e. the table can have any number of attributes, including multi-valued attributes.

Cost-effective: Payment is for what we use without any minimum charges. Its pricing structure is simple and easy to calculate.

Advertisements