100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home

Summary

Samenvatting colleges databases 2

1 review
 366 views  8 purchases
  • Course
  • Institution

Samenvatting colleges databases 2. Behandelde onderwerpen zijn: algemene SQL syntaxis, MySQL algemeen, indices, joins, transacties, functies, procedures, views, triggers, ACID, isolation levels, concurrency, MVCC. Afbeeldingen gebruikt in het document zijn niet van mij.

Last document update: 6 year ago

Preview 3 out of 24  pages

  • June 14, 2018
  • June 17, 2018
  • 24
  • 2017/2018
  • Summary

1  review

review-writer-avatar

By: frankkistemaker • 4 year ago

Translated by Google

It does indicate what certain functions do, but it does not say how to use them.

avatar-seller
Samenvatting databases 2
Collegesheets




Pascal Cokart
Juni 2018
Versie 1.5

,Inhoud
College 1.................................................................................................................................................4
Surrogate key (surrogaatsleutel)........................................................................................................4
Waarom surrogaatsleutel gebruiken..................................................................................................4
Auto increment...................................................................................................................................4
College 2.................................................................................................................................................5
Algemeen SQL....................................................................................................................................5
SQL onderdelen..................................................................................................................................5
MySQL datatypen...............................................................................................................................5
CHAR...................................................................................................................................................6
INTEGER..............................................................................................................................................6
BOOLEAN en ENUM............................................................................................................................6
Kiezen van datatypen.........................................................................................................................6
Data integriteit...................................................................................................................................6
Primaire sleutel en unieke sleutels.....................................................................................................6
SQL DDL (Data Defniion Language)...................................................................................................7
Access control.....................................................................................................................................7
Rechten niveaus binnen een database...............................................................................................7
Rechten binnen een tabel...................................................................................................................7
College 3.................................................................................................................................................8
Volgorde SELECT statement:..............................................................................................................8
Funcies..............................................................................................................................................8
WHERE clause.....................................................................................................................................8
HAVING...............................................................................................................................................9
Geaggregeerde funcies:....................................................................................................................9
GROUP BY...........................................................................................................................................9
Storage engines..................................................................................................................................9
Joins....................................................................................................................................................9
Soorten joins.....................................................................................................................................10
Syntax joins.......................................................................................................................................10
Syntax ON.....................................................................................................................................10
Syntax USING................................................................................................................................10
Syntax NATURAL JOIN...................................................................................................................10
Syntax WHERE..............................................................................................................................10
Subquerys.........................................................................................................................................10


1

, User variables...................................................................................................................................11
College 4...............................................................................................................................................12
Indices..............................................................................................................................................12
Gebruik indices in MySQL.................................................................................................................12
Views................................................................................................................................................12
Waarom views..................................................................................................................................12
Updatable views...............................................................................................................................12
Beperkingen van views.....................................................................................................................13
Stored procedures en funcies..........................................................................................................13
Waarom stored procedures of funcies............................................................................................13
Procedureel SQL...............................................................................................................................14
Variabelen in funciessprocedures...................................................................................................14
Syntax procedures en funcies..........................................................................................................14
Syntax procedure..........................................................................................................................14
Syntax funcie...............................................................................................................................14
Voorbeeld funcie.........................................................................................................................15
DELIMITER........................................................................................................................................15
RETURN............................................................................................................................................15
Comments........................................................................................................................................15
View vs funcion...............................................................................................................................15
Triggers.............................................................................................................................................15
Waarom triggers...............................................................................................................................16
Beperkingen.....................................................................................................................................16
Syntax trigger....................................................................................................................................16
Syntax trigger:...............................................................................................................................16
College 5...............................................................................................................................................17
Database transacions......................................................................................................................17
Waarom transacies.........................................................................................................................17
ACID (Atomacity Concistency Isolaion Durability)...........................................................................17
Concurrency problems:....................................................................................................................18
Klassieke concurrency problemen....................................................................................................18
Isolaion levels..................................................................................................................................19
Concurrency control strategies.........................................................................................................20
Locking..............................................................................................................................................20
Locks gebruiken............................................................................................................................21
Niveau van vergrendeling (granularity of locking)............................................................................21

2

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller PascalDutch. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $0.00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

53068 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
Free  8x  sold
  • (1)