dbTalk Databases Forums  

MSIS and initial upload records into Fact table with no cursors?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss MSIS and initial upload records into Fact table with no cursors? in the microsoft.public.sqlserver.dts forum.



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

Default MSIS and initial upload records into Fact table with no cursors? - 03-07-2006 , 12:29 AM






I am trying to find the most optimal approach to load Fact table which has
FK(es) to Dimensions(8 dimension) without using Cursors.
MSIS or t-sql or C# code or all of above?

Highly appreciate any direction/architecture approach/white papers or any
source of info to optimize the peformance for upload. ( I have 10 mln at
least records for single fact table to be uploaded...cursors...will be done
by next week...)

thank you,
Alex Deiden

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: MSIS and initial upload records into Fact table with no cursors? - 03-07-2006 , 05:12 PM






Hello Alex,
If you can do it in tsql then do it in TSQL. You would not necessarilty
need cursors. Essentially you will take you source data, run this past
the dimension tables and extract surrogate keys from the dimension tables
where the Natural/Business key maches the input data.
You can of course use all the methods you describe but if you can get away
with using TSQL then do it. After that my preference is for SSIS.


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
I am trying to find the most optimal approach to load Fact table which
has
FK(es) to Dimensions(8 dimension) without using Cursors.
MSIS or t-sql or C# code or all of above?
Highly appreciate any direction/architecture approach/white papers or
any source of info to optimize the peformance for upload. ( I have 10
mln at least records for single fact table to be
uploaded...cursors...will be done by next week...)

thank you,
Alex Deiden



Reply With Quote
  #3  
Old   
Alex Deiden
 
Posts: n/a

Default Re: MSIS and initial upload records into Fact table with no cursor - 03-07-2006 , 10:21 PM



Thank you Allan for your post.


I found the examples with SSIS :
http://sqljunkies.com/WebLog/sqlbi/a...4/01/9945.aspx
and
http://www.sqlservercentral.com/colu...tlparadigm.asp

Can you point me to some t-sql examples?

thank you,
Alex Deiden

"Allan Mitchell" wrote:

Quote:
Hello Alex,
If you can do it in tsql then do it in TSQL. You would not necessarilty
need cursors. Essentially you will take you source data, run this past
the dimension tables and extract surrogate keys from the dimension tables
where the Natural/Business key maches the input data.
You can of course use all the methods you describe but if you can get away
with using TSQL then do it. After that my preference is for SSIS.


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

I am trying to find the most optimal approach to load Fact table which
has
FK(es) to Dimensions(8 dimension) without using Cursors.
MSIS or t-sql or C# code or all of above?
Highly appreciate any direction/architecture approach/white papers or
any source of info to optimize the peformance for upload. ( I have 10
mln at least records for single fact table to be
uploaded...cursors...will be done by next week...)

thank you,
Alex Deiden




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.