Kuv yuav thauj cov ntaub ntawv JSON li cas rau hauv DynamoDB?
Kuv yuav thauj cov ntaub ntawv JSON li cas rau hauv DynamoDB?

Video: Kuv yuav thauj cov ntaub ntawv JSON li cas rau hauv DynamoDB?

Video: Kuv yuav thauj cov ntaub ntawv JSON li cas rau hauv DynamoDB?
Video: Ua siab hnov qab kuv mus by zuag lauj & pov vwj nkauj tawm tshiab 2020 2024, Kaum ib hlis
Anonim

Rau txhua tus ntaub ntawv , koj siv tus AWS CLI kom thauj khoom cov ntaub ntawv hauv DynamoDB.

Download tau Cov Ntaub Ntawv Cov Ntaub Ntawv Archive

  1. Download tau cov qauv ntaub ntawv archive (sampledata. zip) siv qhov txuas no: sampledata. zip.
  2. Extract cov. json cov ntaub ntawv cov ntaub ntawv los ntawm lub archive.
  3. Luam the. json cov ntaub ntawv cov ntaub ntawv rau koj cov directory tam sim no.

Ntawm no, DynamoDB puas txhawb JSON?

Kev them nyiaj yug DynamoDB JSON . Qhov tseeb Amazon DynamoDB hloov tshiab ntxiv kev txhawb nqa rau JSON cov ntaub ntawv, ua kom yooj yim khaws cia JSON cov ntaub ntawv hauv a DynamoDB lub rooj thaum khaws cia lawv cov complex thiab tejzaum nws nested zoo. Tam sim no, lub AWS SDK rau. NET tau ntxiv haiv neeg Kev them nyiaj yug JSON , yog li koj ua tau siv raw JSON cov ntaub ntawv thaum ua haujlwm nrog DynamoDB.

Kuj Paub, koj tuaj yeem khaws cov duab hauv DynamoDB? 2 Teb. Ntev teb: DynamoDB txwv tus kheej cov ntaub ntawv rau 64 KB, yog li koj tej zaum ua tau tsis siv DynamoDB tsuas yog koj duab tseem me me. DynamoDB yog qis latency tshaj S3, thiab nws txhawb configurable throughput. Txawm li cas los xij, S3 txhawb nqa ntau npaum li qhov sib npaug koj xav tawm ntawm lub thawv.

Ntawm no, kuv yuav import cov ntaub ntawv CSV rau hauv DynamoDB li cas?

Qhov blog no piav txog ib qho ntawm ntau txoj hauv kev thauj a csv ua cov ntaub ntawv file into AWS dynamodb database.

Load csv to AWS dynamoDB

  1. Kauj ruam 1: Load csv cov ntaub ntawv rau hauv S3. Peb yuav thauj cov ntaub ntawv csv yooj yim uas muaj cov ntaub ntawv neeg ua haujlwm.
  2. Kauj ruam 2: Teeb lub rooj hauv DynamoDB.
  3. Kauj ruam 3 Create AWS Lambda function.
  4. Kauj ruam 4 Sau AWS Lambda muaj nuj nqi.

Tableau tuaj yeem txuas rau DynamoDB?

Amazon Dynamodb yog NoSQL database & kuv xav tias tsis muaj txoj hauv kev txuas nws rau Tableau . Hauv Tableau peb tuaj yeem txuas tau nws nrog Amazon RDS & Amazon Redshift.

Pom zoo: