Invention Grant
- Patent Title: Efficient query processing of merge statement
- Patent Title (中): 合并语句的高效查询处理
-
Application No.: US11772495Application Date: 2007-07-02
-
Publication No.: US07676525B2Publication Date: 2010-03-09
- Inventor: Stefano Stefani , Naveen Prakash , Craig S. Freedman , Marcel van der Holst
- Applicant: Stefano Stefani , Naveen Prakash , Craig S. Freedman , Marcel van der Holst
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Woodcock Washburn LLP
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
Disclosed are systems and methods for optimization and efficient processing of MERGE statements. MERGE allows performing a mix of inserts, updates, and deletes in a single statement, and introduces new challenges compared to legacy DML statements, where the kind of action to be performed is hard-coded and known at compile time. Such optimizations may include Halloween Protection detection for MERGE statements, optimized prevention of non-deterministic MERGE statements, in-place inserts for MERGE statements scanning the “Read Instance” of the target table, and optimized execution of MERGE statements seeking the “Read Instance” of the target table. Such optimizations may be fundamental in order to ensure proper performance and reliable processing times.
Public/Granted literature
- US20090012980A1 Efficient Query Processing Of Merge Statement Public/Granted day:2009-01-08
Information query