

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concepts and architectures of parallel and distributed databases, the use of xml as a wire format, and the features of object-relational data management systems. It also covers the use of id and idref attributes in xml data, querying and transformation languages such as xpath and xquery, and the tree model of xml data.
Typology: Study notes
1 / 41
This page cannot be seen from the preview
Don't miss anything!


































AdminAdmin
TopicsTopics
(^) Client-server
Database System ArchitecturesDatabase System Architectures
Parallel DatabasesParallel Databases
Parallel DatabasesParallel Databases
Distributed SystemsDistributed Systems n (^) Over a wide area network n (^) Typically not done for performance reasons For that, use a parallel system n Done because of necessity Imagine a large corporation with offices all over the world Also, for redundancy and for disaster recovery reasons n Lot of headaches Especially if trying to execute transactions that involve data from multiple sites Keeping the databases in sync
Next…Next…
HistoryHistory
(^) Niche Market (^) CAD etc
(^) Much more common (^) Efficiency + Extensibility (^) SQL:99 support
ExampleExample n Create User Defined Types (UDT) CREATE TYPE BarType AS ( name CHAR(20), addr CHAR(20) ); CREATE TYPE BeerType AS ( name CHAR(20), manf CHAR(20) ); CREATE TYPE MenuType AS ( bar REF BarType, beer REF BeerType, price FLOAT ); n (^) Create Tables of UDTs CREATE TABLE Bars OF BarType; CREATE TABLE Beers OF BeerType; CREATE TABLE Sells OF MenuType;
ExampleExample n UDT’s can be used as types of attributes in a table CREATE TYPE AddrType AS ( street CHAR(30), city CHAR(20), zip INT ); CREATE TABLE Drinkers ( name CHAR(30), addr AddrType, favBeer BeerType ); n Find the beers served by Joe: SELECT ss.beer()->name FROM Sells ss WHERE ss.bar()->name = ’Joe’’s Bar’;
An Alternative: OODBMSAn Alternative: OODBMS
objects are stored in a database
same values they used to have!
(^) For this reason (??), OODBMSs haven’t proven popular
Summary, cont.Summary, cont.
(^) No good logical design theory for non-1st-normal-form!
(^) a moving target for OR DBA’s!
XMLXML
(^) Extensible == can add new tags etc