CACHING QUERY PLANS IN DATABASE SYSTEMS

Patent №

US 11,645,281

Granted

2023-05-09

Filed 2022

Owner

SNOWFLAKE INC.

Lab

AI components

3

nlp · planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

17823310

The subject technology receives a query, the query including a set of statements for performing the query. The subject technology populates a compilation context based at least in part the query. The subject technology invokes a compiler to perform a compilation process based on the compilation context. The subject technology performs a lookup operation on a stored plan cache for an exact match based on information from the compilation context. The subject technology, in response to determining an exact match, determines whether the particular query plan requires re-compilation based on a data dependent optimization. The subject technology determines whether a plan cache entry corresponding to the particular query plan includes a data property constraint. The subject technology determines whether the data property constraint still holds based on a set of data properties.

AI classification

Planning1.00
Natural language0.99
AI hardware0.92
Knowledge representation0.26
Evolutionary computation0.01
Machine learning0.01
Vision0.00
Speech0.00

Ownership

SNOWFLAKE INC.

assignment · 610420722

Assignors

CRUANES, THIERRY, CUI, XUELAI, HWANG, SANGYONG, LEE, ALLISON WAINGOLD, LEE, BOYUNG, ONOSE, NICOLA DAN, WADDINGTON, WILLIAM, YAN, JIAQI, YAN, LI, YOON, YONGSIK

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC