Database design: one huge table or separate tables?

后端 未结 13 1950
自闭症患者
自闭症患者 2020-12-09 03:16

Currently I am designing a database for use in our company. We are using SQL Server 2008. The database will hold data gathered from several customers. The goal of the databa

13条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 04:04

    Since you've tagged your question as 'datawarehouse' as well I assume you know some things about the subject. Depending on your goals you could go for a star-schema (a multidemensional model with a fact and dimensiontables). Store all fastchanging data in 1 table (per subject) and the slowchaning data in another dimension/'snowflake' tables.

    An other option is the DataVault method by Dan Lindstedt. Which is a bit more complex but provides you with full flexibility.

    http://danlinstedt.com/category/datavault/

提交回复
热议问题