diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-15 15:32:47 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-15 15:32:47 -0700 |
| commit | 3faece6f29bc057bb823210e5eea29521e81ad26 (patch) | |
| tree | eb2d65cd862a6e7cd83f2aaf6a2c4540e458ddbb /doc | |
| parent | 06471347cfeb5de96a6d6e563386fb9f9241f3dc (diff) | |
Work on q2'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/unit-7.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/unit-7.md b/doc/unit-7.md index cf471a0..e9edc2f 100644 --- a/doc/unit-7.md +++ b/doc/unit-7.md @@ -250,6 +250,17 @@ A common grain would be each business transaction, such as an individual line it Clicks on a website is possibly the lowest level of granularity. +Size of the fact table + +The grain and duration of the fact table have a direct impact on the size of that table. + +We can estimate the number of rows in the fact table as follows: + +1. Estimate the number of possible values for each dimension associated with the fact table. +2. Multiple the values obtained in the first step after making any necessary adjustments + +Total rows = 1000 stores * (10,000 products * 50% = 5,000) * 24 months + = 120,000,000 rows Multiple fact tables |
