473,809 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Differences between relational DB and warehouse ?

Can anyone please explain me main differences between relational DB and
warehouse (Point me to web site) ?

Apart from theoretical differences I would like to know how Warehouse DB is
updated ? If data needs to remain unchanged then what is happening for
instance if in source relational DB address for a customer will change and
record gets the update. How this is loaded to DB ?

Is there any case study of SQL S2005 implementation of Warehouse, maybe
tutorial that I can fallow ?

Thanks

Q
Jun 27 '08 #1
7 5578
You probably mean difference between On-Line Transaction Processing (OLTP)
and On-Line Analytical Processing (OLAP) databases. Here are a few resources
to explain each and compare:
http://en.wikipedia.org/wiki/OLTP
http://en.wikipedia.org/wiki/Olap
http://www.gnulamp.com/oltp.html
http://www.rainmakerworks.com/pdfdocs/OLTP_vs_OLAP.pdf

Operational data from OLTP databases is
extracted/cleaned/transformed/consolidated into a data warehouse database
that is used to support OLAP. There are different processes and tools to
load OLTP data into data warehouses. The frequency of updates to the data in
the data warehouse depends on business requirements, could be nightly,
weekly, etc. More about data warehouses:
http://www.dwreview.com/DW_Overview.html

In SQL Server the main tool for loading data is Integration Services (DTS in
SQL Server 2000), and Analysis Services for OLAP.
http://www.microsoft.com/technet/pro...5/dwsqlsy.mspx
http://www.devx.com/dbzone/Article/21410/1954

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Jun 27 '08 #2
Apart from theoretical differences I would like to know how Warehouse DB
is updated ? If data needs to remain unchanged then what is happening for
instance if in source relational DB address for a customer will change and
record gets the update. How this is loaded to DB ?
I believe you are referring to a slowly changing dimension. SSIS includes a
transform to facilitate this. See
http://technet.microsoft.com/en-us/l.../ms141715.aspx.
Is there any case study of SQL S2005 implementation of Warehouse, maybe
tutorial that I can fallow ?
See the SQL 2005 samples on Codeplex:

http://www.codeplex.com/MSFTDBProdSa...ReleaseId=4004

SQL 2008 RC0 samples:

http://www.codeplex.com/MSFTDBProdSa...eleaseId=14274

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Karol R" <ka**********@v p.plwrote in message
news:g3******** *@news.onet.pl. ..
Can anyone please explain me main differences between relational DB and
warehouse (Point me to web site) ?

Apart from theoretical differences I would like to know how Warehouse DB
is updated ? If data needs to remain unchanged then what is happening for
instance if in source relational DB address for a customer will change and
record gets the update. How this is loaded to DB ?

Is there any case study of SQL S2005 implementation of Warehouse, maybe
tutorial that I can fallow ?

Thanks

Q

Jun 27 '08 #3
Thanks all for your response.

I'm starting to look into those web websites.

However, just to clarify, I was asking about differences between simple
relational DB and Data Warehouse.

For instance, if someone have two SQL S2005 instances and tells me that on
the instance A he has got production database and on the instance B he has
got Data Warehouse implemented then what would be main differences between
those two ?

Some how I thought that if relational DB contain tables, relations,
procedures etc. then Data Warehouse must be something else. But it is not
right ? Both contains tables, views, triggers etc, only difference is that
against DW - BI processes can be run, because data within DW are prepare to
provide information for BI, right ? (by ‘data within DW are prepare’ I mean
extracted/cleaned/transformed/consolidated ) .

Thanks again

Q
Jun 27 '08 #4
Karol R (ka**********@v p.pl) writes:
For instance, if someone have two SQL S2005 instances and tells me that on
the instance A he has got production database and on the instance B he has
got Data Warehouse implemented then what would be main differences between
those two ?

Some how I thought that if relational DB contain tables, relations,
procedures etc. then Data Warehouse must be something else. But it is
not right ? Both contains tables, views, triggers etc, only difference
is that against DW - BI processes can be run, because data within DW are
prepare to provide information for BI, right ? (by ‘data within DW are
prepare’ I mean extracted/cleaned/transformed/consolidated ) .
The Data Warehouse could be implemented on Analysis Services, in case
you have cubes with aggregated data in it.

But the DW could also be relational database where the schema is laid
out differently to make queries easier. An OLTP database is typically
very normalised, whereas the DW database is less so.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #5
Read the links I posted and you will see the differences.

In short, a Data Warehouse is relational database too, just the data is
structured differently. Depending on the purpose, data can be summarized, or
denormalized, to accommodate reporting and analysis functionality. But
fundamentally it is the same as operational database, it has tables,
relations, etc.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Jun 27 '08 #6
>Can anyone please explain me main differences between relational DB and warehouse (Point me to web site)? <<

