Showing posts with label datawarehouse. Show all posts
Showing posts with label datawarehouse. Show all posts

Sunday, February 19, 2012

Design Question - Is Integration Services the way to go ?

we need to transfer data from a OLTP SQL 2005 database to the backend OLAP Datamart and Datawarehouse databases. This data is a long string of XML (from Infopath), out of which we need to extract the data values and populate the Datamart and datawarehouse. Ideally this will be an automated process - and will also have the flexibility to cater for changes in the xml structur.

we would also like the Analysis services cubes to be "updated" in real-time as the transfer occurs.

is Integration Services the way to go ?

You have a lot of choices here. I would recommend starting out by investigating the XML methods you have in SQL Server in general. Paste this link in Books Online in the "URL" bar:

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/63cbe6c9-79d0-4cf3-b451-36dbe4668bf6.htm

Without knowing more, I think SSIS is the way to go for you, but that depends a great deal on whether you are "trickling" the data or loading it in one pass periodically. SSIS gives you a lot of flexibility and functionality, but there is a learning curve with it. That being said, I think it's worth the effort. Spending a little more time getting a package together and documenting it well is a great way to implement your solution in SSIS.

Buck Woody

http://www.buckwoody.com

|||

Buck

thx for this

the destination datamart stores the latest version of the case (i.e. the latest record), the destination datawarehouse stores all of the versions of the case (i.e. all records). Ideally we would be updating both of these records at the same time in real-time "trickling" mode - but if necessary, we could bulk the warehouse updates to (for example) an hourly process.

also need to consider the analysis services part - we are using analysis services cubes for our reporting - and would need these to also be updated in real-time (or bulk upload if required on the datawarehouse database) - is this easily done within SSIS ?

also - alternatives... have considered a couple of alternatives

might SQLCLR code done as a trigger on the required table be an alternative solution ? - how would this perform in comparison to the possible SSIS solution ?

amending the web service that does the update of the OLTP table to also do the update of the datamart / datawharehouse ? (not so keen on this one as we are trying to separate these out ?)

thx

mark


|||

The performance questions you have would have to be tested - there are just too many variables to say one way or another.

The bigger question is how your Analysis system will be used. If you need "real-time" information, then trickling is the way to go, and I'd recommend using an HTTP endpoint or one of the other XML methods native to SQL Server, or perhaps the CLR route you've mentioned if the business logic should be coded in.

If your analysis is truly strategic (based on this data, should we make hubcaps or aircraft parts), then SSIS is my recommendation. Strategic decisions aren't made multiple times a day, so a bulk load process is better tolerated. In either case you will transform "in-flight", meaning you don't have to stage the data, so you save a lot of resources and time.

And in answer to your question about cubes, yes, SSIS is suited for that. In fact, it has many steps and processes built right in specific to AS.

Tuesday, February 14, 2012

Design datawarehouse schema

