Week 9 - Distributed Database Concepts

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/55

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering distributed database concepts, architectures, transparency types, fragmentation, concurrency control, commit protocols, and autonomy based on Chapter 23 of Fundamentals of Database Systems.

56 Terms

1
New cards

Distributed Computing System

  • A system consisting of

    • several processing sites

      • or nodes

        • interconnected by

          • a computer network

  • Cooperate to perform tasks by

    • partitioning large tasks

      • into smaller tasks

        • for efficient solving.


2
New cards

Big Data Technologies

  • Combine distributed and database technologies

  • Deals with mining big amounts of data.


3
New cards

Distributed Database

A database system constituted by

  • the connection of database nodes

    • over a network

  • logical interrelation

    • among the connected databases

  • possible absence of homogeneity

    • among connected nodes.


4
New cards

Distributed Database Management System (DDBMS)

Manages a distributed database.

5
New cards

Local Area Network (LAN)

  • Computer network configuration

  • Where hubs or cables interconnect local sites.


6
New cards

Long-Haul (Wide Area Network)

Connects sites via

  • telephone lines

  • cables

  • wireless

  • satellite connections.


7
New cards

Network Topology

  • Geometric and logical arrangement

  • Defines the communication path

    • between interconnected nodes.


8
New cards

Transparency

  • The principle of hiding

    • implementation

      • and distribution details

        • of the database system

          • from the end user.


9
New cards

Location Transparency

  • Where commands used to access data items

    • are independent of

      • the physical location of the data.


10
New cards

Naming Transparency

  • Ensuring that the logical name of a data object

    • does not depend on the site

      • where it is stored.


11
New cards

Replication Transparency

  • The property that conceals the existence of

    • multiple copies

      • or replicas of data items

        • from end users.


12
New cards

Fragmentation Transparency

  • Enables users to query relations

    • without having to know

      • how the relations have been

        • partitioned horizontally

          • or vertically.


13
New cards

Availability

  • The probability that the distributed system

    • is continuously available

      • during a specified time interval.


14
New cards

Reliability

The probability that the distributed system is running (not down) at a certain point in time.

15
New cards

Horizontal Scalability

  • Expanding system capacity by

    • increasing the number of nodes

      • in a distributed system.


16
New cards

Vertical Scalability

  • Expanding system capacity by

    • expanding the processing and storage capacity

      • of individual nodes.


17
New cards

Partition Tolerance

  • The capacity of a distributed system to continue operating properly

    • while communication links within the network are partitioned.


18
New cards

Autonomy

  • Determines the extent

    • to which nodes in a distributed database system

      • can operate independently.


19
New cards

Design Autonomy

  • Independence of individual nodes

    • regarding their data model usage

      • and transaction management techniques.


20
New cards

Communication Autonomy

  • Determines the extent

    • to which each node can independently decide

      • whether and when to share information

        • with other nodes.


21
New cards

Execution Autonomy

  • Independence of users and component database systems

    • to act as they please

      • and execute local operations

        • without interference

          • from external operations.


22
New cards

Data Localization

  • Placement of data at the specific geographically dispersed sites

    • where it is most frequently accessed

  • Improves overall system performance


23
New cards

Fragments

  • Logical units into which a database or relation

    • is divided during

      • distributed database design.


24
New cards

Horizontal Fragmentation (Sharding)

  • Dividing a relation into shards

  • Where each shard is a subset of tuples created by grouping rows

    • according to a condition

      • on one or more attributes.


25
New cards

Vertical Fragmentation

  • Dividing a relation vertically by columns

  • To keep only certain attributes of the relation

    • in each fragment.


26
New cards

Complete Horizontal Fragmentation

  • Where an original relation can be fully reconstructed by

    • applying the UNIONUNION operation

      • to its horizontal fragments.


27
New cards

Complete Vertical Fragmentation

Where an original relation can be fully reconstructed by

  • applying the OUTER UNIONOUTER\ UNION or FULL OUTER JOINFULL\ OUTER\ JOIN operation

    • to its vertical fragments.


28
New cards

Mixed (Hybrid) Fragmentation

Combines both horizontal and vertical fragmentations.

29
New cards

Fragmentation Schema

  • Defines a set of fragments

  • Includes all attributes and tuples in the database


30
New cards

Allocation Schema

  • Describing the allocation of database fragments

    • to specific nodes

      • across the distributed database system.


31
New cards

Fully Replicated Distributed Database

  • The entire database is replicated at every site

  • Improves availability

  • Slows down update operations


32
New cards

Nonredundant Allocation

  • Data distribution scheme

  • No replication

    • in which each fragment is stored

      • at exactly one site.


33
New cards

Partial Replication

  • Certain fragments are replicated across nodes

    • while other fragments are not

  • As defined by a replication schema.


