作为外部人员检测云数据库的错误行为
Detecting Incorrect Behavior of Cloud Databases as an Outsider
摘要:
云数据库提供强大的属性,包括可序列化性,有时称为黄金标准数据库正确性属性。但是云数据库是复杂的黑盒子,运行在与客户不同的管理域中;因此,客户可能想知道数据库是否符合他们的合同。一个核心困难是,这里的基本问题,即验证可串行性,是NP完全的。然而,我们假设在现实世界的工作负载上,验证可串行化是容易处理的,我们第一次将这个问题视为系统问题。我们构建了Cobra,它通过混合问题的新编码,硬件加速和仔细选择合适的SMT求解器来解决潜在的搜索问题。Cobra还引入了一种技术来解决在此上下文中的垃圾回收的挑战。与自然基线相比,cobra在它可以处理的问题规模方面至少提高了10倍,同时对客户端施加了适度的开销。
英文摘要:
Cloud DBs offer strong properties, including serializability, sometimes called the gold standard database correctness property. But cloud DBs are complicated black boxes, running in a different administrative domain from their clients; thus, clients might like to know whether the DBs are meeting their contract. A core difficulty is that the underlying problem here, namely verifying serializability, is NP-complete. Nevertheless, we hypothesize that on real-world workloads, verifying serializability is tractable, and we treat the question as a systems problem, for the first time. We build Cobra, which tames the underlying search problem by blending a new encoding of the problem, hardware acceleration, and a careful choice of a suitable SMT solver. cobra also introduces a technique to address the challenge of garbage collection in this context. cobra improves over natural baselines by at least 10x in the problem size it can handle, while imposing modest overhead on clients.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。