dbTalk Databases Forums  

Dso Partition Automation

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


Discuss Dso Partition Automation in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gad@datacube.co.il
 
Posts: n/a

Default Dso Partition Automation - 12-13-2005 , 01:19 PM






Hi i have an app. that creates Partition using DSO on the app. i insert
the DimensionSlice (to update the time dimension) Custom property, when
i view the Partition using Analysis Manager every thing looks in place,
but when i process the partition the select that runs against the DB
doesn't include the dimension slice at the from and where of the select
clause.


Reply With Quote
  #2  
Old   
scott_gunn@email.com
 
Posts: n/a

Default Re: Dso Partition Automation - 12-13-2005 , 01:32 PM






I'm not sure why your SQL doesn't have the right filter once you set
the slice, but you can have your DSO code set the appropriate filter by
modifying the partition.SourceTableFilter property to ensure the SQL
will have it in the where clause.


Reply With Quote
  #3  
Old   
gad@datacube.co.il
 
Posts: n/a

Default Re: Dso Partition Automation - 12-13-2005 , 01:37 PM



When i set the Partition.SourceTableFilter the where clause is all
right, but the from clause still lacks the the dimension source table.
any suggestions ?


Reply With Quote
  #4  
Old   
Tom McCrossin
 
Posts: n/a

Default Re: Dso Partition Automation - 12-14-2005 , 08:58 AM



I won't claim to be an expert, but I have also recently created an
application that automatically generates partitions for me. I create
either a) a partition based on a where clause (set by setting the
SourceTableFilter on the clsPartitionDimension class), or b) by
establishing a slice by setting SliceValue on the clsPartitionLevel
class? You must then do a partion Update(), otherwise you will not see
the slice. In my experience, before I put in the Update(), I saw the
creation of the partitions, but as you described, I didn't see all the
setting I set. Hope that helps.


Reply With Quote
  #5  
Old   
Tom McCrossin
 
Posts: n/a

Default Re: Dso Partition Automation - 12-14-2005 , 08:58 AM



I won't claim to be an expert, but I have also recently created an
application that automatically generates partitions for me. I create
either a) a partition based on a where clause (set by setting the
SourceTableFilter on the clsPartitionDimension class), or b) by
establishing a slice by setting SliceValue on the clsPartitionLevel
class? You must then do a partion Update(), otherwise you will not see
the slice. In my experience, before I put in the Update(), I saw the
creation of the partitions, but as you described, I didn't see all the
setting I set. Hope that helps.


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

Default Re: Dso Partition Automation - 12-14-2005 , 11:36 AM



Setting slice is kind of tricky. You have to set SliceValue property for the
level (where applied) and above.
The customProperty of DimensionSlice is just for display only in the
partition wizard, has no effect on the real slice.

"gad (AT) datacube (DOT) co.il" wrote:

Quote:
When i set the Partition.SourceTableFilter the where clause is all
right, but the from clause still lacks the the dimension source table.
any suggestions ?



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.