dbTalk Databases Forums  

ProcessDefault in SQL server 2005

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


Discuss ProcessDefault in SQL server 2005 in the microsoft.public.sqlserver.olap forum.



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

Default ProcessDefault in SQL server 2005 - 03-13-2006 , 05:56 AM






Hi,

Following are the possible changes in cube/dimension.

Dimension: Addition/Deletion or updating of some of the rows
(members/attributes)
Cube : Addition/updating of some of the rows in the fact table.
Roll-up formulea: Changes in these formulea.
Member display name : Change in display name by changing the formatting
function being used on the member display column.

For each of these changes, need to find out the mode of processing and
then create the DTS package accordingly. So instead of creating such a
complex DTS package depnding on the type of change, I just want to use
ProcessDefault on dimension (if any change) and cube. Could somebody
elaborate on ProcessDefault more? i.e. how much reliable is that
processing mode?

Thanks in advance
Gayatri.


Reply With Quote
  #2  
Old   
Edward Melomed [MSFT]
 
Posts: n/a

Default Re: ProcessDefault in SQL server 2005 - 03-13-2006 , 02:43 PM






The definition on ProcessDefault is: It will bring any object to the fully
processed state.
It will not detect any of the changes you have done to the underline data.
It will not detect any of addition\deletion of the members in the dimension
and so on..
In case and changes needs to be made to the dimension please keep in mind 2
processing options:

ProcessUpdate - will read all the data for the dimension and will compare it
to the existing dimension structure allowing for adding/deleting members and
changing display names.

ProcessAdd for dimension will allow for adding members. It is bit
complicated to implement please see my earlier reply to thread "ProcessAdd
on a dimension" started on 2/22/06

Adding new data to partitions. You can create a new partition for only new
rows and run ProcessFull on it.
Here is whitepaper can help you on the subject:
http://msdn.microsoft.com/library/de...asprocarch.asp

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights



"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote

Quote:
Hi,

Following are the possible changes in cube/dimension.

Dimension: Addition/Deletion or updating of some of the rows
(members/attributes)
Cube : Addition/updating of some of the rows in the fact table.
Roll-up formulea: Changes in these formulea.
Member display name : Change in display name by changing the formatting
function being used on the member display column.

For each of these changes, need to find out the mode of processing and
then create the DTS package accordingly. So instead of creating such a
complex DTS package depnding on the type of change, I just want to use
ProcessDefault on dimension (if any change) and cube. Could somebody
elaborate on ProcessDefault more? i.e. how much reliable is that
processing mode?

Thanks in advance
Gayatri.




Reply With Quote
  #3  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: ProcessDefault in SQL server 2005 - 03-13-2006 , 03:31 PM



ProcessDefault doesn't know about the changes in source data. It only knows
the current state of the AS object.

If you do ProcessDefault on an unprocessed dimension, it will do
ProcessFull. If it was already processed, it will do ProcessUpdate. For
partitions, ProcessDefault should map to ProcessFull. Etc.

The server can't infer what changes may have happened to your data since the
last processing operation and therefore you should be specific when it is
necessary...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote

Quote:
Hi,

Following are the possible changes in cube/dimension.

Dimension: Addition/Deletion or updating of some of the rows
(members/attributes)
Cube : Addition/updating of some of the rows in the fact table.
Roll-up formulea: Changes in these formulea.
Member display name : Change in display name by changing the formatting
function being used on the member display column.

For each of these changes, need to find out the mode of processing and
then create the DTS package accordingly. So instead of creating such a
complex DTS package depnding on the type of change, I just want to use
ProcessDefault on dimension (if any change) and cube. Could somebody
elaborate on ProcessDefault more? i.e. how much reliable is that
processing mode?

Thanks in advance
Gayatri.




Reply With Quote
  #4  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: ProcessDefault in SQL server 2005 - 03-13-2006 , 05:33 PM



Correction: "If it was already processed, it will do ProcessUpdate." should
read: "it will not do anything".

As Edward's posting indicates, ProcessDefault will essentially bring each
object into a processed state.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Akshai Mirchandani [MS]" <akshaim (AT) online (DOT) microsoft.com> wrote

Quote:
ProcessDefault doesn't know about the changes in source data. It only
knows the current state of the AS object.

If you do ProcessDefault on an unprocessed dimension, it will do
ProcessFull. If it was already processed, it will do ProcessUpdate. For
partitions, ProcessDefault should map to ProcessFull. Etc.

The server can't infer what changes may have happened to your data since
the last processing operation and therefore you should be specific when it
is necessary...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.

"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote in message
news:1142251015.225975.164960 (AT) j33g2000cwa (DOT) googlegroups.com...
Hi,

Following are the possible changes in cube/dimension.

Dimension: Addition/Deletion or updating of some of the rows
(members/attributes)
Cube : Addition/updating of some of the rows in the fact table.
Roll-up formulea: Changes in these formulea.
Member display name : Change in display name by changing the formatting
function being used on the member display column.

For each of these changes, need to find out the mode of processing and
then create the DTS package accordingly. So instead of creating such a
complex DTS package depnding on the type of change, I just want to use
ProcessDefault on dimension (if any change) and cube. Could somebody
elaborate on ProcessDefault more? i.e. how much reliable is that
processing mode?

Thanks in advance
Gayatri.






Reply With Quote
  #5  
Old   
gayu
 
Posts: n/a

Default Re: ProcessDefault in SQL server 2005 - 03-15-2006 , 01:50 AM



Thanks a lot for your guidance.
Also, if the requirement is like, its possible that older measures data
can be updated in the fact table then here the cube must be reprocessed
in ProcessData mode?

Regards,
Gayatri.


Reply With Quote
  #6  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: ProcessDefault in SQL server 2005 - 03-15-2006 , 04:34 PM



If your data changes in a particular partition, then you would typically
fully reprocess that partition (ProcessFull) . If all that happens is data
is "added", then you could do ProcessAdd.

ProcessData implies that data is re-processed but aggregations and indexes
are not built -- so you would have a perf degradation if you didn't
explicitly build indexes.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"gayu" <gayatri.kulkarni (AT) gmail (DOT) com> wrote

Quote:
Thanks a lot for your guidance.
Also, if the requirement is like, its possible that older measures data
can be updated in the fact table then here the cube must be reprocessed
in ProcessData mode?

Regards,
Gayatri.




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.