473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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 5551
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**********@vp.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**********@vp.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****@sommarskog.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*******@earthlink.netwrote in message
news:14**********************************@z66g2000 hsc.googlegroups.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
by: expecthealth | last post by:
JOB DESCRIPTION Data Warehouse Architect (Permanent, Full-Time) ______________________________________________________________________ _________ Position Description: The Data Warehouse...
6
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...
0
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...
2
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...
0
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...
0
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...
0
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...
0
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....
2
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.