Hi,
One of my application is currently using EE DB2 database Version 9.1 . We are are now planning to enhance this database wherein the database size is expected to grow to 5 TB. Consequently we are planning to move to a DPF system.
Existing Schema in short
The scehma is mostly use for reporting purpose. We have 3-4 major tables(all with 80-90 columns) with volume around 400-500 million(as of now) for each table. All the reports are driven by account which is present in all the tables.But we need to join all these tables with PRODUCT table(on a bigint id) which is a master table having all our products with all the corresponding reference data.
Question:
We are planning to use the account as the distribution key for 3 main tables.
How can we distribute the product table, which does not have account so that the joins are collacted ?
Product table is around 4 million and is updated(inserted and updated) on a daily basis. We tried replicated MQT but it did not work due to heavy inserts and updates. We also thought of denormalizing the main table and including the product attributes over there, but it was not feasible due to size and the frequent update and inserts.
Any help is appreciated.
Thanks,
Rajesh