Gestione delle transazioni: controllo di affidabilità: T03
|
|
- Franca Corsi
- 5 anni fa
- Visualizzazioni
Transcript
1 Gestione delle transazioni: controllo di affidabilità: T03 Paolo Atzeni, Stefano Ceri 6/05/2003 Definition of a Transaction An elementary unit of work performed by an application, with specific features for what concerns correctness, robustness and isolation Each transaction is encapsulated within two commands begin transaction (start transaction in SQL) end positive (commit): commit work negative (abort): rollback work Transactional System: a system capable of providing the definition & execution of transactions on behalf of multiple, concurrent applications 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 2
2 Una transazione start transaction; update ContoCorrente set Saldo = Saldo + 10 where NumConto = 12202; update ContoCorrente set Saldo = Saldo 10 where NumConto = 42177; commit work; 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 3 Una transazione con varie decisioni start transaction; update ContoCorrente set Saldo = Saldo + 10 where NumConto = 12202; update ContoCorrente set Saldo = Saldo 10 where NumConto = 42177; select Saldo into A from ContoCorrente where NumConto = 42177; if (A>=0) then commit work else rollback work; 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 4
3 Transazioni in JDBC Scelta della modalità delle transazioni: un metodo definito nell'interfaccia Connection: setautocommit(boolean autocommit) con.setautocommit(true) (default) "autocommit": ogni operazione è una transazione con.setautocommit(false) gestione delle transazioni da programma con.commit() con.rollback() non c'è start transaction 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 5 ACID Properties of Transactions ACID is an acronym for: Atomicity Consistency Isolation Durability 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 6
4 Atomicity A transaction is an atomic unit of work It cannot leave the database in an intermediate state: a fault or error prior to commit causes the UNDO of the work made earlier A fault or error after the commit may require the REDO of the work made earlier, if its effect on the database state is not guaranteed Possible behaviors Commit = normality (99.9%) Abort (or rollback) requested by the application = suicide requested by the system (constraint violation, concurrency reasons, uncertainty or uncompletion in case of failure) = murder 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 7 Consistency Consistency amounts to requiring that the transaction does not violate any integrity constraint Integrity constraint verification can be: Immediate: during the transaction (the operation causing the violation is rejected, but control is kept within the transaction) Deferred: at the end of the transaction (if some integrity constraint is violated, the entire transaction is rejected) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 8
5 Isolation Isolation requires that any transaction executes independently from the execution of all other concurrent transactions [isolation requires that the concurrent execution of a collection of transaction yields to the same result as an arbitrary sequential execution of the same transactions] Durability (Persistence) Durability requires that the effect of a transaction that has successfully committed be not lost (the effect will last forever ) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 9 Transactions and system modules Atomicity and durability are guaranteed by the Reliability Control System Isolation is guaranteed by the Concurrency Control System Consistency is managed during the normal query execution by the DBMS System (verification activities are generated by the DDL Compilers and executed during query processing) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 10
6 Gestore degli accessi e delle interrogazioni Gestore delle transazioni Gestore di Interrogazioni e aggiornamenti Gestore delle transazioni Gestore dei metodi d accesso Gestore del buffer Gestore della concorrenza Gestore della affidabilità Gestore della memoria secondaria Memoria secondaria 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 11 Reliability control Responsible for executing the transactional commands: start transaction (B) commit work (C) rollback work (A, for abort) and the primitives for recovery after malfunctions: warm restart and cold restart Ensures atomicity and durability Uses as main data structure the log: A permanent archive which registers the various actions carried out by the DBMS Two metaphors: Arianna s thread, Hansel and Gretel s crumbs of bread 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 12
7 Architettura del controllore dell'affidabilità Gestore dei metodi d accesso fix, unfix Gestore delle transazioni begin, commit, abort Gestore della affidabilità fix, unfix, force (pagine BD e log) Gestore del buffer read, write Gestore della memoria secondaria BD Log 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 13 Stable memory A memory that is failure-resistant It is an abstraction, in that no memory can have zero probability of failure (but replication and robust writing protocols can bring such a probability close to zero) A failure of stable memory is assumed as catastrophic and impossible, at least in this context Organized in different ways depending on the criticality of the application: a tape unit a pair of devices of different kind (e.g.: a tape and a disk) two mirrored disk units 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 14
8 Log organization The log is a sequential file managed by the reliability control system, written in the stable memory The actions carried out by the various transactions are recorded in the log in chronological order (written sequentially to the top block) There are two types of log record Transaction records begin, B(T) insert, I(T,O,AS) delete, D(T,O,BS) update, U(T,O,BS,AS) commit, C(T), or abort, A(T) System records dump (rare) checkpoint (more frequent) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 15 Struttura del log dump B(T1) B(T2) CK C(T2) B(T3) U(T2, ) U(T2, ) U(T1, ) U(T1, ) U(T3, ) U(T3, ) Crash 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 16
9 Log, checkpoint e dump: a che cosa servono? Il log serve "a ricostruire" le operazioni Checkpoint e dump servono ad evitare che la ricostruzione debba partire dall'inizio dei tempi si usano con riferimento a tipi di guasti diversi 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 17 Undo and redo Undo of an action on an object O: update, delete: copy the value BS into the object O insert: delete the object O Redo of an action on an object O: insert, update: copy the value AS into the object O delete: re-insert the object O Idempotence of undo and redo: an arbitrary number of undos and redos of the same action is equivalent to the carrying out of such actions only once: undo(undo(a)) = undo(a) redo(redo(a)) = redo(a) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 18
10 Checkpoint Operazione che serve a "fare il punto" della situazione, semplificando le successive operazioni di ripristino: ha lo scopo di registrare quali transaszioni sono attive in un certo istante (e dualmente, di confermare che le altre o non sono iniziate o sono finite) Paagone (estremo): la "chiusura dei conti" di fine anno di una amministrazione: dal 25 novembre (ad esempio) non si accettano nuove richieste di "operazioni" e si concludono tutte quelle avviate prima di accettarne di nuove 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 19 Checkpoint (2) Varie modalità, vediamo la più semplice: si sospende l'accettazione di richieste di ogni tipo (scrittura, inserimenti,, commit, abort) si trasferiscono in memoria di massa (tramite force) tutte le pagine sporche relative a transazioni andate in commit si registrano sul log in modo sincrono (force) gli identificatori delle transazioni in corso si riprende l'accettazione delle operazioni Così siamo sicuri che per tutte le transazioni che hanno effettuato il commit i dati sono in memoria di massa le transazioni "a metà strada" sono elencate nel checkpoint 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 20
11 Dump A dump is a complete copy of the database, which is normally created when the system is not operative The copy is stored in the stable memory, typically on tape, and is called backup A dump record DUMP in the log signals the presence of a backup made at a given time and identifies the file or device where the dump took place 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 21 Transactional rules The reliability control system must follow two rules: WAL rule (write-ahead log): before-state parts of the log records must be written in the log before carrying out the corresponding operation on the database Commit-Precedence rule: after-state parts of the log records must be written in the log before carrying out the commit 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 22
12 Transaction outcome The atomic outcome of a transaction is established at the time when it writes the commit record in the log synchronously, using the force primitive Before this event, a failure is followed by the undo of the actions, so reconstructing the original state of the database After this event, a failure is followed by the redo of the actions carried out to reconstruct the final state of the transaction abort records can be simply written asynchronously into the top block of the log 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 23 Scrittura nel l og e nella base di dati B(T) U(T,X,BS,AS) U(T,Y,BS,AS) C Scritture nel log t w(x) w(y) Scritture nel database (a) B(T) U(T,X,BS,AS) U(T,Y,BS,AS) C t w(y) w(x) (b) B(T) U(T,X,BS,AS) U(T,Y,BS,AS) C t w(x) w(y) (c) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 24
13 Modalita differita Il DB non contiene valori AS provenienti da transazioni uncommitted In caso di abort, non occorre fare niente Rende superflua la procedura di Undo. Richiede Redo dump CK Crash T1 T2 T3 T4 T5 Niente Redo Redo Niente Niente 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 25 Modalita immediata Il DB contiene valori AS provenienti da transazioni uncommitted Richiede Undo delle operazioni di transazioni uncommited al momento del guasto Non richiede Redo dump CK Crash T1 T2 T3 T4 T5 Niente Niente Niente Undo Undo 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 26
14 Essite una terza modalita : modalità mista La scrittura puo avvenire in modalita sia immediata che differita Consente l ottimizzazione delle operazioni di flush Richiede sia Undo che Redo dump CK Crash T1 T2 T3 T4 T5 Niente Redo Redo Undo Undo 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 27 Optimizations Several log records are normally written into the same log page Several log records of the same transactions can be forced at commit time Several transactions can commit together by forcing their commit record with the same operation (group commit) Systems can exploit parallelism in writing logs 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 28
15 Failures in data management System failures: software bugs, for example of the operating system, or interruptions of the functioning of the devices (due, for example, to loss of power) With loss of the contents of the main memory (and thus all the buffers) With no loss of the contents of secondary memory Device failures: failures of secondary memory devices (for example, disk head crashes) with loss of secondary memory contents with no loss of stable storage (i.e.: of the log) Restart protocols Warm restart used with system crashes Cold restart used with device crashes 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 29 Modello "fail-stop" Normal Restart completed Fail Fail Restart Stop Boot 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 30
16 Restart process Objective: classify transactions as: Completed (whose actions were recorded in stable storage) Committed but possibly not completed (whose actions must be redone) Not committed (whose actions have to be undone) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 31 Warm restart Four successive phases: Trace back the log until the most recent checkpoint record. Construct the UNDO set (transactions to be undone) and the REDO set (transactions to be redone). Trace back the log until the first action of the oldest transaction in the two sets, UNDO and REDO, is found, and undo all the actions of the transactions in the UNDO set Trace forward the log and redo all the actions of the transactions in the REDO set The protocol guarantees: atomicity: all the transactions in progress at the time of failure leave the database either in the initial state or in the final one durability: all pages of transactions in progress are written to secondary memory 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 32
17 Esempio di warm restart B(T1) B(T2) U(T2, O1, B1, A1) I(T1, O2, A2) UNDO = {T2,T3,T4} B(T3) CK Crash C(T1) B(T4) T1 C U(T3,O2,B3,A3) T2 U(T4,O3,B4,A4) T3 A CK(T2,T3,T4) C(T4) T4 B(T5) T5 C U(T3,O3,B5,A5) U(T5,O4,B6,A6) D(T3,O5,B7) A(T3) C(T5) I(t2,O6,A8) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni Ricerca dell ultimo checkpoint B(T1) B(T2) U(T2, O1, B1, A1) I(T1, O2, A2) UNDO = {T2,T3,T4} B(T3) CK Crash C(T1) B(T4) T1 C U(T3,O2,B3,A3) T2 U(T4,O3,B4,A4) T3 A CK(T2,T3,T4) C(T4) T4 B(T5) T5 C U(T3,O3,B5,A5) U(T5,O4,B6,A6) D(T3,O5,B7) A(T3) C(T5) I(t2,O6,A8) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 34
18 2. Costruzione degli insiemi UNDO e REDO B(T1) 0. UNDO = {T2,T3,T4}. REDO = {} B(T2) 8. U(T2, O1, B1, A1) 1. C(T4) {T2, T3}. REDO = {T4} I(T1, O2, A2) B(T3) 2. B(T5) {T2,T3,T5}. REDO = {T4} Setup C(T1) 3. C(T5) {T2,T3}. REDO = {T4, T5} B(T4) 7. U(T3,O2,B3,A3) 9. U(T4,O3,B4,A4) CK(T2,T3,T4) 1. C(T4) 2. B(T5) 6. U(T3,O3,B5,A5) 10. U(T5,O4,B6,A6) 5. D(T3,O5,B7) A(T3) 3. C(T5) 4. I(T2,O6,A8) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni Fase UNDO B(T1) 0. UNDO = {T2,T3,T4}. REDO = {} B(T2) 8. U(T2, O1, B1, A1) 1. C(T4) {T2, T3}. REDO = {T4} I(T1, O2, A2) B(T3) 2. B(T5) {T2,T3,T5}. REDO = {T4} Setup C(T1) 3. C(T5) {T2,T3}. REDO = {T4, T5} B(T4) 7. U(T3,O2,B3,A3) 4. D(O6) 9. U(T4,O3,B4,A4) CK(T2,T3,T4) 5. O5 =B7 1. C(T4) 6. O3 = B5 Undo 2. B(T5) 6. U(T3,O3,B5,A5) 7. O2 =B3 10. U(T5,O4,B6,A6) 5. D(T3,O5,B7) 8. O1=B1 A(T3) 3. C(T5) 4. I(T2,O6,A8) 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 36
19 4. Fase REDO B(T1) 0. UNDO = {T2,T3,T4}. REDO = {} B(T2) 8. U(T2, O1, B1, A1) 1. C(T4) {T2, T3}. REDO = {T4} I(T1, O2, A2) B(T3) 2. B(T5) {T2,T3,T5}. REDO = {T4} Setup C(T1) 3. C(T5) {T2,T3}. REDO = {T4, T5} B(T4) 7. U(T3,O2,B3,A3) 4. D(O6) 9. U(T4,O3,B4,A4) CK(T2,T3,T4) 5. O5 =B7 1. C(T4) 6. O3 = B5 Undo 2. B(T5) 6. U(T3,O3,B5,A5) 7. O2 =B3 10. U(T5,O4,B6,A6) 5. D(T3,O5,B7) 8. O1=B1 A(T3) 9. O3 = A4 3. C(T5) Redo 4. I(T2,O6,A8) 10. O4 = A6 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 37 Cold restart Divided into three phases. During the first phase, the dump is accessed and the damaged parts are selectively copied from the database. The most recent dump record in the log is then accessed The log is traced forward. The actions on the database and the commit or abort actions are applied as appropriate to the damaged parts of the database. The situation preceding the failure is thus restored A warm restart is carried out 6/05/2003 T03: P. Atzeni, S. Ceri Gestione delle transazioni 38
Parte 3 Gestione del buffer e gestione del recovery
Gestione dei dati Parte 3 Gestione del buffer e gestione del recovery Maurizio Lenzerini, Riccardo Rosati Facoltà di Ingegneria Sapienza Università di Roma Anno Accademico 2012/2013 http://www.dis.uniroma1.it/~rosati/gd/
DettagliLa durability. I dati modificati da una transazione che ha fatto il commit non devono mai essere persi. La durability consente di reagire a:
La durability Basi di dati: Architetture e linee di evoluzione - Seconda edizione Capitolo 2 Appunti dalle lezioni Durability (Persistenza) I dati modificati da una transazione che ha fatto il commit non
DettagliRecovery manager Gestore della affidabilità
Riferimenti Basi di Dati Complementi Parte 2: Tecnologie per DBMS Parte 2.5: Recovery Manager Trasparenze parte Recovery manager Basi di Dati Atzeni et al. - Capitolo 2.1, 2.2 Anche: Garcia Molina, Ullman,
DettagliBasi di dati Architetture e linee di evoluzione. Gestione delle transazioni. Sistema di Gestione di Basi di Dati. Le Basi di Dati sono GRANDI
Sistema di Gestione di Basi di Dati Basi di dati Architetture e linee di evoluzione Capitolo 2 Gestione delle transazioni i Un Sistema di Gestione di Basi di Dati (DataBase Management System - DBMS) è
DettagliBasi di Dati Complementi. 2. Tecnologie per DBMS -2.4 Introduzione alle Transazioni e Buffer Manager
Basi di Dati Complementi 2. Tecnologie per DBMS -2.4 Introduzione alle Transazioni e Buffer Manager Andrea Maurino 2007 2008 Parte del materiale è stato fornito dal prof. Batini Fonti Libro Architetture
DettagliBasi di dati II. Gestione delle transazioni LE TRANSAZIONI. Definizione di transazione. Differenza fra applicazione e transazione
Basi di dati II 2- LE TRANSAZIONI 1 2 Definizione di transazione Differenza fra applicazione e transazione Transazione: parte di programma caratterizzata da un inizio (begin-transaction, start transaction
DettagliLe transazioni. Update CC set saldo = saldo + 25 where ccnum = Update CC set saldo = saldo 25 where ccnum = 26488
Le transazioni Basi di dati: Architetture e linee di evoluzione - Seconda edizione Capitolo 2 (paragrafo 2.1) Appunti dalle lezioni Transazione ContiCorrenti(ccnum,saldo) Update CC set saldo = saldo +
DettagliCorso di Laurea in Ingegneria Informatica Fondamenti di Informatica II Modulo Basi di dati a.a
Corso di Laurea in Ingegneria Informatica Fondamenti di Informatica II Modulo Basi di dati a.a. 2012-2013 2013 Docente: Gigliola Vaglini Docenti laboratorio: Francesco Pistolesi,, Antonio Virdis Lezione
DettagliEsempio di sistema informativo
Corso di Laurea in Ingegneria Informatica Fondamenti di Informatica II Modulo Basi di dati a.a. 2013-2014 Docente: Gigliola Vaglini Docente laboratorio: Francesco Pistolesi Esempio di sistema informativo
DettagliEsempio di sistema informativo
Basi di dati vol.2 Capitolo 2 Gestione delle transazioni 12/10/2003 Esempio di sistema informativo GESTIONE IMPIANTI IMMISSIONE DI ORDINI DI SERVIZIO CLIENTI GESTIONE ELENCHI ABBONATI GESTIONE RETE AMMINISTRAZIONE
DettagliEsempio di sistema informativo
Corso di Laurea in Ingegneria Informatica Algoritmi e basi di dati Modulo Basi di dati a.a. 2009-2010 2010 Docente: Gigliola Vaglini Docente laboratorio: Luca Martini Esempio di sistema informativo GESTIONE
DettagliARCHITETTURA DI UN B.D.M.S. Parte III Il Controllo di Affidabilità
ARCHITETTURA DI UN B.D.M.S. Parte III Il Controllo di Affidabilità Michele de Nittis Generalità Il controllo di affidabilità (CA) è quel servizio che provvede a garantire le proprietà di atomicità e persistenza
DettagliSistemi informativi e basi di dati. Il modello relazionale. SQL come DCL Utilizzo di un DBMS Reale. Forme normali. Basi di dati direzionali
Le transazioni Appunti dalle lezioni SQL come DDL Sistemi informativi e basi di dati La Progettazione Concettuale SQL come DML Il modello relazionale La Progettazione Logica SQL come DCL Utilizzo di un
DettagliBasi di dati vol.2 Capitolo 2 Gestione delle transazioni 20/05/2007
Basi di dati vol.2 Capitolo 2 Gestione delle transazioni 20/05/2007 1 DEFINIZIONE DI TRANSAZIONE Transazione: parte di programma caratterizzata da un inizio (begin-transaction, start transaction in SQL,
DettagliGestione delle transazioni
Basi di dati vol.2 Capitolo 2 Gestione delle transazioni 18/03/2009 DEFINIZIONE DI TRANSAZIONE Transazione: parte di programma caratterizzata da un inizio (begin-transaction, start transaction in SQL,
DettagliEsempio di sistema informativo
Basi di dati vol.2 Capitolo 2 Gestione delle transazioni 26/05/2005 Esempio di sistema informativo GESTIONE IMPIANTI IMMISSIONE DI ORDINI DI SERVIZIO CLIENTI GESTIONE ELENCHI ABBONATI GESTIONE RETE AMMINISTRAZIONE
DettagliTecnologia di un DBMS
Tecnologia di un DBMS Atzeni, Ceri, Paraboschi, Torlone Basi di Dati: Architetture e Linee di Evouzione McGraw-Hill Italia Capitolo 2 Introduzione Update CC set saldo = saldo 25 where ccnum = 26488 Update
DettagliIl linguaggio SQL: transazioni
Il linguaggio SQL: transazioni Sistemi Informativi T Versione elettronica: 04.8.SQL.transazioni.pdf Cos è una transazione? Una transazione è un unità logica di elaborazione che corrisponde a una serie
DettagliFinite Model Theory / Descriptive Complexity: bin
, CMPSCI 601: Recall From Last Time Lecture 19 Finite Model Theory / Descriptive Compleity: Th: FO L DSPACE Fagin s Th: NP SO. bin is quantifier-free.!#"$&% ('*), 1 Space 0 1 ) % Time $ "$ $ $ "$ $.....
DettagliIM-IU v0.1. alternata e continua. pag. 1 / 5
MANUALE OPERATIVO IM-IU v0.1 INSTRUCTION MANUAL SERIE TTC-V-485 Trasformatore di corrente alternata e continua PROTOCOLLO DI COMUNICAZIONE MODBUS TTC-V-485 SERIES AC/DC current transformer MODBUS COMMUNICATION
DettagliDownloading and Installing Software Socio TIS
Object: Downloading and Installing Software Socio TIS compiler: L.D. Date Revision Note April 17 th 2013 --- For SO XP; Win 7 / Vista step Operation: Image A1 Open RUN by clicking the Start button, and
DettagliCollege Algebra. Logarithms: Denitions and Domains. Dr. Nguyen November 9, Department of Mathematics UK
College Algebra Logarithms: Denitions and Domains Dr. Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK November 9, 2018 Agenda Logarithms and exponents Domains of logarithm functions Operations
DettagliTecnologia di un Database Server (centralizzato) Gestione dell affidabilità
Affidabilità Basi di Dati / Complementi di Basi di Dati 1 Tecnologia di un Database Server (centralizzato) Gestione dell affidabilità Angelo Montanari Dipartimento di Matematica e Informatica Università
DettagliIntoduzione alle transazioni e alle proprieta ACID delle transazioni
Basi di Dati Complementi Parte 2: Tecnologie per MS Parte 2.4: Introduzione alle transazioni e Intoduzione alle transazioni e alle proprieta ACID delle transazioni @ Carlo Batini 2006 1 @ Carlo Batini
DettagliSistemi transazionali. sistemi transazionali 1
Sistemi transazionali sistemi transazionali 1 Ricordiamo le principali caratteristiche dei DBMS condivisione dei dati - concorrenza qualità dei dati - integrità efficienza - caricamento, query, sort controllo
DettagliConstant Propagation. A More Complex Semilattice A Nondistributive Framework
Constant Propagation A More Complex Semilattice A Nondistributive Framework 1 The Point Instead of doing constant folding by RD s, we can maintain information about what constant, if any, a variable has
DettagliDatabase support Prerequisites Architecture Driver features Setup Stored procedures Where to use. Contents
VEGA ODBC DRIVER Database support Prerequisites Architecture Driver features Setup Stored procedures Where to use Contents Database support CA-IDMS/SQL including table procedures CA-IDMS/DML via stored
DettagliSingle-rate three-color marker (srtcm)
3. Markers Pag. 1 The Single Rate Three Color Marker (srtcm) can be used as component in a Diffserv traffic conditioner The srtcm meters a traffic stream and marks its packets according to three traffic
DettagliFunzioni del DBMS. Transazioni. Transazioni: esempio. Parte VII. Gestione delle transazioni
Funzioni del DBMS Parte VII Gestione delle transazioni Basi di dati - prof. Silvio Salza - a.a. 2014-2015 VII - 1 Gestione dei dati: cura la memorizzazione permanente dei dati ed il loro accessso Gestione
DettagliParte VII. Gestione delle transazioni
Parte VII Gestione delle transazioni Basi di dati - prof. Silvio Salza - a.a. 2014-2015 VII - 1 Funzioni del DBMS Gestione dei dati: cura la memorizzazione permanente dei dati ed il loro accessso Gestione
DettagliCOMPITO DI SISTEMI INFORMATIVI/BASI DI DATI II 17 giugno 2008 Compito A (Tot. 16) Tempo: 2h
Esercizio 1 (punti 3) Si consideri il seguente log: COMPITO DI SISTEMI INFORMATIVI/BASI DI DATI II 17 giugno 2008 Compito A (Tot. 16) Tempo: 2h 1. U(T1,O1,B1,A1) 2. B(T2) 3. B(T3) 4. I(T2,O2,A4) 5. D(T3,O1,B5)
DettagliGeneral info on using shopping carts with Ingenico epayments
Tabella dei contenuti 1. Disclaimer 2. What is a PSPID? 3. What is an API user? How is it different from other users? 4. What is an operation code? And should I choose "Authorisation" or "Sale"? 5. What
DettagliGraphs: Cycles. Tecniche di Programmazione A.A. 2012/2013
Graphs: Cycles Tecniche di Programmazione Summary Definitions Algorithms 2 Definitions Graphs: Cycles Cycle A cycle of a graph, sometimes also called a circuit, is a subset of the edge set of that forms
DettagliGestione delle transazioni
Gestione delle transazioni Sistemi Informativi L-B Home Page del corso: http://www-db.deis.unibo.it/courses/sil-b/ Versione elettronica: transazioni.pdf Sistemi Informativi L-B Cos è una transazione? Una
DettagliLinguaggi Corso M-Z - Laurea in Ingegneria Informatica A.A I/O, thread, socket in Java
Linguaggi Corso M-Z - Laurea in Ingegneria Informatica A.A. 2009-2010 Alessandro Longheu http://www.diit.unict.it/users/alongheu alessandro.longheu@diit.unict.it Esercitazione I/O, thread, socket in Java
DettagliGestione delle transazioni
Gestione delle transazioni Sistemi Informativi L-B Home Page del corso: http://www-db.deis.unibo.it/courses/sil-b/ Versione elettronica: transazioni.pdf Sistemi Informativi L-B Cos è una transazione? Una
DettagliSRT064 BTH SRT051 BTH SRT052 BTH
KIT FOR TRUCK BRAKE TESTERS SRT051 BTH SRT052 BTH OPERATOR S MANUAL SRT064BTH SRT051BTH SRT052BTH CONTENTS 1. INTRODUCTION...1 2. Description of SRT064BTH Kit...2 3. Description of SRT051BTH Kit...2 4.
DettagliAVVISO n Settembre 2009 AIM Italia
AVVISO n.14112 08 Settembre 2009 AIM Italia Mittente del comunicato : Borsa Italiana Societa' oggetto : dell'avviso Oggetto : Modifiche al mercato AIM Italia: orari di negoziazione/amendments to the AIM
DettagliTecnologia di un Database Server (centralizzato) Introduzione generale
Introduzione Basi di Dati / Complementi di Basi di Dati 1 Tecnologia di un Database Server (centralizzato) Introduzione generale Angelo Montanari Dipartimento di Matematica e Informatica Università di
DettagliComponenti di un DBMS
Componenti di un DBMS Come fa un DBMS a garantire le proprietà ACIDe di una transazione? Vediamo i componenti principali dal più interno a quello di più alto livello: Controllore di Concorrenza Gestore
DettagliParte VII Gestione delle transazioni
Parte VII Gestione delle transazioni Basi di dati - prof. Silvio Salza - a.a. 2014-2015 VII - 1 Funzioni del DBMS Gestione dei dati: cura la memorizzazione permanente dei dati ed il loro accessso Gestione
DettagliScheduling. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4
Course of Multimedia Internet (Sub-course Reti Internet Multimediali ), AA 2010-2011 Prof. 4. Scheduling Pag. 1 Scheduling In other architectures, buffering and service occur on a per-flow basis That is,
DettagliSchemi di paginazione nell architettura 86 (32 e 64 bit)
Paginazione X86 1 Schemi di paginazione nell architettura 86 (32 e 64 bit) Questo documento mette insieme figure dai manuali Intel che illustrano gli aspetti salienti della gestione della memoria nell
DettagliInstallazione di DraftSight Enterprise
PROCEDURA PER L INSTALLAZIONE DELLE LICENZE DI RETE DRAFTSIGHT DraftSight è un software di disegno 2D, che nella versione Enterprise prevede delle installazioni Client sui computer dei disegnatori, i quali
DettagliTRANSAZIONI TRANSAZIONI
TRANSAZIONI Concetto di transazione, comandi di transazione, proprietà ACID delle transazioni Transazioni concorrenti Esecuzione seriale e serializzabile Conflict-equivalenza, grafo dei conflitti Protocollo
DettagliIl linguaggio SQL: transazioni
Il linguaggio SQL: transazioni Sistemi Informativi T Versione elettronica: 04.8.SQL.transazioni.pdf Cos è una transazione? Una transazione è un unità logica di elaborazione che corrisponde a una serie
DettagliEnel App Store - Installation Manual - Mobile
Model Design Digital Revolution Enel App Store - Installation Manual - Mobile V 1.1 Manual Questo documento contiene informazioni di proprietà di Enel SpA e deve essere utilizzato esclusivamente dal destinatario
DettagliProgettazione Fisica
Progettazione Fisica Progettazione Fisica Ingresso: Schema logico della base di dati Caratteristiche del sistema scelto Previsioni sul carico applicativo (queries) Uscita: Strutture fisiche utilizzate
DettagliECOLE POLYTECHNIQlE FEDERALE DE LAUSANNE
).> ECOLE POLYTECHNIQlE.>.> FEDERALE DE LAUSANNE case class : Int : Int : Boolean : String : String : Boolean : Boolean val = case class : Int : Boolean : Boolean : Boolean : Int val = val = val = =>
DettagliGestione del Buffer. Gestione delle Transazioni. Il buffer. Il gestore del buffer 2. Il gestore del buffer 1
Gestione delle Transazioni Parte terza Argomenti: Gestore del Buffer,Ripristino, File di Log, Protocolli per il ripristino, Savepoint, Shadow Pages, Gestione del Buffer Obiettivi: Minimizzare gli accessi
DettagliQui u ck c k PE P R E L
Quick PERL Why PERL??? Perl stands for practical extraction and report language Similar to shell script but lot easier and more powerful Easy availability All details available on web Basic Concepts Perl
DettagliEML-16 EML-16. Pulses concentrator. Concentratore impulsi MODBUS COMMUNICATION PROTOCOL PROTOCOLLO DI COMUNICAZIONE MODBUS
MANUALE OPERATIVO / INSTRUCTION MANUAL IM-IU v0.1 EML-16 Concentratore impulsi PROTOCOLLO DI COMUNICAZIONE MODBUS EML-16 Pulses concentrator MODBUS COMMUNICATION PROTOCOL PROTOCOLLO MODBUS Il concentratore
DettagliWrite Event 10 in Metrology Event Log
Sincronizzazione Leggera (Light Synchronization out of a broadcast window, e.g. a FAC session, after a push) Amendment to UNI/TS 11291-11-2 5.4.5.2.2.2 Sincronizzazione e Impostazione DC/GW Synch UNIX
DettagliMODIFICA AL REGOLAMENTO DEL MERCATO AIM ITALIA/MERCATO ALTERNATIVO DEL CAPITALE REGOLAMENTO DEGLI OPERATORI E DELLE NEGOZIAZIONI
AVVISO n.18289 30 Settembre 2016 AIM -Italia/Mercato Alternativo del Capitale Mittente del comunicato : BORSA ITALIANA Societa' oggetto dell'avviso : -- Oggetto : Modifica al Regolamento del Mercato AIM
DettagliStringhe. Prof. Lorenzo Porcelli
Stringhe Prof. Lorenzo Porcelli definizione Una stringa è un vettore di caratteri terminato dal carattere nullo \0. Il carattere nullo finale permette di determinare la lunghezza della stringa. char vet[32];
DettagliUNIVERSITÀ DEGLI STUDI DI TORINO
STEP BY STEP INSTRUCTIONS FOR COMPLETING THE ONLINE APPLICATION FORM Enter the Unito homepage www.unito.it and click on Login on the right side of the page. - Tel. +39 011 6704425 - e-mail internationalexchange@unito.it
DettagliAnalisi dei Requisiti, Progettazione Preliminare ed Esecutiva di Grandi Sistemi Ingegneristici: Casi di Studio
Seminario di Analisi dei Requisiti, Progettazione Preliminare ed Esecutiva di Grandi Sistemi Ingegneristici: Casi di Studio Corso di Ingegneria dei Sistemi Software e dei Servizi in Rete Parte 5. Evoluzione
DettagliAccesso Mul*plo - modelli
Accesso Mul*plo - modelli Conceptual Model of Mul/ple Access A B C D Station A Station B Station C Station D Master Channel The Master does not know if and how many packets are present in each queue (i.e.,
DettagliBASI DI DATI DISTRIBUITE. Esercizio n. 1 Si consideri la base dati:
BASI DI DATI DISTRIBUITE Esercizio n. 1 Si consideri la base dati: PRODUZIONE (NumeroSerie, TipoParte, Modello, Qta, Macchina) PRELIEVO (NumeroSerie, Lotto, Cliente, Venditore, Ammontare) CLIENTE (Nome,
DettagliAVVISO n Giugno Mittente del comunicato : BORSA ITALIANA. Societa' oggetto dell'avviso
AVVISO n.12460 23 Giugno 2016 --- Mittente del comunicato : BORSA ITALIANA Societa' oggetto dell'avviso : -- Oggetto : Modifica al Regolamento del Mercato Borsa Italiana Equity MTF/Amendment to the Rules
DettagliFiori di campo. Conoscere, riconoscere e osservare tutte le specie di fiori selvatici più note
Fiori di campo. Conoscere, riconoscere e osservare tutte le specie di fiori selvatici più note M. Teresa Della Beffa Click here if your download doesn"t start automatically Fiori di campo. Conoscere, riconoscere
DettagliCustomer Centric/Inquiry/E-bill. Tanya Enzminger
Customer Centric/Inquiry/E-bill Tanya Enzminger Customer Centric E-bill On-line Electronic Billing system Real-time viewing of customer data including statement, payment, toll usage and other information
DettagliWELCOME UNIPA REGISTRATION:
WELCOME This is a Step by Step Guide that will help you to register as an Exchange for study student to the University of Palermo. Please, read carefully this guide and prepare all required data and documents.
DettagliCode: GW-IMP-WEB-1. Datalogger web pulses counter. Version 6 inputs with Ethernet. MarCom
Datalogger web pulses counter Code: GW-IMP-WEB-1 Version 6 inputs with Ethernet Datalogger web pulses counter The web datalogger pulses counter is able to count the pulses on digital inputs (2 by default
DettagliLaboratorio di Amministrazione di Sistema (CT0157) parte A : domande a risposta multipla
Laboratorio di Amministrazione di Sistema (CT0157) parte A : domande a risposta multipla 1. Which are three reasons a company may choose Linux over Windows as an operating system? (Choose three.)? a) It
DettagliAVVISO n AIM -Italia/Mercato Alternativo del Capitale. 23 Giugno Mittente del comunicato : BORSA ITALIANA. Societa' oggetto dell'avviso
AVVISO n.12459 23 Giugno 2016 AIM -Italia/Mercato Alternativo del Capitale Mittente del comunicato : BORSA ITALIANA Societa' oggetto dell'avviso : -- Oggetto : Modifica al Regolamento degli operatori e
DettagliA.A. 2006/2007 Laurea di Ingegneria Informatica. Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio
A.A. 2006/2007 Laurea di Ingegneria Informatica Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio Obbiettivi Acquisire familiarità con la nozione di oggetto Apprendere le proprietà
DettagliREGISTRATION. Area Ricerca
REGISTRATION Note: former students can skip the registration process and log in using their account (id123456) 1.1 HOW TO REGISTER: please, go to web page www.univr.it/applicationphd and select the item
DettagliAlgoritmi Priority-Driven RT. Corso di Sistemi RT Prof. Davide Brugali Università degli Studi di Bergamo
Algoritmi Priority-Driven RT Corso di Sistemi RT Prof. Davide Brugali Università degli Studi di Bergamo 2 Algoritmi Real Time Earliest Due Date (statico) Seleziona il task con la deadline relativa più
DettagliSerializable Snapshot Isolation (SSI) in PostgreSQL 9.1
Serializable Snapshot Isolation (SSI) in PostgreSQL 9.1 Marco Nenciarini Italian PostgreSQL Users Group www.itpug.org www.postgresql.org Chi sono? DBA, sviluppatore e sysadmin presso 2ndQuadrant Database
DettagliControllo di concorrenza. concorrenza 1
Controllo di concorrenza concorrenza 1 I vantaggi della concorrenza sul server (1 cpu, 1 disco, 1 sistema di trasmissione) è possibile il parallelismo tra: elaborazione :cpu (c) operazioni di I/O: disco
DettagliAmmissibilità di co.co.co. e AdR in H2020. Laura Fulci Dirigente Area Ricerca Politecnico di Torino
Ammissibilità di co.co.co. e AdR in H2020 Laura Fulci Dirigente Area Ricerca Politecnico di Torino Conclusione della vicenda Ott. 2015 Dic. 2015 Feb. 2016 Mar. 2016 Giu. 2016 Set. 2016 Apr. 2017 Pubblicata
DettagliLEGEND UPDATE GUIDE INSTALLING LEGEND UPDATE. viscount. Legend Update Guide
LEGEND UPDATE GUIDE INSTALLING LEGEND UPDATE The Legend series firmware is upgradable via PC. You must first download the Legend Update application from http://www.instruments.com. NB Legend Update is
DettagliLA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI
Read Online and Download Ebook LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI DOWNLOAD EBOOK : LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO Click link bellow and
DettagliScheda Allarmi Alarm Board MiniHi
Scheda Allarmi Alarm Board MiniHi Manuale Utente User Manual Italiano English cod. 272680 - rev. 18/04/02 ITALIANO INDIE 1. INTRODUZIONE...2 2. RIONOSIMENTO DEI LIVELLI DI TENSIONE DEL SEGNALE 0-10 VOLT...2
DettagliUser Guide Guglielmo SmartClient
User Guide Guglielmo SmartClient User Guide - Guglielmo SmartClient Version: 1.0 Guglielmo All rights reserved. All trademarks and logos referenced herein belong to their respective companies. -2- 1. Introduction
DettagliWEB OF SCIENCE. COVERAGE: multidisciplinary TIME RANGE: DOCUMENT TYPES: articles, proceedings papers, books
WEB OF SCIENCE COVERAGE: multidisciplinary TIME RANGE: 1985- DOCUMENT TYPES: articles, proceedings papers, books WEB OF SCIENCE: SEARCH you can add one or more search field you can limit results to a specific
DettagliNOTICE. Palladium Securities 1 S.A. Series 112 EUR 100,000,000 Fixed to Floating Rate Instruments due 2023 (with EUR
NOTICE Palladium Securities 1 S.A. Series 112 EUR 100,000,000 Fixed to Floating Rate Instruments due 2023 (with EUR 14,500,000 in principal amount outstanding) (the Instruments ) ISIN Code: XS0890631913
DettagliRules for the certification of Information Security Management Systems
Rules for the certification of Information Security Management Systems Rules for the certification of Information Security Management Systems Effective from 14 November 2016 RINA Via Corsica 12 16128 Genova
DettagliLo sniffer. questo sconosciuto! Corso di Reti di Calcolatori Architetture e Servizi A.A. 2010/11. Introduzione allo sniffing TCP
Corso di Reti di Calcolatori Architetture e Servizi A.A. 2010/11 Lo sniffer questo sconosciuto! Introduzione allo sniffing TCP Ing. Fabio Clarizia Ing. Luca Greco Outline Analisi dei segmenti TCP inviati
DettagliProbability Distributions T O P I C # 1
Probability Distributions ١ T O P I C # 1 Discrete Random Variable A discrete random variable is a variable that can assume only a countable number of values Many possible outcomes: number of complaints
DettagliCorso di Laurea in Ingegneria Informatica Algoritmi e basi di dati Modulo Basi di dati a.a
Corso di Laurea in Ingegneria Informatica Algoritmi e basi di dati Modulo Basi di dati a.a. 2011-2012 Docente: Gigliola Vaglini Docente laboratorio: Alessandro Lori Lezione 12 Gestione delle transazioni
DettagliLA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI
Read Online and Download Ebook LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI DOWNLOAD EBOOK : LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO Click link bellow and
DettagliSelf-Calibration Hands-on CASA introduction
Self-Calibration Hands-on CASA introduction Adam North American ALMA Science Center Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long
DettagliQuando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai?
IT FAQ-SSL Quando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai? Il certificato SSL relativo ai servizi hosting è stato rinnovato
DettagliPROTOCOLLO DI COMUNICAZIONE MODBUS MODBUS COMMUNICATION PROTOCOL. MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61
MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61 COMPALARM C2C Annunciatore d allarme PROTOCOLLO DI COMUNICAZIONE MODBUS COMPALARM C2C Alarm annunciator MODBUS COMMUNICATION PROTOCOL Compalarm C2C
Dettagli20x SSC Solution. For use in in situ hybridization procedures. For Research Use Only. Not for use in diagnostic procedures.
20x SSC Solution WB-0003-50 14 (50 ml) For use in in situ hybridization procedures For Research Use Only. Not for use in diagnostic procedures. 1. Scope of Application This product is designed for research
DettagliS C.F.
Rif. 1560 Lionard Luxury Real Estate Via dei Banchi, 6 - ang. Piazza S. Maria Novella 50123 Florence Italy Tel. +39 055 0548100 Fax. +39 055 0548150 Umbria Perugia Prestigious estate for sale in Umbria
DettagliLe Basi di Dati Attive
Le Basi di Dati Attive Basi di dati: Architetture e linee di evoluzione - Seconda edizione Capitolo 5 Appunti dalle lezioni SQL in Linguaggi di programmazione L uso diretto dell interprete SQL è tipicamente
Dettagli6.5 RNA Secondary Structure
6.5 RNA Secondary Structure Struttura di una biomolecola Biomolecola: DNA, RNA Struttura primaria: descrizione esatta della sua composizione atomica e dei legami presenti fra gli atomi Struttura secondaria:
DettagliCambridge International Examinations Cambridge International General Certificate of Secondary Education
Cambridge International Examinations Cambridge International General Certificate of Secondary Education *4398984596* ITALIAN 0535/04 Paper 4 Writing May/June 2016 1 hour Candidates answer on the Question
DettagliSolidNetwork License Manager
PROCEDURA PER L AGGIORNAMENTO DELLE LICENZE DI RETE SOLIDWORKS PREMESSE Il Gestore delle licenze flottanti SolidWorks, denominato SolidNetWork License Manager (SNL), deve essere aggiornato ALMENO alla
DettagliCorso di. Basi di Dati I. 10. Esercitazioni in SQL: Complementi
Corso di Basi di Dati 10. Esercitazioni in SQL: Complementi A.A. 2016 2017 Funzioni condizionali Vediamo qualche altro comando utile di SQL. Il comando coalesce ammette come argomento una sequenza di espressioni
DettagliIntroduzione all Architettura del DBMS
Introduzione all Architettura del DBMS Data Base Management System (DBMS) Un DBMS è uno strumento per la creazione e la gestione efficiente di grandi quantità di dati che consente di conservarli in modo
DettagliAVVISO n Dicembre 2018 SeDeX. Mittente del comunicato : BORSA ITALIANA. Societa' oggetto dell'avviso
AVVISO n.24505 06 Dicembre 2018 SeDeX Mittente del comunicato : BORSA ITALIANA Societa' oggetto dell'avviso : -- Oggetto : Modifiche al Regolamento del mercato SeDeX/Amendments to the SeDeX market Rules
DettagliECCO LE ISTRUZIONI PER INSERIRE IL MATERIALE RICHIESTO DAL BANDO TEATRO SENZA FILO CONTEST:
ECCO LE ISTRUZIONI PER INSERIRE IL MATERIALE RICHIESTO DAL BANDO TEATRO SENZA FILO CONTEST: 1) Registrati su www.circyouity.com e creati un profilo personale o del gruppo* (non con il nome del progetto!)
DettagliCorso di. Basi di Dati I. 10. Esercitazioni in SQL: Complementi
Corso di Basi di Dati 10. Esercitazioni in SQL: Complementi A.A. 2016 2017 Funzioni condizionali Vediamo qualche altro comando utile di SQL. Il comando coalesce ammette come argomento una sequenza di espressioni
DettagliLe Basi di Dati Attive
Le Basi di Dati Attive Angelo Chianese, Vincenzo Moscato, Antonio Picariello, Lucio Sansone Basi di dati per la gestione dell'informazione 2/ed McGraw-Hill Capitolo 8, paragrafo 8.2 Manuale PostgreSQL
DettagliCambridge International Examinations Cambridge International General Certificate of Secondary Education
Cambridge International Examinations Cambridge International General Certificate of Secondary Education *3113811567* ITALIAN 0535/04 Paper 4 Writing May/June 2015 1 hour Candidates answer on the Question
Dettagli