US 11,704,199 B1
Data replication with cross replication group references
Robert Bengt Benedikt Gernhardt, Seattle, WA (US); Nithin Mahesh, Kirkland, WA (US); Sahaj Saini, Seattle, WA (US); and Matthew Uhlar, Seattle, WA (US)
Assigned to Snowflake Inc., Bozeman, MT (US)
Filed by Snowflake Inc., Bozeman, MT (US)
Filed on Aug. 31, 2022, as Appl. No. 17/823,690.
Claims priority of provisional application 63/351,367, filed on Jun. 11, 2022.
Int. Cl. G06F 16/25 (2019.01); G06F 16/27 (2019.01); G06F 11/14 (2006.01)
CPC G06F 11/1435 (2013.01) [G06F 16/256 (2019.01); G06F 16/27 (2019.01); G06F 2201/84 (2013.01)] 30 Claims
OG exemplary drawing
 
1. A method of replicating an internal entity in a first database region to a second database region, the method comprising:
identifying an association between the internal entity in a first replication group and an external entity outside of the first replication group, wherein the association comprises a first global identifier for the internal entity and a second global identifier for the external entity;
recording the identified association in a replication metadata of the internal entity, wherein the replication metadata comprises relationship information between the internal entity and other entities that enable proper functions of the internal entity, wherein the other entities comprise the external entity and a plurality of other internal entities located in the first replication group; and
replicating, by a processing device based on the replication metadata when one or more conditions are satisfied, the internal entity in a replicated group in the second database region as a replicated entity, along with replicating the plurality of the other internal entities in the first replication group into the replicated group, wherein the replicated entity is associated with the external entity outside of the first replication group.