DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Merging fact tables

  1. #1
    Join Date
    Feb 2003
    Posts
    2

    Merging fact tables

    I am creating a Data Mart with two fact tables Loan Applications and Documents.

    Loan Applications fact has one to many relationship with Documents fact. Each Table has its own Dimensions like Reasons Dimension for Loan Applications and Time Dimension for Documents.

    If I merge the two fact tables the size of tables becomes a big issue and lots of columns will have null values. i.e. each Document is for Loan Application but every Loan Application does not require the documents.

    Users using this data mart can query from either fact table: 1) Show all applications for Documents X

    2)Which documents are required for Application A.

    Question 2 is fine (due to one to many relationship) but for Question 1 there will be lots of rows with null columns and when you drill down from this it can lead to a problem.

    Can anybody suggest a better way to design the data model with minimum redundant data with no Null values in the fact table.

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    what query tool are you using?
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  3. #3
    Join Date
    Mar 2002
    Posts
    534
    I wouldn't care about the nulls. To reduce the number of redudant data I would create a dimension with the documents. Also create a bitmap index over the document reference.

    HTH
    Mike
    Last edited by mike9; 03-06-2003 at 05:41 PM.

  4. #4
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    i think it's very significant that the two facts have different dimensions. i would keep them as seperate fact tables.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width