简体   繁体   English

数据仓库中的用户定义模式

[英]User defined schemas in data warehouse

I have about 7-8 user-defined schemas (Reference, Finance, Admin, ORG, etc) in my OLTP database. 我的OLTP数据库中大约有7-8个用户定义的架构(参考,财务,管理,ORG等)。 I do have ODS db which is almost a replica on OLTP. 我有ODS db,它几乎是OLTP上的副本。 I want to build a data warehouse for this. 我想为此建立一个数据仓库。 How many schemas are recommended while building a warehouse? 在建仓库时,建议多少模式? am I supposed to create all the required tables in just 2-3 schemas if going by snowflake approach? 如果采用雪花方法,我是否应该仅在2-3个模式中创建所有必需的表?

Thanks! 谢谢!

The way you structure you warehouse is entirely up to you. 仓库的结构方式完全取决于您。 You can create as many or as little schemas as you like in order to fit your needs. 您可以根据需要创建任意多个架构。

Normally you'd only have a few schemas, probably soemthing like: 通常,您只有几个模式,大概是这样的:

  • Staging 分期
  • Config 设定档
  • Presentation 介绍

This question is quite broad however and it seems like you need to do a bit of research and design work first on how to build a warehouse. 但是,这个问题涉及面很广,您似乎需要首先就如何建立仓库进行一些研究和设计工作。 Regardless this isn't really a Snowflake question but rather a data warehousing one which is almost opinion based. 无论如何,这并不是一个雪花问题,而是一个几乎基于意见的数据仓库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM