CENTRO UNIVERSITÁRIO DE BARRA MANSA ACADEMIC PRO-RECTORY COMPUTER ENGINEERING COURSE

TOP-DOWN APPROACH IN DISTRIBUTED DATABASES By: Leniel Braz de Oliveira Macaferi

Barra Mansa November 2007

CENTRO UNIVERSITÁRIO DE BARRA MANSA ACADEMIC PRO-RECTORY COMPUTER ENGINEERING COURSE

TOP-DOWN APPROACH IN DISTRIBUTED DATABASES By: Leniel Braz de Oliveira Macaferi

Paper presented to the Computer Engineering course at Centro Universitário de Barra Mansa, as a partial requisite to the obtention of the second grade in the Distributed Databases discipline, under prof. Hélio Camargo Soares supervision.

Barra Mansa November 2007

ABSTRACT A distributed database is formed by a collection of multiple databases logically interrelated in a computer network. The top-down approach when used in distributed databases correlates a series of stages for the construction of a distributed database project beginning from the ground and is employed in homogeneous systems. The emphasis in the case of distributed databases is given to the data distribution project. This work presents the stages of the top-down approach through a schema, which gives a macro vision of the process. After that the inherent details of each process’s stage are described.

Keywords: database, distributed database, top-down approach, distributed database construction

TABLE OF FIGURES Figure 1 - Distributed database example .................................................................................... 6  Figure 2 - Logical view of a distributed database user ............................................................... 7  Figure 3 - Stages of the top-down approach in distributed databases ........................................ 9 

CONTENTS Page 1 INTRODUCTION ................................................................................................................. 6  1.1 Paper objective .................................................................................................................. 6  1.2 Distributed database definition.......................................................................................... 6  2 DEVELOPMENT .................................................................................................................. 8  2.1 Top-down approach........................................................................................................... 8  2.1.1 Requirements analysis............................................................................................ 10  2.1.2 Conceptual project ................................................................................................. 10  2.1.3 Logical project ....................................................................................................... 10  2.1.4 Distribution project ................................................................................................ 10  2.1.5 Physical project ...................................................................................................... 11  3 CONCLUSION .................................................................................................................... 12  4 REFERENCES .................................................................................................................... 13 

6

1 INTRODUCTION 1.1 Paper objective This paper aims to present and describe the top-down approach stages when it is employed in distributed databases.

1.2 Distributed database definition According to [1], a distributed database is formed by a collection of multiple databases logically interrelated in a computer network. A distributed database management system (DDBMS) is used as a system that enables the management of the individual database systems (DBMS). The DBMS distributes the data through a transparent way to the user. Figure 1 shows a common example of a distributed database.

Figure 1 - Distributed database example

The transparence provided by a DDBMS can be understood as the high level semantic separation of the details inherent to the physical implementation of a distributed database. The focus is to provide data independency in a distributed environment. This way, the user sees only one logically integrated image of the distributed database as if it weren’t physically distributed. Figure 2 shows the logical view that a user has (or should have) of the distributed database presented in Figure 1.

7

Figure 2 - Logical view of a distributed database user

In the next chapter the top-down approach stages will be presented and described. It’s important to mention that such approach is directly linked to the methodology adopted in the construction of distributed databases.

8

2 DEVELOPMENT 2.1 Top-down approach The top-down approach is employed in different computer areas. In distributed databases it correlates a series of stages to the construction of a distributed databases project beginning from the ground and is employed in homogeneous systems [1]. The emphasis in the case of distributed databases is given to the data distribution project. The top-down approach is the more usual given the fact that in the majority of the cases there isn’t a distributed database already implemented. If there is a system already established another approach called bottom-up is used. Figure 3 shows the stages of the top-down approach employed in distributed databases:

9

Figure 3 - Stages of the top-down approach in distributed databases

10

As can be seen, in yellow are the traditional stages of the top-down model: requirements analysis, conceptual project, logical e physical project. In read is the distribution project stage that is specific in distributed databases. Note that the physical project in this case is implemented after the distribution. The following describes the stages of the top-down approach in distributed databases.

