Recommended DB solution for iOS POS app

0

Hi,

I have created a large POS app that is heavily intergrated with SAP. Now I've started decouple it from SAP and use AWS as backend instead. (I'm rookie in AWS) My initial idea was to use Amplify and DynamoDB, even though I'm a lot more familiar with relational DB's like SAP HANA and SQL. The table setup might look something like this; Master data: Product Groups: 100 entries Products: ~50k entries Prices: 5-10m entries Customers: 500k entries (with supporting tables like CustomerOrders, CustomerShipToParties, CustomerContacts etc) Transactions Receipts with separate tables for header, items, payments. "Joined" with unique transaction UUID or similar.

Multiple iOS devices accross stores will download masterdata and create receipts in backend. Once persisted, they will be exported from AWS to external ERP system (e.g SAP) and external ERP transaction ID's will be persisted in AWS DB.

Based on the above - are DynamoDB a viable/recommended solution or should an RDS be utilized instead?

Thanks in advance!

perage
已提問 8 個月前檢視次數 267 次
1 個回答
0

Hello.
DynamoDB is NoSQL, so it is often faster to read and write than RDS.
However, it has the disadvantage of not being able to throw as complex queries as an RDBMS.
If you do not need to perform difficult queries, you can choose DynamoDB.
If you are specializing in searching by joining tables, etc., you should use RDS.

You may want to evaluate which database your application is better suited for by looking at the comparison chart in the following document.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SQLtoNoSQL.WhyDynamoDB.html

profile picture
專家
已回答 8 個月前
profile pictureAWS
專家
已審閱 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南