- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 Dynamo DB。我正在尝试测试 Dynamo 数据库表,但我无法在其中获取外键。
最佳答案
DynamoDB 没有外键。它是一个不支持这种关系数据的 NoSQL 数据库。表之间没有维护数据完整性,因此这种行为不是内置的。如果您想拥有这种行为,则必须以不同的方式对 DynamoDB 中的数据存储进行建模。
来自 FAQ解释说它不是 关系数据库:
While Amazon DynamoDB tackles the core problems of database scalability, management, performance, and reliability, it does not have all the functionality of a relational database. It does not support complex relational queries (e.g. joins) or complex transactions. If your workload requires this functionality, or you are looking for compatibility with an existing relational engine, you may wish to run a relational engine on Amazon RDS or Amazon EC2. While relational database engines provide robust features and functionality, scaling a workload beyond a single relational database instance is highly complex and requires significant time and expertise.
关于amazon-dynamodb - 如何在 DynamoDB 中分配外键?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28431758/
我是一名优秀的程序员,十分优秀!