100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Summary Interactive Data Transforming Lecture 1 | Master Data Science & Society €2,99
In winkelwagen

Samenvatting

Summary Interactive Data Transforming Lecture 1 | Master Data Science & Society

 0 keer bekeken  0 keer verkocht

Summary of Interactive Data Transforming. This is based on the lectures they give for the Master Data Science and Society in Tilburg University

Voorbeeld 2 van de 5  pagina's

  • 21 december 2024
  • 5
  • 2024/2025
  • Samenvatting
Alle documenten voor dit vak (10)
avatar-seller
iuk
Interactive Data Transforming | Lecture 1
Database Management Systems (DBMS) is software that provides an interface between users,
applications, and the database itself to manage data efficiently. It allows users to store, retrieve,
update, and delete data in a structured and organized way.

Here are some problems DBMS could solve:

 Data redundancy and inconsistency
Multiple file formats, duplication in different files. Imagine you have the same piece of
information stored in multiple places. If you update the address in one place, but forget to
update it elsewhere, you end up with inconsistent data.
 Difficulty in accessing data
Need to write a new program to carry out each new task. If you have your data stored in
different files and formats, and you want to do something new with it (like generating a
report or analyzing sales trends), you might need to write a new program or script every
time.
 Data isolation
Multiple files and format. For example, sales data might be in one file format, and customer
data might be in another.
 Integrity problems
Integrity constraints (e.g. account balance > 0) become “buried” in program code rather than
being states explicitly. Certain rules need to be followed to keep data accurate and
meaningful. For example, an account balance should never go below zero. If these rules are
just written in the program code, they can be hard to find, update, or enforce consistently.

Database (DB): Collection of data with the same structure, including correlations and relationships.
There’s a common purpose, i.e., defined for a particular use. Shared, i.e., used by several users.

Database Management System (DBMS): Collection of programs over DB. Define, i.e., specify the data
types, structure, constraints. Build & manipulate, i.e., store on disk, retrieve, update. Administrate,
e.g., manage access rights.

Applications: Access to DB for performing queries. Android app, Web application, etc.

As you can see in the image, DBMS is
like a black box interacting between
users/applications and the database.
This is an example consider our
university, but another example could
also be airlines: reservations and
schedule information. Among the first
to use databases in a geographically
distributed manner. Of banking:
customer information, accounts,
loans, and banking transactions.

, The ultimate goal is to separate data from application.

 Provide an interface that the application programmer must follow
 Allow system administrator to make modifications without having an impact on the user e.g.
improve or reconfigure system
 Users can change their view of the data without having to worry about how it is stored

In order for this to happen, it happens in 3 layers:




For example, imagine you have an online bookstore. The DBMS manages all the data related to the
books, customers, orders, and payments.

External layer: communication with users.
For a customer view, a customer might only see a simple list of books, including the title, author, and
price, when browsing the online store. They don’t see the internal details like how the data is stored.
For an admin view, an admin user might have access to more detailed data, such as inventory levels,
profit margins, or the ability to edit or delete books from the catalog. For a sales view, a salesperson
might have a view that shows sales statistics, order histories, and customer details relevant to
processing and tracking orders.

- Analysis of user requests (queries)
- Access control
- Answer presentation

Logical layer:
The database defines tables like “Books”, “Customers”, “Orders”, and “Payments”. Each table has
attributes (columns) such as “Books” having “Title”, “Author”, etc. Relationships are also defined here,
such as each “Order” being linked to a “Customer”. Constraints like ensuring that the “Price” of a
book is never negative are also managed at this layer.

- Optimization of queries
- Resolving conflicting accesses, i.e., multiple users
- Guarantees constant availability even in case of failures

Internal layer:
Data about books (like title, author, and price) is stored in a binary format in files on the server. The
DBMS manages where these files are stored on the disk, how they are indexed (to speed up
searches), and how the data is compressed to save space.

- Storing the data
- Software for structuring the data
- Efficient access methods (i.e., keys, indices etc.)

So the process in action would be:
Step 1: A customer searches for a book by title on the online bookstore (external layer).

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper iuk. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €2,99. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 53249 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€2,99
  • (0)
In winkelwagen
Toegevoegd