2.1.1 Requirements analysis In this stage takes place the collect of information about the data, and its restrictions and relationships within the organization. The requirements analysis is realized through meetings with the users where is observed how the organization operates. In the end of the analysis a document with the requirements specification is generated.

2.1.2 Conceptual project In this stage takes place the modeling of the data and its relationships independently of the structure of representation regarding the distributed database system DDS (conceptual modeling). The conceptual project is realized through the analysis of the requirements specification. In the end of the conceptual project a conceptual schema (diagram) with de correct data integrity restrictions is obtained.

2.1.3 Logical project In this stage takes place the conversion of the conceptual project to the representing schema of a DDS (logical schema). The logical project is realized through the application of conversion rules, translation to the relational model of the distributed database. In the end of the logical project a logical schema with tables, stored procedures, views, access authorizations, etc. is obtained.

2.1.4 Distribution project In this stage is taken the decision of how the data and programs must be allocated, fragmented through the nodes of the computer network. In some cases the network itself is designed and built to satisfy the necessities of the distributed database project. This stage is considered the most critical in the project of a distributed database.

11

2.1.5 Physical project In this stage the logical schema is defined in a DDS suitable to the data model. The physical project is realized by means of SQL instructions. The result is a physical schema in concordance with the established in the distribution project. After finishing the physical project of each node of the computer network the distributed database is ready for the use. A monitoring process is initialized and aims to discover possible errors. Such errors are the system feedback and are sent to the people responsible for the construction of the distributed database.

12

3 CONCLUSION At the beginning of a distributed database project it’s extremely important to assess the organizational environment of the company that holds the data. Obviously when the company doesn’t have a distributed database back-end and legacy systems, the top-down construction approach will be necessarily employed. As a macro overview it’s possible to infer that in the first stage a document with the requirements is generated and after that the logical and conceptual projects start. Logical and physical schemas start to be generated. With the logical and physical schemas already defined the distribution project starts and this is the most complex. After the definition of the local schema of each node of the computer network, the implementation of the local physical schema starts. At this point each network node is given the responsibility for determined tasks of the company. This means that some objects (views, stored procedures, etc.) of the database are created specifically according to each physical local schema. In the last level is the distributed database monitoring process, which helps in the discovering of bugs and propitiates at the same time the possibility of correction forwarding the bugs to the superior levels. The top-down approach aims to structure the creation process of a distributed database. Defining and separating the construction stages in a correct manner, the database architects and other people involved in the construction of a distributed database will have more chances of achieving success in a given project. It’ll only happen if the stages are accomplished with strictness and in the established order.

13

4 REFERENCES [1] Ozsu, M. Tamer e Valduriez, Patrick. Principles of Distributed Database Systems. 2nd Edition. Upper Saddle River : Prentice Hall, 1999. [2] Zhou, Li-Zhu. Distributed Database System Course. 2002. Available at . Accessed on November 16, 2007. [3] Mello, Ronaldo S. Projeto Top-Down de Banco de Dados. 2007. Available at . Accessed on November 16, 2007. [4] Ozsu, M. Tamer e Valduriez, Patrick. Notes for "Principles of Distributed Database Systems". 1999. Available at . Accessed on November 22, 2007.

Top-Down Approach in Distributed Databases

COMPUTER ENGINEERING COURSE. TOP-DOWN APPROACH IN. DISTRIBUTED DATABASES. By: Leniel Braz de Oliveira Macaferi. Paper presented to the ...

199KB Sizes 1 Downloads 142 Views

Recommend Documents

Distributed Databases for Challenged Networks
devices. As explained in [1], these types of networks are becoming important with the pervasiveness of wireless technology. ... [9] is a mobile surveillance system, where buses ... application developer needs to schedule packets to different.

Distributed Databases for Challenged Networks
heuristics for query scheduling 2) a prereplication scheme that reduces the cost of on-demand retrieval by actively pre- caching data. To our knowledge, this is the first work to examine these ... for query processing in a distributed Database for DT

Distributed Electronic Rights in JavaScript
any powerful references by default; any references it has implicit access to, such as ..... approach solves the open access problem by restricting access to members and regu- ..... Journal of Applied Corporate Finance 8(2), 4–18 (1995). 15.

