SlideShare a Scribd company logo
Sedna XML DBMS: Transactions and Recovery Alexander Kalinin [email_address] Nickolay Zavaritsky [email_address] Sedna Team
General principles ACID transactions Atomicity – rollback procedure Consistency – by design Isolation – S2PL and snapshots Durability – two-level recovery scheme Versioning environment Support for Read-Only transactions Physical recovery using persistent snapshot Logical recovery using log of microoperations
Versioning Scheme Page-level versioning Consistent with internal representation (e.g. following the pointers) Transaction-transparent solution All logic is encapsulated in a separate module on SM Limited number of versions for each page More effective maintenance and garbage collecting ( 4 versions on 2 snapshots ) Support for snapshots to process read-only transactions No isolation is required Long-running read-only transactions cannot be rolled back due to the lack of versions
 
 
 
 
 
Rollback and Recovery scheme Normal processing: Logical logging of all microoperations (1 record per microoperation + 1 record per changed persistent version) Transaction-consistent snapshots on checkpoints Rollback processing: Undo microoperations using logical log records Two-level recovery process: Restore transaction-consistent state using persistent snapshot Redo the necessary microoperations using logical log
Recovery process
Isolation Usual transactions S2PL protocol Document-level granularity Read-only transactions No isolation is required since they use transaction-consistent snapshots
Thank you for your attention!

More Related Content

DOCX
Oracle processes
DOC
New background processes in 11g r2
PPTX
Presentation on Transaction
PPTX
Concurrency control
PPTX
Jiro technology
PPTX
Transaction management
PPTX
Dissertation Defence: Enforcing User-Defined Management Logic in Large Scale ...
PPTX
Cs 1023 lec 5 (week 1) edit 1
Oracle processes
New background processes in 11g r2
Presentation on Transaction
Concurrency control
Jiro technology
Transaction management
Dissertation Defence: Enforcing User-Defined Management Logic in Large Scale ...
Cs 1023 lec 5 (week 1) edit 1

Viewers also liked (16)

PPT
Architecture of Native XML Database Sedna
PPT
XQuery Triggers in Native XML Database Sedna
PPT
Sedna XML Database System: Internal Representation
PPT
Sedna XML Database: Memory Management
PPTX
7. transaction mang
PPT
Transactions in dbms
PPT
Mca ii-dbms-u-v-transaction management
PPT
Data independence
PPTX
Slide 3 data abstraction & 3 schema
PPTX
Advanced DBMS presentation
PPTX
Dbms architecture
PDF
Database Architecture and Basic Concepts
PPT
24. Advanced Transaction Processing in DBMS
PPTX
Transaction management DBMS
PPT
Databases: Concurrency Control
PPT
15. Transactions in DBMS
Architecture of Native XML Database Sedna
XQuery Triggers in Native XML Database Sedna
Sedna XML Database System: Internal Representation
Sedna XML Database: Memory Management
7. transaction mang
Transactions in dbms
Mca ii-dbms-u-v-transaction management
Data independence
Slide 3 data abstraction & 3 schema
Advanced DBMS presentation
Dbms architecture
Database Architecture and Basic Concepts
24. Advanced Transaction Processing in DBMS
Transaction management DBMS
Databases: Concurrency Control
15. Transactions in DBMS
Ad

Similar to Sedna XML Database: Transactions and Recovery (20)

PPTX
Microsoft sql server architecture
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PPTX
Snap protect se_presentation_v3.0
PPTX
Databus - LinkedIn's Change Data Capture Pipeline
PPT
DBMS MODULE-6.ppt database management system transaction
PPTX
Db spof(mssql, my sql)
PPTX
Stor simple Event June2014.sven.differt
PPTX
Data & Analytics Forum: Moving Telcos to Real Time
PDF
Lagom : Reactive microservice framework
PPTX
Azure SQL Managed Instance - SqlBits 2019
PDF
Exadata MAA Best Practices
PPT
Fastback Technical Enablementv1
PPT
RISC.ppt
PPT
13 risc
PPTX
SQL Server 2008 R2 - Implementing High Availabilitty
PPT
Oracle Instance Architecture.ppt
PPTX
Best storage engine for MySQL
PPT
Transaction management and concurrency control
PPTX
How to Install and Use MMS
PDF
les06.pdf
Microsoft sql server architecture
CS9222 ADVANCED OPERATING SYSTEMS
Snap protect se_presentation_v3.0
Databus - LinkedIn's Change Data Capture Pipeline
DBMS MODULE-6.ppt database management system transaction
Db spof(mssql, my sql)
Stor simple Event June2014.sven.differt
Data & Analytics Forum: Moving Telcos to Real Time
Lagom : Reactive microservice framework
Azure SQL Managed Instance - SqlBits 2019
Exadata MAA Best Practices
Fastback Technical Enablementv1
RISC.ppt
13 risc
SQL Server 2008 R2 - Implementing High Availabilitty
Oracle Instance Architecture.ppt
Best storage engine for MySQL
Transaction management and concurrency control
How to Install and Use MMS
les06.pdf
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation theory and applications.pdf
PPTX
sap open course for s4hana steps from ECC to s4
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Programs and apps: productivity, graphics, security and other tools
Encapsulation theory and applications.pdf
sap open course for s4hana steps from ECC to s4

Sedna XML Database: Transactions and Recovery

  • 1. Sedna XML DBMS: Transactions and Recovery Alexander Kalinin [email_address] Nickolay Zavaritsky [email_address] Sedna Team
  • 2. General principles ACID transactions Atomicity – rollback procedure Consistency – by design Isolation – S2PL and snapshots Durability – two-level recovery scheme Versioning environment Support for Read-Only transactions Physical recovery using persistent snapshot Logical recovery using log of microoperations
  • 3. Versioning Scheme Page-level versioning Consistent with internal representation (e.g. following the pointers) Transaction-transparent solution All logic is encapsulated in a separate module on SM Limited number of versions for each page More effective maintenance and garbage collecting ( 4 versions on 2 snapshots ) Support for snapshots to process read-only transactions No isolation is required Long-running read-only transactions cannot be rolled back due to the lack of versions
  • 4.  
  • 5.  
  • 6.  
  • 7.  
  • 8.  
  • 9. Rollback and Recovery scheme Normal processing: Logical logging of all microoperations (1 record per microoperation + 1 record per changed persistent version) Transaction-consistent snapshots on checkpoints Rollback processing: Undo microoperations using logical log records Two-level recovery process: Restore transaction-consistent state using persistent snapshot Redo the necessary microoperations using logical log
  • 11. Isolation Usual transactions S2PL protocol Document-level granularity Read-only transactions No isolation is required since they use transaction-consistent snapshots
  • 12. Thank you for your attention!