34
New cards

Primary Site Technique

  • Distributed concurrency control technique

  • All copies of data items and their locks

    • are maintained at a single site.


35
New cards

Primary Site with Backup Site

  • Distributed concurrency control approach

  • Lock coordination information is simultaneously maintained

    • at both a primary site and a backup site.


36
New cards

Primary Copy Method

  • Concurrency control technique

  • Distributes the load of lock coordination across various sites by assigning the primary copy of each item to different sites.


37
New cards

Voting Method

  • Distributed concurrency control technique without a distinguished copy

  • Lock requests are sent to all sites holding a copy

  • The lock is held once granted by a majority


38
New cards

Distributed Commit

  • Recovery requirement

  • Specifies that when a transaction updates data across several sites,

    • it cannot commit until it is certain

      • that its effect on every site cannot be lost.


39
New cards

Two-Phase Commit Protocol

  • Ensures transaction correctness across distributed sites

  • Wherein a coordinator maintains recovery information

    • in addition to local recovery managers


40
New cards

Three-Phase Commit Protocol

  • Distributed commit protocol

  • Divides the second commit phase into two subphases:

    • a prepare-to-commit phase communicating vote results,

      • followed by a commit subphase.


41
New cards

Global Transaction Manager

  • Software component whose role is temporarily assumed by the site

    • where a distributed transaction originated

      • to coordinate multi-site execution

        • and communicate with concurrency controllers.


42
New cards

Query Mapping

  • The initial stage of distributed query processing

  • Translates a global query

    • by referencing the global conceptual schema.


43
New cards

Localization (Query Processing)

  • Distributed query processing stage

  • Maps a global distributed query

    • into separate queries

      • targeted at individual fragments.


44
New cards

Semijoin

  • Operation used in distributed query processing

  • Reduces the number of tuples transferred across sites

    • by sending only the joining column of one relation

      • to the site containing the other relation.


45
New cards

Query Decomposition Module

  • Breaks a query into subqueries

    • executable at individual sites

  • Generates an execution strategy

    • for combining the results


46
New cards

Federated Database System (FDBS)

  • Where individual autonomous component databases share a

    • global view

      • or federated schema

        • among participating applications.


47
New cards
<p>Classification of Distributed Databases (Figure 23.6)</p>

Classification of Distributed Databases (Figure 23.6)

A characterization of database systems along three axes:

  • Autonomy, Distribution, and Heterogeneity

  • Distinguishes:

    • centralized databases

    • pure distributed databases

    • federated databases

    • multidatabase or peer-to-peer systems


48
New cards

Semantic Heterogeneity

Differences in:

  • meaning

  • interpretation

  • intended use

of the same or related data across autonomous component databases

  • in a federated system.


49
New cards

Association Autonomy

  • The ability of a component database system

    • to decide whether and how much to share

      • its functionality and resources

        • with a federation.


50
New cards
<p>Shared-Nothing Architecture</p>

Shared-Nothing Architecture

  • Multiprocessor architecture

  • Where each node consists of an independent computer system having its own: CPU, memory, and database/disk, communicating solely via an interconnection network or switch.


51
New cards
<p>Schema Architecture of Distributed Databases (Figure 23.8)</p>

Schema Architecture of Distributed Databases (Figure 23.8)

  • Multi-tier schema hierarchy

  • External Views map to a Global Conceptual Schema (GCS),

    • which decomposes into Local Conceptual Schemas (LCS)

      • and Local Internal Schemas (LIS) managing Stored Data across sites 11 through nn.


52
New cards
<p>Five-Level Schema Architecture in an FDBS (Figure 23.9)</p>

Five-Level Schema Architecture in an FDBS (Figure 23.9)

  • Structural reference architecture for federated systems

  • Consists of

    • Component DBS

    • Local schema

    • Component schema

    • Export schema

    • Federated schema

    • External schema levels


53
New cards
<p>Three-Tier Client/Server Architecture (Figure 23.10)</p>

Three-Tier Client/Server Architecture (Figure 23.10)

  • Architecture partitioning system functions across a:

    • Presentation Client tier (Web browser, HTML, JavaScript)

    • Application server business logic tier (Java, C/C++, C#) connected via HTTP

    • Database server query/transaction tier (accessed via ODBC, JDBC, or SQL/CLI).


54
New cards

Centralized Catalog

  • Distributed catalog management architecture

  • Where the entire system catalog is stored at a single site


55
New cards

Fully Replicated Catalog

  • Catalog architecture

  • Identical copies of the complete catalog are present at each site,

    • leading to faster read operations.


56
New cards

Partially Replicated Catalog

  • Catalog management scheme

  • Each site maintains complete catalog information

    • only on data stored locally at that site.