Questions tagged [amazon-qldb]

Amazon Quantum Ledger Database (Amazon QLDB) is a fully managed ledger database owned by a central trusted authority that provides a transparent, immutable, and cryptographically verifiable transaction log of all of your application changes. Amazon QLDB tracks all application data changes and maintains a complete and verifiable history of changes over time.

What Is Amazon QLDB? - Amazon Quantum Ledger Database (Amazon QLDB)

104 questions
1
vote
2 answers

Digest doesn't match when inserting to QLDB

I'm trying to insert a record into a QLDB ledger using the AWS SDK in Go. I used the Python QLDB driver as an example and logged the final transaction hash produced there. This is used during the transaction commit to compare with the hash…
1
vote
3 answers

AWS QLDB - Java Tutorial Step 2 (ConnectToLeger) - Unable to determine service/operation name to be authorized

I am trying to run the Java Tutorial from AWS found here: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started.java.tutorial.html In the first step of the guide I had to add the region and endpoint to the "getClient" method, to get…
JDcode
  • 57
  • 1
  • 5
1
vote
2 answers

How do I connect the java sdk to qldb?

I try this tutorial https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started.java.step-2.html but I don't understand how to connect to qldb with the java sdk. I only need to update a document, but this documentation is so complex. Does…
alejandro correa
  • 157
  • 2
  • 12
1
vote
1 answer

AWS QLDB ion_document update

I have code that insert data into AWS QLDB using partial SQL and ion documents. Now want to update a document inside QLDB, and I can't find any example on it. Please help! statement = 'INSERT INTO MY_TABLE' ion_documents =…
user1187968
  • 7,154
  • 16
  • 81
  • 152
1
vote
1 answer

QLDB - What happens to my data after I delete my ledger?

QLDB is a fairly new phenomenon and my knowledge of "ledgers" is not very high - please pardon me for that. My doubt revolves around the question - What happens to my data after I delete my ledger ? Does it still stay in my journal and hence, can I…
Utsav T
  • 1,515
  • 2
  • 24
  • 42
1
vote
2 answers

Enable Streams on QLDB?

for an existing table on dynamo, we can enable streams. Is there a similar functionality to QLDB? I remember seeing in posts that Kinesis Data Streams integration with QLDB was in preview.
dashuser
  • 181
  • 1
  • 3
  • 16
1
vote
1 answer

How many items can updated in a transaction in QLDB?

A transaction cannot contain more than 25 unique items - In a DynamoDB. Refer : https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html#limits-dynamodb-transactions What the QLDB limits on this? Also, does QLDB support across…
dashuser
  • 181
  • 1
  • 3
  • 16
1
vote
1 answer

Is there tooling to publish the ENTIRE content FROM an AWS QLDB table to Cloudwatch using CloudWatch putMetric API?

I have a use-case where QLDB table contains this : customer-id | customer-name | customer-item-count I have a need to publish the metrics per customer-id every 5 minutes to cloudwatch and this data is available is in the QLDB table. Is there a way…
1
vote
1 answer

QLDB - Indexed Storage vs Journal Storage

As I am new to QLDB. I have some doubts Why Indexed Storage consumes more size than Journal Storage? During Large Data Insertion there is an increase in Journal Storage Size even after Insertion is Stopped for a certain Period.Can you explain me…
Sanjeev Kumar
  • 135
  • 2
  • 2
  • 13
1
vote
1 answer

Can QLDB be used to atomically increment an attribute?

The use-case is to keep track of exact number of items in a warehouse. The warehouse has incoming items from multiple customer and the warehouse has to keep track of the item count per customer so that the warehouse owner knows the accurate count…
dashuser
  • 181
  • 1
  • 3
  • 16
1
vote
1 answer

How to read data from Amazon QLDB using Spark and Scala/PySpark?

I am trying to create a custom ETL data pipeline. I am using Amazon QLDB as my source. But I don't know how to read data from Amazon QLDB using Spark-Scala or Spark-Python. QLDB documentation providing driver dependencies from below…
1
vote
1 answer

Views(Projections) in QLDB

As per QLDB documentation, QLDB provides views(projections) like User, Committed views to query data in it. Are these views are provided from indexed storage? If so, Current and History sections will be part of Indexed storage. Then, why there is a…
Shivaganesh
  • 123
  • 8
1
vote
1 answer

AWS QLDBSessionClient sendCommand fails

I'm trying to send commands to a ledger on Amazon QLDB using this package on .net core 3 but the QLDBSessionClient.sendCommand() appears not work... I follow this documentation but on .net core nuget package has no execute() method. Anyone has a…
0
votes
0 answers

QLDB gives OCC on a read only transaction?

I know that QLDB uses OCC and I understand that there are serialization requirements around updates. However, under heavy load I've noticed OCCs occurring for, what I strongly suspect are, read only requests. Is this expected? Using the Java drivers…
Andrew White
  • 52,720
  • 19
  • 113
  • 137
0
votes
0 answers

How test Amazon QLDB in Java with Junit

I'm trying to create unit tests for my repository, but I can't mock the QLDBDriver. I've searched for information, but I couldn't find anything for Java, and everything I've tried hasn't worked. For example I'm trying to test this method. public…