Which of the following is/are correct?试题 10选择一项或多项:a.There are no transactions in any NoSQL databases.b.NoSQL databases define isolation levels under the BASE model .c.Different NoSQL databases may offer different levels of transaction supports.d.Some NoSQL databases let the programmer decide the trade-off between scalability and consistency.
Question
Which of the following is/are correct?试题 10选择一项或多项:a.There are no transactions in any NoSQL databases.b.NoSQL databases define isolation levels under the BASE model .c.Different NoSQL databases may offer different levels of transaction supports.d.Some NoSQL databases let the programmer decide the trade-off between scalability and consistency.
Solution
好的,让我们逐步分析每个选项:
a. There are no transactions in any NoSQL databases. 这个选项是不正确的。虽然许多NoSQL数据库在设计上优先考虑可扩展性和性能,但这并不意味着它们完全不支持事务。一些NoSQL数据库,如MongoDB和Cassandra,确实支持某种形式的事务。
b. NoSQL databases define isolation levels under the BASE model. 这个选项也是不正确的。BASE模型(Basically Available, Soft state, Eventual consistency)是NoSQL数据库的一种设计哲学,与ACID(Atomicity, Consistency, Isolation, Durability)模型相对。BASE模型强调可用性和最终一致性,但它并不定义隔离级别。
c. Different NoSQL databases may offer different levels of transaction supports. 这个选项是正确的。不同的NoSQL数据库在事务支持方面确实有所不同。例如,MongoDB在4.0版本之后引入了多文档事务,而Cassandra则提供轻量级事务(Lightweight Transactions)。
d. Some NoSQL databases let the programmer decide the trade-off between scalability and consistency. 这个选项也是正确的。一些NoSQL数据库允许开发者在可扩展性和一致性之间进行权衡。例如,Cassandra允许用户通过调整一致性级别来决定是优先考虑性能还是数据一致性。
综上所述,正确的选项是c和d。
Similar Questions
Which of the following is/are correct?Question 4Select one or more:Select one or more:a.Some NoSQL databases let the programmer decide the trade-off between scalability and consistency.b.Different NoSQL databases may offer different levels of transaction supports.c.There are no transactions in any NoSQL databases.d.NoSQL databases define isolation levels under the BASE model .
Which of the following is/are correct?试题 13选择一项或多项:a.Relational databases often cannot scale beyond certain point under ACID constraints.b.Scale up means to add more nodes to a system, e.g. adding more web servers.c.NoSQL databases often consider to scale out by using commodity hardware and free software.d.All NoSQL databases are scalable.
Which of the following are characteristics of NoSQL databases? Select all that apply. 1 mark is deducted for each incorrect choice.Question 2Select one or more:A.Complex query supportB.Eventual consistencyC.ACID transactionsD.Strong consistencyE.Limited horizontal scalabilityF.Horizontal scalingG.Distributed computingH.High availabilityI.Schema-free designJ.Complex joins
What is/are the reason(s) for considering a NoSQL database, rather than a relational database?试题 11选择一项或多项:a.To support a declarative query language for querying data and managing data integrity.b.To support complex transactions to preserve consistency across difference transactions.c.To support the insertion of data without a pre-defined schema.d.To support high-performance queries over an extremely large amount of data, while update operations are rare.
Which of the following is/are correct?Question 6Select one or more:Select one or more:a.NoSQL databases often consider to scale out by using commodity hardware and free software.b.Scale up means to add more nodes to a system, e.g. adding more web servers.c.All NoSQL databases are scalable.d.Relational databases often cannot scale beyond certain point under ACID constraints.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.