Get a copy of "Analytics and OLAP in SQL"; it is a quick overview for
the SQL programmer who has been working on OLTP applications and needs
to learn the major concepts and buzz words.
>Apart from theoretical differences I would like to know how Warehouse DB is updated? <<
In bulk, with special ETL tools if you are lucky.
>If data needs to remain unchanged then what is happening for instance if in source relational DB address for a customer will change and record gets the update. How this is loaded to DB ? <<
A warehouse holds history, not the current data. Once the data goes
into the warehouse, it stays there until it ages out, perhaps to
archives. There is also a good chance that you cannot see each
customer. They might be consolidated into higher level groups ("men,
age 50-55 years, chews tobacco" or some such thing).
>Is there any case study of SQL S2005 implementation of Warehouse, maybe tutorial that I can follow ? <<
Look for articles on the Ralph Kimball website. Frankly, SQL Server
is not the choice for a real Data Warehouse. Look at Teradata, SAND,
WX2 and other products that are built for this kind of work. Even DB2
and Oracle are also better choices. DB2, for example, has an
optimizer that detects Star schemas and generates special access
methods and joins for them.

Jun 27 '08 #7
"--CELKO--" <jc*******@eart hlink.netwrote in message
news:14******** *************** ***********@z66 g2000hsc.google groups.com...
>
Look for articles on the Ralph Kimball website. Frankly, SQL Server
is not the choice for a real Data Warehouse. Look at Teradata, SAND,
WX2 and other products that are built for this kind of work. Even DB2
and Oracle are also better choices. DB2, for example, has an
optimizer that detects Star schemas and generates special access
methods and joins for them.
SQL Server 2008 offers Star Join query optimization too:
http://technet.microsoft.com/en-us/m...chNet.10).aspx
Plamen Ratchev
http://www.SQLStudio.com

Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1579
by: expecthealth | last post by:
JOB DESCRIPTION Data Warehouse Architect (Permanent, Full-Time) ______________________________________________________________________ _________ Position Description: The Data Warehouse Architect is responsible for design, specifications, development, testing and deployment for Oracle data warehouse functionality, reports, extracts and interfaces. Leads
6
1745
by: Robert Brewer | last post by:
def warehouse(stock, factory=None): """warehouse(stock, factory=None) -> iavailable, iremainder. Iterate over stock, yielding each value. Once the 'stock' sequence is exhausted, the factory function (or any callable, such as a class) is called to produce a new valid object upon each subsequent call to next().
0
3799
by: ramnori | last post by:
HI, I have installed Oracle Warehouse Builder and OWB Server Side etc. I have created and verfied all the DW Objects such as dimensions, facts, transformations, mappings etc. I have also created a Runtime Repository using the runtime asistant, I have created the owner to be Owner1, the user User1 and the traget schema user as User2. I have defined the runetime repository connetions for my project in the the Warehouse Builder a well. So...
2
1735
by: MG | last post by:
Hi, I am interested to know if there are any features in Oracle that would allow a design similar to the "design by contract" methodology that exists in the OO world. I read about the Object Relational Feature, and it seems to be pretty creative, but it's also very limited towards any change. What I'm after is something similar to an interface in Java, but for tables in Oracle. Can you abstract out the interface to a table, i.e. what...
0
1472
by: DB2 DBA wanted | last post by:
Maines Paper & Food Service is a $2 billion/yr food distribution company with 9 distribution centers in the US. We are currently interviewing for the position detailed below. Relocation to Binghamton, NY will be necessary. If interested, please forward a resume to Bill.Kimler@maines.net ========================================================== Job Title: Database Architect
0
1417
by: mghale | last post by:
I am receiving this error every time I try to access the Data Warehouse Center Tutorial database TBC_MD. DWC01007E Logon Failed. The database specified by the user does not match the database used by the warehouse server. RC = 1007 RC2 = 0 I first used First Steps to create the databases. I then dropped them and used the command line as follows...
0
1931
by: NB | last post by:
Hi A part of my application involves management of stocks in the warehouse. Incoming/outgoing transactions, stocktake, quantity on hand have all been satisfactorily managed. The app has run robustly for some time. Now I need to develop location tracking functionality.
0
1279
by: greenMark | last post by:
Hi All I need to develope a data warehouse in oracle. I was able to develope a small one using oracle enterprise manager. But my main idea is to develope the necessary GUIs using Oracle Forms 6i. Can I implement the warehouse in Oracle warehouse builder and create GUIs with Oracle Forms? Can anybody suggest any other way to implement a Data warehouse in Oracle. Thank you
2
1354
by: cjshea | last post by:
I am running DB2 UDB Workgroups V8.2 on Linux. I don't believe I installed the Data Warehouing capability when I installed. Is it difficult to enable that capability post installation?, and a second question is "Are the data warehousing capabilities available with my install limited, or are they full blown capabilities?, or is full Data Warehousing a separate product and install?, with a separate purchase price? If so I will proceed to...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10378
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.