wpa2transakce Flashcards

1
Q

Atomicity

A

transakce muze probehnout bud cela: nebo vubec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Consistency

A

provadi sama o sobe spravny vypocet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Isolation

A

paralelne probihajici transakce se vzajemne neovlivnuji

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Durability

A

vysledky transkace která byla ukonecna operaci commit jsou trvale (i po havarii)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dirty read

A

uzivatel A zmeni data ale neukonci transakci : uzivatel B precte zmenena data : uzivatel A odvola transakci → uzivatel B precte data která nikdy nebyla potvrzena

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Unrepeatable read

A

A precte data a neukonci transakci : B zmeni data a ulozi svou transakci → A cte stejna data a nenajde je

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Phantom

A

A polozi dotaz:precte odpoved a neulozi transakci : B vlozi další radky které by mel i A v dotazu → A da stejny dotaz a dostane jinou odpoved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Optimisticka

A

predpokladame ze konflikt nenastane : konflikt resime az když nastane – ostreni vyjimky : cislo verze ma každý zdroj

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Pesimisticka

A

pst konfliktu je velka : zamykani zdroju : musí se ziskat zamek zdroje predtim nez s nim zacnou pracovat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Lock manager

A

v db se drzi seznam zamcenych zdroju : kdy zamknout ? Jde-li to pak drive nez zdroj ziskam : co zamknout ? Id zdroje : odemknout na konci business transakce → plus timeout na odemceni (spadne třeba server) : nebezpeci deadlocku ->radsi vyhodit vyjimku nez cekat na odemceni

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

client session state

A

stav na klientovi obsahuje sessionid ->odkazuje na session který drzi stav na serveru

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

server session state

A

udrzovan bud : lokalne : v pameti ap serveru : v db : vyzaduje clusterovani failover : musí se resit zapominani stavu ukoncenych session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Gateway

A

izolace klienta od technologickeho API : interface s 2 implementacemi : 1-ostra vola realnou sluzbu dane vrstvy : 2-testovaci vola Service Stub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Service stub

A

zpomaleni vyvoje → bezi lokalne a simuluje

How well did you know this?
1
Not at all
2
3
4
5
Perfectly