Hi,
I need to design a datawarehouse for the manufacturing industry. I'm
sure that this has been done a dozen times, and I was wondering if
there are workgroups where I can find a sample schema, reports and
others?
Looking forward to your reply,
DirkIs there such a thing as a 'standard datawarehouse' for ANY industry'
Seems to me that too much is variable, unless you are only storing industry
standard EDI stuff like Purchase Orders, Healthcare Claims, etc.
TheSQLGuru
President
Indicium Resources, Inc.
"locusta74ster@.gmail.com" <locusta74@.gmail.com> wrote in message
news:1174924469.776834.285710@.d57g2000hsg.googlegroups.com...
> Hi,
> I need to design a datawarehouse for the manufacturing industry. I'm
> sure that this has been done a dozen times, and I was wondering if
> there are workgroups where I can find a sample schema, reports and
> others?
> Looking forward to your reply,
> Dirk
>|||On Mar 27, 4:40 am, "TheSQLGuru" <kgbo...@.earthlink.net> wrote:
> Is there such a thing as a 'standard datawarehouse' for ANY industry'
> Seems to me that too much is variable, unless you are only storing industr
y
> standard EDI stuff like Purchase Orders, Healthcare Claims, etc.
> --
> TheSQLGuru
> President
> Indicium Resources, Inc.
> "locusta74s...@.gmail.com" <locust...@.gmail.com> wrote in message
> news:1174924469.776834.285710@.d57g2000hsg.googlegroups.com...
>
>
>
>
> - Show quoted text -
Hi SQL Guru,
well, yes, there is....over the last few years we have developed
models across a number of industries and they are quite
standardised...we have also developed applications on top of
them...today this all sits on MSFT only.....
Currently they sit at 500 tables and 7,000 fields. We use them as the
base for when we start a project. They are still in 'early adopter'
phase but we will be bringing them to market soon enough...hence
commenting on them here...
What we have essentially invented is a way of being able to customise
analytical applications, from front to back, at the lowest possible
cost....and 'to back' I mean riht back to the extraction out of the
source system.
Of course, there are few good models out there for 'free'. And no-one
made any money out of just selling models which is why more do not
exist...the three companies that sell models, IBM, NCR and Sybase
have made 'rounding errors' on model revenues.....so IBM and NCR now
insist that if you want the model you have to buy the rest as well...
This is a reaction to the fact that the model is the 'heart and soul'
of the EDW and is the majority of the IP...and companies only wanted
to buy the model for peanuts and not take the rest of the
'solution'....and in the end, no-one made any money out of them. We
are only selling our models separately from the rest of the work we
have done in very specific cases. Mostly, we would like our clients to
buy the ETL and the apps as well as the models... :-)
Best Regards
Peter
www.peternolan.com

Design datawarehouse schema

Hi,
I need to design a datawarehouse for the manufacturing industry. I'm
sure that this has been done a dozen times, and I was wondering if
there are workgroups where I can find a sample schema, reports and
others?
Looking forward to your reply,
Dirk
Is there such a thing as a 'standard datawarehouse' for ANY industry?
Seems to me that too much is variable, unless you are only storing industry
standard EDI stuff like Purchase Orders, Healthcare Claims, etc.
TheSQLGuru
President
Indicium Resources, Inc.
"locusta74ster@.gmail.com" <locusta74@.gmail.com> wrote in message
news:1174924469.776834.285710@.d57g2000hsg.googlegr oups.com...
> Hi,
> I need to design a datawarehouse for the manufacturing industry. I'm
> sure that this has been done a dozen times, and I was wondering if
> there are workgroups where I can find a sample schema, reports and
> others?
> Looking forward to your reply,
> Dirk
>
|||On Mar 27, 4:40 am, "TheSQLGuru" <kgbo...@.earthlink.net> wrote:
> Is there such a thing as a 'standard datawarehouse' for ANY industry?
> Seems to me that too much is variable, unless you are only storing industry
> standard EDI stuff like Purchase Orders, Healthcare Claims, etc.
> --
> TheSQLGuru
> President
> Indicium Resources, Inc.
> "locusta74s...@.gmail.com" <locust...@.gmail.com> wrote in message
> news:1174924469.776834.285710@.d57g2000hsg.googlegr oups.com...
>
>
>
> - Show quoted text -
Hi SQL Guru,
well, yes, there is....over the last few years we have developed
models across a number of industries and they are quite
standardised...we have also developed applications on top of
them...today this all sits on MSFT only.....
Currently they sit at 500 tables and 7,000 fields. We use them as the
base for when we start a project. They are still in 'early adopter'
phase but we will be bringing them to market soon enough...hence
commenting on them here...
What we have essentially invented is a way of being able to customise
analytical applications, from front to back, at the lowest possible
cost....and 'to back' I mean riht back to the extraction out of the
source system.
Of course, there are few good models out there for 'free'. And no-one
made any money out of just selling models which is why more do not
exist...the three companies that sell models, IBM, NCR and Sybase
have made 'rounding errors' on model revenues.....so IBM and NCR now
insist that if you want the model you have to buy the rest as well...
This is a reaction to the fact that the model is the 'heart and soul'
of the EDW and is the majority of the IP...and companies only wanted
to buy the model for peanuts and not take the rest of the
'solution'....and in the end, no-one made any money out of them. We
are only selling our models separately from the rest of the work we
have done in very specific cases. Mostly, we would like our clients to
buy the ETL and the apps as well as the models... :-)
Best Regards
Peter
www.peternolan.com