0

I work in an organization with multiple divisions, perhaps each one is in a different region and their Snowflake account is set up in a different region. It is not an uncommon need for my division to request a specific data set that another division has in their account. The problem with replication in Snowflake is that you can only replicate a full database object, possibly containing datasets that the provider don't want to share. The provider could create a copy of the database that contains only a copy of the dataset they want to replicate, but that requires the provider to upkeep two datasets, the original and the copy.

In a scenario where the provider, on a separate cloud region, want to share a single table, Snowflake does not seem to have an effective way of executing that. Has anyone had this scenario? What is the most effective way of doing this without making the engineering team go mad?

13
  • Create a share, add the objects you want to the share, replicate the share Commented Feb 22 at 22:26
  • You could also clone the schema to another database and replicate the new database. The schema clone could be automated in sequence with the replication cadence. Commented Feb 23 at 18:29
  • @NickW This is an interesting approach. I'm trying to look into this further but the answers online aren't totally clear. What I'm confused about is the fact that a share is a service layer operation only, whereas replication moves actual read only objects. I'm not totally sold on this yet and will need to investigate more. Commented Feb 23 at 23:12
  • @NickW From snowflake documentation: "Current limitations of database replication Databases created from shares cannot be replicated." docs.snowflake.com/en/user-guide/db-replication-intro Commented Feb 27 at 16:34
  • Correct - but that's not relevant to the scenario you described in your question. What that is saying is that if another account shares data with you and you create a DB from that share, you can't then share that DB to another account Commented Feb 27 at 17:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.