- 专利标题: Deferred constraints support in distributed database systems
-
申请号: US18447934申请日: 2023-08-10
-
公开(公告)号: US12007990B1公开(公告)日: 2024-06-11
- 发明人: Nikolaos Romanos Katsipoulakis , Dimitrios Tsirogiannis , William Waddington , Zhaohui Zhang
- 申请人: Snowflake Inc.
- 申请人地址: US MT Bozeman
- 专利权人: Snowflake Inc.
- 当前专利权人: Snowflake Inc.
- 当前专利权人地址: US MT Bozeman
- 代理机构: Schwegman Lundberg & Woessner, P.A.
- 主分类号: G06F16/00
- IPC分类号: G06F16/00 ; G06F16/2453 ; G06F16/27
摘要:
The subject technology receives a query, the query including a set of statements, the set of statements including a first statement comprising a first data manipulation language operation. The subject technology determines that the set of statements includes at least one statement defining a first constraint, and a second statement indicating that the first constraint is statement deferrable for performing validation of the first constraint. The subject technology generates a key value constraint check operator as a node in a query plan. The subject technology generates a key value DML operator as a second node in the query plan, the key value DML operator corresponding to the first DML operation. The subject technology performs, using the key value constraint check operator, a validation process of the first constraint based at least in part on a set of violating keys of each DML operation from the set of statements.
信息查询