dbTalk Databases Forums  

Handling facts that could be attached at any level of dimensions

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Handling facts that could be attached at any level of dimensions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lionel gomes
 
Posts: n/a

Default Handling facts that could be attached at any level of dimensions - 12-10-2005 , 01:07 PM






All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel



Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensions - 12-10-2005 , 04:19 PM






have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote

Quote:
All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel





Reply With Quote
  #3  
Old   
lionel gomes
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensions - 12-11-2005 , 04:58 AM



I do but I'm concerned about performance issues of using Parent - Child
dimensions.
Do Parent Child dimensions aggregate the same way as standards ?
thx

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
eF2Vcfd$FHA.272 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:O7Te2zb$FHA.3096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel







Reply With Quote
  #4  
Old   
Jéjé
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensions - 12-11-2005 , 07:40 AM



not the same way,
parent-child aggregates only the leaf members (or members with value) and
the all level member.

but if you provide value for every members in your parent-child dimension,
there is no changes from a performance point of view.


"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote

Quote:
I do but I'm concerned about performance issues of using Parent - Child
dimensions.
Do Parent Child dimensions aggregate the same way as standards ?
thx

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
eF2Vcfd$FHA.272 (AT) tk2msftngp13 (DOT) phx.gbl...
have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:O7Te2zb$FHA.3096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel









Reply With Quote
  #5  
Old   
lionel gomes
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensions - 12-11-2005 , 11:40 AM



My understanding is that "Parent-child dimensions have only one level
internally, therefore no
aggregations are possible." (Lot's of posts in this newsgroup on this
subject)



If so, I don't understand how I could obtain "no changes from a performance
point of view" ?



Regarding the second solution (Creating leaf members for non leaf members
using regular dimension and the « Hide member if » property for Level 2 and
Level 3 ) it results in having no uniqueness for member names and keys ?
What is the impact of this?





Initial dimension:



Quote:
L1 >>>> L2 >>>> L3
A

Quote:
B

C

D

E

F


Resulting dimension:



Quote:
L1 >>>> L2 >>>> L3
A
A

A

B

B

C

D

D

E

F


Thx

Lionel



"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
%23OBMrhl$FHA.916 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
not the same way,
parent-child aggregates only the leaf members (or members with value) and
the all level member.

but if you provide value for every members in your parent-child dimension,
there is no changes from a performance point of view.


"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:OEgGOHk$FHA.3372 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
I do but I'm concerned about performance issues of using Parent - Child
dimensions.
Do Parent Child dimensions aggregate the same way as standards ?
thx

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
eF2Vcfd$FHA.272 (AT) tk2msftngp13 (DOT) phx.gbl...
have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:O7Te2zb$FHA.3096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel











Reply With Quote
  #6  
Old   
Jéjé
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensions - 12-11-2005 , 05:05 PM



in a standard dimension with hide member if, then the dimension is optimized
like a regular dimension.

in a parent-child dimension, if you provide a value for each member
(aggregated or leaf members) then there is no performance issue, because
you'll provide the aggregated value by yourself.
in a parent-child dimension the impact for the performance is if you have a
big dimension with a lot of levels (like a complex employees hierarchy with
10 000 employees), in this case, the server aggregate the value "on the
fly", so if you ask for a member at the level 1 and if you have 10 levels
with 5 000 leaf members, the server has to aggregate the value for these
5000 members to evaluate the result of the selected member. in a standard
dimension, the targeted member is (or could be) allready aggregated and the
response time was better.


"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote

Quote:
My understanding is that "Parent-child dimensions have only one level
internally, therefore no
aggregations are possible." (Lot's of posts in this newsgroup on this
subject)



If so, I don't understand how I could obtain "no changes from a
performance point of view" ?



Regarding the second solution (Creating leaf members for non leaf members
using regular dimension and the « Hide member if » property for Level 2
and Level 3 ) it results in having no uniqueness for member names and keys
? What is the impact of this?





Initial dimension:



L1 >>>> L2 >>>> L3
A


B

C

D

E

F



Resulting dimension:



L1 >>>> L2 >>>> L3
A
A

A

B

B

C

D

D

E

F



Thx

Lionel



"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
%23OBMrhl$FHA.916 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
not the same way,
parent-child aggregates only the leaf members (or members with value) and
the all level member.

but if you provide value for every members in your parent-child
dimension, there is no changes from a performance point of view.


"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:OEgGOHk$FHA.3372 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
I do but I'm concerned about performance issues of using Parent - Child
dimensions.
Do Parent Child dimensions aggregate the same way as standards ?
thx

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
eF2Vcfd$FHA.272 (AT) tk2msftngp13 (DOT) phx.gbl...
have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:O7Te2zb$FHA.3096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
All,



I have a case where facts could be attached at any level of
dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel













Reply With Quote
  #7  
Old   
yongli
 
Posts: n/a

Default Re: Handling facts that could be attached at any level of dimensio - 12-12-2005 , 04:36 PM



Based on my experience, the parent-child dimenision is suitable for small
leaf-level dimension or pre-aggregated facts on all the nodes in the
dimension.

"lionel gomes" wrote:

Quote:
My understanding is that "Parent-child dimensions have only one level
internally, therefore no
aggregations are possible." (Lot's of posts in this newsgroup on this
subject)



If so, I don't understand how I could obtain "no changes from a performance
point of view" ?



Regarding the second solution (Creating leaf members for non leaf members
using regular dimension and the « Hide member if » property for Level 2 and
Level 3 ) it results in having no uniqueness for member names and keys ?
What is the impact of this?





Initial dimension:



L1 >>>> L2 >>>> L3
A


B

C

D

E

F



Resulting dimension:



L1 >>>> L2 >>>> L3
A
A

A

B

B

C

D

D

E

F



Thx

Lionel



"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
%23OBMrhl$FHA.916 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
not the same way,
parent-child aggregates only the leaf members (or members with value) and
the all level member.

but if you provide value for every members in your parent-child dimension,
there is no changes from a performance point of view.


"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:OEgGOHk$FHA.3372 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
I do but I'm concerned about performance issues of using Parent - Child
dimensions.
Do Parent Child dimensions aggregate the same way as standards ?
thx

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> a écrit dans le message de news:
eF2Vcfd$FHA.272 (AT) tk2msftngp13 (DOT) phx.gbl...
have you try to use a parent-child dimension?
in this type of dimension, any member could have a value from the fact
table.

"lionel gomes" <lionelgomes (AT) hotmail (DOT) com> wrote in message
news:O7Te2zb$FHA.3096 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
All,



I have a case where facts could be attached at any level of dimensions.



To handle this I have adopted this solution:



Let's take this example:



Initial dimension:



L1 L2 L3

A

B

C

D

E

F



I create a leaf member for each non leaf member:

The dimension becomes:



L1 L2 L3



A

A

A

B

B

C

D

D

E

F





Then I use the « Hide member if » property of the dimension in AS2K.



Do you know if there are any drawbacks of using this method?



Regards,

Lionel












Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.