TRACKING INTERMEDIATE CHANGES IN DATABASE DATA

    公开(公告)号:US20240311369A1

    公开(公告)日:2024-09-19

    申请号:US18668993

    申请日:2024-05-20

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/2379 G06F16/2282 G06F16/24554 G06F16/2456

    Abstract: Systems, methods, and devices for tracking a series of changes to database data are disclosed. A method includes executing a transaction to modify data in a micro-partition of a table of a database by generating a new micro-partition that embodies the transaction. The method includes associating transaction data with the new micro-partition, wherein the transaction data comprises a timestamp when the transaction was fully executed, and further includes associating modification data with the new micro-partition that comprises an indication of one or more rows of the table that were modified by the transaction. The method includes joining the transaction data with the modification data to generate joined data and querying the joined data to determine a listing of intermediate modifications made to the table between a first timestamp and a second timestamp.

    TRACKING CHANGES IN DATABASE DATA
    74.
    发明公开

    公开(公告)号:US20240095229A1

    公开(公告)日:2024-03-21

    申请号:US18520845

    申请日:2023-11-28

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/2358 G06F16/2455 G06F16/278

    Abstract: A method includes detecting, by at least one hardware processor, a change request for a table of a database, the table comprising a plurality of micro-partitions. A transaction associated with the change request is executed at a first timestamp. The transaction causes replacement of a first micro-partition of the plurality of micro-partitions with a second micro-partition. A change tracking column is generated in the second micro-partition. The change tracking column comprises metadata for the transaction. A delta for the table between the first timestamp and a second timestamp is generated using the metadata in the change tracking column. The delta indicates changes made to one or more rows of the table between the first time stamp and the second timestamp.

    Stream object type for query processing

    公开(公告)号:US11514023B1

    公开(公告)日:2022-11-29

    申请号:US17650604

    申请日:2022-02-10

    Applicant: Snowflake Inc.

    Abstract: Provided herein are systems and methods for a stream object configuration, including configuring and processing streams on views. For example, a method includes configuring by at least one hardware processor at a first computing node, a view on a source table for shared access with at least a second computing node. The view includes a query associated with the source table. The query associated with the source table is executed to obtain a plurality of query results. A stream object is generated on the view. The stream object includes the plurality of query results of executing the query and a corresponding plurality of time stamps associated with times the plurality of query results are obtained. The generated stream object is configured for the shared access with at least the second computing node.

Patent Agency Ranking