Modelling a new warehouse
2 posters
Page 1 of 1
Modelling a new warehouse
Hi
I'm new to all this and am just modelling my first star schema. Was just wondering about how people type columns in their dimension/fact tables - I was speaking to someone the other day and they set all their text fields to be Varchar2(255), all their number columns to be number, and all dates fields to be Date. That way, any upstream change didn't require model changes in the DW.
Is this typically what others do, too? Or do you explicitly type fields as required, ie using different string lengths, different number precisions, etc.?
Thanks
I'm new to all this and am just modelling my first star schema. Was just wondering about how people type columns in their dimension/fact tables - I was speaking to someone the other day and they set all their text fields to be Varchar2(255), all their number columns to be number, and all dates fields to be Date. That way, any upstream change didn't require model changes in the DW.
Is this typically what others do, too? Or do you explicitly type fields as required, ie using different string lengths, different number precisions, etc.?
Thanks
themitch- Posts : 1
Join date : 2013-10-18
Re: Modelling a new warehouse
Depends on your database and BI tool. Some DB's will store time in DATE types, while others require using the TIMESTAMP type.
As far as VARCHAR goes, having everything at 255 can be a pain for users if the BI/reporting tool they are using sizes columns according to their declared size.
As far as VARCHAR goes, having everything at 255 can be a pain for users if the BI/reporting tool they are using sizes columns according to their declared size.
Similar topics
» Modelling and design work for a Warehouse
» Dimensional Modelling compared to Relational (3NF +) Modelling for DSS
» Modelling sales_orders and order_shipment_schedule
» Limitations of ER modelling while modelling a dwh
» Warehouse as source for another Warehouse
» Dimensional Modelling compared to Relational (3NF +) Modelling for DSS
» Modelling sales_orders and order_shipment_schedule
» Limitations of ER modelling while modelling a dwh
» Warehouse as source for another Warehouse
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum