Data warehouses

Data
Warehouses &
Transactional
Databases
PRAMOD KUMAR
M.SC. 2ND YEAR
BIOINFORMATICS
HISTORY
 Inmon (Father of the data warehouse).
 Co-creator of the corporate information factory.
 He has 35 year of experience in database technology
management and data warehouse design.
 He has written more than 650 article.
 Inmon has published 45 books.
Data warehouses
Data warehouses
Data warehouses
Data warehouses
Data warehouses
Data warehouses
Data warehouses
TRANSACTION
DATABASE
 A 'transaction database' (or operational
database) could be relational, hierarchical, et al.
 A transaction database supports business
process flows and is typically an online, real-
time system. The way in which that data is
stored is typically based on the application(s).
 Companies often have multiple 'transaction
databases'.
Transactions
 A transaction is an action, or a series of actions, carried out by a single user or an application program,
which reads or updates the contents of a database.
 A transaction is a ‘logical unit of work’ on a database
 Each transaction does something in the database
 No part of it alone achieves anything of use or interest
 Transactions are the unit of recovery, consistency, and integrity as well
 ACID properties
 Atomicity
 Consistency
 Isolation
 Durability
Atomicity and Consistency
 Atomicity
 Transactions are atomic – they don’t have parts (conceptually)
 can’t be executed partially; it should not be detectable that they
interleave with another transaction
 Consistency
 Transactions take the database from one consistent state into another
 In the middle of a transaction the database might not be consistent
Isolation and Durability
 Isolation
 The effects of a transaction are not visible to other transactions until it
has completed
 From outside the transaction has either happened or not
 To me this actually sounds like a consequence of atomicity…
 Durability
 Once a transaction has completed, its changes are made permanent
 Even if the system crashes, the effects of a transaction must remain in
place
Example of transaction
 Transfer £50 from account A to account B
Read(A)
A = A - 50
Write(A)
Read(B)
B = B+50
Write(B)
transaction
Atomicity - shouldn’t take money
from A without giving it to B
Consistency - money isn’t lost or
gained
Isolation - other queries shouldn’t
see A or B change until completion
Durability - the money does not go
back to A
The Transaction Log
 The transaction log records the details of all transactions
 Any changes the transaction makes to the database
 How to undo these changes
 When transactions complete and how
 The log is stored on disk, not in memory
 If the system crashes it is preserved
 Write ahead log rule
 The entry in the log must be made before COMMIT processing can
complete
Thank
you
1 de 16

Recomendados

Dbms acid por
Dbms acidDbms acid
Dbms acidZaheer Soomro
2.1K vistas7 diapositivas
Different types of systems-SYANDES QUIZ 3 por
Different types of systems-SYANDES QUIZ 3Different types of systems-SYANDES QUIZ 3
Different types of systems-SYANDES QUIZ 3Vicka Jaime
401 vistas19 diapositivas
Syandes quiz 3 por
Syandes quiz 3Syandes quiz 3
Syandes quiz 3Leandro Confiado
262 vistas20 diapositivas
Dbms sixth chapter_part-1_2011 por
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011sumit_study
5.3K vistas127 diapositivas
Transactions and Concurrency Control por
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency ControlDilum Bandara
4.2K vistas45 diapositivas
Tranasaction management por
Tranasaction managementTranasaction management
Tranasaction managementDr. C.V. Suresh Babu
324 vistas72 diapositivas

Más contenido relacionado

Similar a Data warehouses

Svetlin Nakov - Database Transactions por
Svetlin Nakov - Database TransactionsSvetlin Nakov - Database Transactions
Svetlin Nakov - Database TransactionsSvetlin Nakov
2.6K vistas59 diapositivas
transactionprocessingsystem-161006153930.pdf por
transactionprocessingsystem-161006153930.pdftransactionprocessingsystem-161006153930.pdf
transactionprocessingsystem-161006153930.pdfDipakRathod48
11 vistas18 diapositivas
Transaction processing system por
Transaction processing systemTransaction processing system
Transaction processing systemanjana1994
32.4K vistas18 diapositivas
Transaction processing system por
Transaction processing systemTransaction processing system
Transaction processing systemuday sharma
90.1K vistas10 diapositivas
Tps revision 2017 por
Tps revision 2017Tps revision 2017
Tps revision 2017greg robertson
1K vistas65 diapositivas
Spring Transaction Management por
Spring Transaction ManagementSpring Transaction Management
Spring Transaction ManagementYe Win
2.1K vistas18 diapositivas

Similar a Data warehouses(20)

Svetlin Nakov - Database Transactions por Svetlin Nakov
Svetlin Nakov - Database TransactionsSvetlin Nakov - Database Transactions
Svetlin Nakov - Database Transactions
Svetlin Nakov2.6K vistas
transactionprocessingsystem-161006153930.pdf por DipakRathod48
transactionprocessingsystem-161006153930.pdftransactionprocessingsystem-161006153930.pdf
transactionprocessingsystem-161006153930.pdf
DipakRathod4811 vistas
Transaction processing system por anjana1994
Transaction processing systemTransaction processing system
Transaction processing system
anjana199432.4K vistas
Transaction processing system por uday sharma
Transaction processing systemTransaction processing system
Transaction processing system
uday sharma90.1K vistas
Spring Transaction Management por Ye Win
Spring Transaction ManagementSpring Transaction Management
Spring Transaction Management
Ye Win2.1K vistas
Tps Presentation por Apex
Tps PresentationTps Presentation
Tps Presentation
Apex 8.5K vistas
Transaction processing ppt por Javed Khan
Transaction processing pptTransaction processing ppt
Transaction processing ppt
Javed Khan9.2K vistas
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx por Koteswari Kasireddy
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
The Purpose And Purpose Of Beerings Bank por Sonia Sanchez
The Purpose And Purpose Of Beerings BankThe Purpose And Purpose Of Beerings Bank
The Purpose And Purpose Of Beerings Bank
Sonia Sanchez2 vistas

Último

Gross Anatomy of the Liver por
Gross Anatomy of the LiverGross Anatomy of the Liver
Gross Anatomy of the Liverobaje godwin sunday
77 vistas12 diapositivas
EILO EXCURSION PROGRAMME 2023 por
EILO EXCURSION PROGRAMME 2023EILO EXCURSION PROGRAMME 2023
EILO EXCURSION PROGRAMME 2023info33492
202 vistas40 diapositivas
Meet the Bible por
Meet the BibleMeet the Bible
Meet the BibleSteve Thomason
78 vistas80 diapositivas
MercerJesse2.1Doc.pdf por
MercerJesse2.1Doc.pdfMercerJesse2.1Doc.pdf
MercerJesse2.1Doc.pdfjessemercerail
314 vistas5 diapositivas
Monthly Information Session for MV Asterix (November) por
Monthly Information Session for MV Asterix (November)Monthly Information Session for MV Asterix (November)
Monthly Information Session for MV Asterix (November)Esquimalt MFRC
107 vistas26 diapositivas
Java Simplified: Understanding Programming Basics por
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming BasicsAkshaj Vadakkath Joshy
653 vistas155 diapositivas

Último(20)

EILO EXCURSION PROGRAMME 2023 por info33492
EILO EXCURSION PROGRAMME 2023EILO EXCURSION PROGRAMME 2023
EILO EXCURSION PROGRAMME 2023
info33492202 vistas
Monthly Information Session for MV Asterix (November) por Esquimalt MFRC
Monthly Information Session for MV Asterix (November)Monthly Information Session for MV Asterix (November)
Monthly Information Session for MV Asterix (November)
Esquimalt MFRC107 vistas
NodeJS and ExpressJS.pdf por ArthyR3
NodeJS and ExpressJS.pdfNodeJS and ExpressJS.pdf
NodeJS and ExpressJS.pdf
ArthyR348 vistas
11.30.23A Poverty and Inequality in America.pptx por mary850239
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptx
mary850239130 vistas
Career Building in AI - Technologies, Trends and Opportunities por WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy45 vistas
Create a Structure in VBNet.pptx por Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P86 vistas
Creative Restart 2023: Leonard Savage - The Permanent Brief: Unearthing unobv... por Taste
Creative Restart 2023: Leonard Savage - The Permanent Brief: Unearthing unobv...Creative Restart 2023: Leonard Savage - The Permanent Brief: Unearthing unobv...
Creative Restart 2023: Leonard Savage - The Permanent Brief: Unearthing unobv...
Taste55 vistas
Nelson_RecordStore.pdf por BrynNelson5
Nelson_RecordStore.pdfNelson_RecordStore.pdf
Nelson_RecordStore.pdf
BrynNelson546 vistas
INT-244 Topic 6b Confucianism por S Meyer
INT-244 Topic 6b ConfucianismINT-244 Topic 6b Confucianism
INT-244 Topic 6b Confucianism
S Meyer45 vistas
JQUERY.pdf por ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR3105 vistas

Data warehouses

  • 2. HISTORY  Inmon (Father of the data warehouse).  Co-creator of the corporate information factory.  He has 35 year of experience in database technology management and data warehouse design.  He has written more than 650 article.  Inmon has published 45 books.
  • 10. TRANSACTION DATABASE  A 'transaction database' (or operational database) could be relational, hierarchical, et al.  A transaction database supports business process flows and is typically an online, real- time system. The way in which that data is stored is typically based on the application(s).  Companies often have multiple 'transaction databases'.
  • 11. Transactions  A transaction is an action, or a series of actions, carried out by a single user or an application program, which reads or updates the contents of a database.  A transaction is a ‘logical unit of work’ on a database  Each transaction does something in the database  No part of it alone achieves anything of use or interest  Transactions are the unit of recovery, consistency, and integrity as well  ACID properties  Atomicity  Consistency  Isolation  Durability
  • 12. Atomicity and Consistency  Atomicity  Transactions are atomic – they don’t have parts (conceptually)  can’t be executed partially; it should not be detectable that they interleave with another transaction  Consistency  Transactions take the database from one consistent state into another  In the middle of a transaction the database might not be consistent
  • 13. Isolation and Durability  Isolation  The effects of a transaction are not visible to other transactions until it has completed  From outside the transaction has either happened or not  To me this actually sounds like a consequence of atomicity…  Durability  Once a transaction has completed, its changes are made permanent  Even if the system crashes, the effects of a transaction must remain in place
  • 14. Example of transaction  Transfer £50 from account A to account B Read(A) A = A - 50 Write(A) Read(B) B = B+50 Write(B) transaction Atomicity - shouldn’t take money from A without giving it to B Consistency - money isn’t lost or gained Isolation - other queries shouldn’t see A or B change until completion Durability - the money does not go back to A
  • 15. The Transaction Log  The transaction log records the details of all transactions  Any changes the transaction makes to the database  How to undo these changes  When transactions complete and how  The log is stored on disk, not in memory  If the system crashes it is preserved  Write ahead log rule  The entry in the log must be made before COMMIT processing can complete