Formal Approach to the Deployment of Distributed ...
and cooperation requirements to service the requests are known. ... local specifications, while accounting for the service and commu- nication ...... In academia, he investigated software validation, ... In industry, at SAP Research, Darmstadt,.

A Distributed Self-Healing Approach to Bluetooth ... - IEEE Xplore
Abstract—This paper proposes a distributed self-healing tech- nique for topology formation in dynamic Bluetooth wireless personal area networks (BT-WPANs) ...

AN SMF APPROACH TO DISTRIBUTED AVERAGE ...
advantages have made distributed estimation a hot topic in sensor networks. ... the batteries that power the sensor nodes, and communication resources such as ..... Conf. on Wireless Networks, Communications and. Mobile Computing, vol.

Synchronization of recurring records in incompatible databases
Aug 24, 2001 - (10) Patent Number: US RE43,571 E ... 11/1991 Kelly ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ 395/800. 5,124,912 A ..... Newsweek Business Information Inc. (1995). Staten ... “All I need is a miracle; computer-aided educational packages; Small ..

A Distributed Approach for the Federation of ...
make them exchange information about published services. The paper ... To this end, in September 2000, BEA, IBM, and Microsoft started. UBR (UDDI Business ...

A Distributed Object Oriented Approach for Parallel ...
receiving what the provider offers) [3]. Moreover, the ... Near Video-on-Demand (N-VoD): functions like fast ... broadband switching and access network [7].

A Game Theoretic Approach to Distributed Coverage of Graphs by ...
A Game Theoretic Approach to. Distributed Coverage of Graphs by. Heterogeneous Mobile Agents. A. Yasin Yazıcıo˘glu ∗ Magnus Egerstedt ∗ Jeff S. Shamma ...

A Noble Design Approach towards Distributed System ...
heterogeneous applications to a single complete suite. The system ... With the rapid increase in usage of such. Systems ... a strong inclination towards development of Composite .... that service as though it were a standard Web Service. It.

A Noble Design Approach towards Distributed System ...
Organizations are having multiple EIS applications to cater to their business needs, ... Collaboration Models build around Service Oriented Architecture (SOA), which uses ... implementation to support multiple vendors & platforms and access legacy ..

AN SMF APPROACH TO DISTRIBUTED AVERAGE ...
Department of Signal Processing and Acoustics. Espoo, Finland [email protected]. ABSTRACT. Distributed sensor networks employ multiple nodes to collec-.

University Questions: Unit II – Distributed Databases - https://groups.google.com/group/teb_comp_engineers/attach/.../ADB_Unit_2.pdf?...
to the log, and forces the log (with all the log records corresponding to T) onto stable storage. The transaction manager then replies with a ready T ...

Fault Tolerance in Distributed System - IJRIT
Fault Tolerance is an important issue in Distributed Computing. ... The partial failure is the key problem of the distributed system, .... architecture and design.

Availability in Globally Distributed Storage Systems - Usenix
layered systems for user goals such as data availability relies on accurate ... live operation at Google and describe how our analysis influenced the design of our ..... statistical behavior of correlated failures to understand data availability. In

Optimal Dynamic Actuator Location in Distributed ... - CiteSeerX
Center for Self-Organizing and Intelligent Systems (CSOIS). Dept. of Electrical and ..... We call the tessellation defined by (3) a Centroidal Voronoi. Tessellation if ...

Availability in Globally Distributed Storage Systems - USENIX
Abstract. Highly available cloud storage is often implemented with complex, multi-tiered distributed systems built on top of clusters of commodity servers and disk drives. So- phisticated management, load balancing and recovery techniques are needed

Distributed Microarchitectural Protocols in the TRIPS Prototype ...
architecture [3], is up to 4-way multithreaded, and can exe- cute a peak of 16 ..... major structures: a branch target buffer (20K bits), a call tar- get buffer (6K bits), ...

Secure and Distributed Knowledge Management in Pervasive ...
2 Department of Information and Communication Systems Engineering University of the. Aegean ... solutions observed in the past few years and the high rates of ..... of the Education and Initial Vocational Training. Program – Archimedes. 7.

Deadlock in Distributed Operating System
Examples are given to illustrate these methods for avoiding file .... of files, such communications are never required to handle processes using only local files.