Author Topic: Table Joins? DB or Conforming Layer?  (Read 1341 times)

Online blom0344

  • BI Architect
  • Global Moderator
  • Statesman
  • *****
  • Posts: 1,571
  • Forum Citizenship: +50/-2
  • Assess what you need instead of what you want
    • Reasult b.v.
Re: Table Joins? DB or Conforming Layer?
« Reply #15 on: 20 Aug 2010 08:11:00 pm »
My 2 cents would be that the whole automatic 'Star-schema grouping' wizard is just that: a wizard. In purely functional terms you do not need it. It doesn't add anything valuable to the model at all. In other words : you can live without it just the same..
Oracle9i,DB2/AS400/Busobj 6.5/Powercenter7/Cognos8 /
SSIS 2005 / SQL SERVER 2005 /PowerDesigner 12.5/15

Offline tupac_rd

  • Statesman
  • ******
  • Posts: 293
  • Forum Citizenship: +9/-0
Re: Table Joins? DB or Conforming Layer?
« Reply #16 on: 21 Aug 2010 02:05:30 am »
My 2 cents would be that the whole automatic 'Star-schema grouping' wizard is just that: a wizard. In purely functional terms you do not need it. It doesn't add anything valuable to the model at all. In other words : you can live without it just the same..

I almost thought the same too, except that when we were on 8.3, if we would'nt use automatic 'Star-schema grouping', the query would choose the wrong path. But they fixed it since, I think starting 8.3 SP1 or 2 not sure.... So other than that reason, yes I agree we can live without it...

Offline RobsWalker68

  • Community Leader
  • *****
  • Posts: 229
  • Forum Citizenship: +15/-1
    • Linkedin Profile
Re: Table Joins? DB or Conforming Layer?
« Reply #17 on: 07 Sep 2010 03:11:43 am »
Hi,

I've always found it does very much depend upon the type of underlying data source you are acting with. 

If the underlying data source is a star schema with no snow flaking then we tend to make the joins in the business layer instead of the db layer.  For query predictability the 'as view' concept seems to make more sense.   On the other if you are operating against an operational source then perhaps minimised SQL would be of more importance and the joins should be made an the database layer.

Kind Regards

 
Rob