SlideShare a Scribd company logo
1 of 5
Download to read offline
Memory Tablespaces
 Tablespaces in which memory-resident data is saved
Architecture (Memory TBS + Checkpoint Image Files)
log file#
log file#
log file#
log file#
log file#
Checkpoint Image-#-0 Checkpoint Image-#-1
Disk
Memory
Fuzzy / Ping-Pong Checkpointing
Memory TBS
Allocation of space in a memory tablespace
Space is allocated in 32KB page units
Page Status: Free or Used
Object Free Used
Tablespace
•Space that is not allocated to any
table
•Can be allocated to a particular table
in a page unit
•Space allocated to a particular table
•Cannot be used by any other table until the
table returns the page
Table
•Space that is allocated to a table but
contains no data
•Can be reused within that table
•Space that is allocated to a table and contains
data
•Cannot be reused unless the data is deleted
Changes to the Status of Pages
 When a DELETE statement is executed on a table
 The status of empty pages in the table changes from “Used” to “Free” (they
are reusable within that table).
 The pages are not returned to the tablespace.
 When compaction is performed after a DELETE statement, empty pages are
returned to the tablespace (they are usable by other tables) and their status
in the tablespace changes from “Used” to “Free”.
 When TRUNCATE TABLE is executed on a table
 All of the pages that were allocated to the table are returned to the
tablespace.
 The pages can be used by other tables, and their status in the tablespace
changes from “Used” to “Free”.
 When MOVE is executed on a table
 When data is transferred to another table using the MOVE statement, the
empty pages are reusable only in the table from which the data were moved
(same effect as DELETE execution).
 The pages are returned to the tablespace when compaction is later
performed.
How spaces are allocated
Create table T1
1 2 3 4
5 6 7 8
1
Insert data into T1
1
Insert data into T1
1 2
3
1
1 2 3
Memory Tablespace
How spaces are returned
1 2 3 4
5 6 7 8
Memory Tablespace
T1
1 2
3 4
21 3 4
65 7 8
COMPACTION on T1
1 2
3 4
INSERT data into T2
5 6
7 8
TRUNCATE on T1
1 2
3 4
DELETE on T1
3 4
5 6
7 8
3
4
3
4
1
2 3 4

More Related Content

What's hot (17)

Vectors and Rasters
Vectors and RastersVectors and Rasters
Vectors and Rasters
 
ppt spatial data
ppt spatial datappt spatial data
ppt spatial data
 
Raster data analysis
Raster data analysisRaster data analysis
Raster data analysis
 
Spatial Data Models
Spatial Data Models Spatial Data Models
Spatial Data Models
 
Vector data model
Vector data model Vector data model
Vector data model
 
Components of Spatial Data Quality in GIS
Components of Spatial Data Quality in GISComponents of Spatial Data Quality in GIS
Components of Spatial Data Quality in GIS
 
Raster
RasterRaster
Raster
 
Pivot tables c01
Pivot tables c01Pivot tables c01
Pivot tables c01
 
Database gis fundamentals
Database gis fundamentalsDatabase gis fundamentals
Database gis fundamentals
 
Introduction to gis
Introduction to gisIntroduction to gis
Introduction to gis
 
Spatial Data Model 2
Spatial Data Model 2Spatial Data Model 2
Spatial Data Model 2
 
Data Modelling QlikView
Data Modelling QlikViewData Modelling QlikView
Data Modelling QlikView
 
Data modelling qlik view
Data modelling qlik viewData modelling qlik view
Data modelling qlik view
 
5 spatial data editing
5 spatial data editing5 spatial data editing
5 spatial data editing
 
Raster data ppt
Raster data pptRaster data ppt
Raster data ppt
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
 
Taking Advantage of a Spatial Database with MapInfo Professional
Taking Advantage of a Spatial Database with MapInfo ProfessionalTaking Advantage of a Spatial Database with MapInfo Professional
Taking Advantage of a Spatial Database with MapInfo Professional
 

Viewers also liked

HT15, DA354A - Listor och lexikon
HT15, DA354A - Listor och lexikonHT15, DA354A - Listor och lexikon
HT15, DA354A - Listor och lexikonAnton Tibblin
 
Tipos y tamaños
Tipos y tamañosTipos y tamaños
Tipos y tamañosMariholys
 
Tarea 6 scopus
Tarea 6   scopusTarea 6   scopus
Tarea 6 scopusBea Panini
 
Gerencia de proyectos
Gerencia  de  proyectosGerencia  de  proyectos
Gerencia de proyectosLuzDa13
 
The Past, Present, and Future of Social Media Marketing
The Past, Present, and Future of Social Media MarketingThe Past, Present, and Future of Social Media Marketing
The Past, Present, and Future of Social Media MarketingOutsource-Philippines
 
Respiration
RespirationRespiration
Respiration115944
 
Movie review terms
Movie review termsMovie review terms
Movie review termskwonkw21
 
Sonidosconmicuerpo
SonidosconmicuerpoSonidosconmicuerpo
Sonidosconmicuerpoanacnlrt
 
Levetiracetam
LevetiracetamLevetiracetam
Levetiracetambgregorio
 
perevoznikovsanya
perevoznikovsanyaperevoznikovsanya
perevoznikovsanyasanya3007
 
Music video analysis work sheet (5)
Music video analysis work sheet (5)Music video analysis work sheet (5)
Music video analysis work sheet (5)Sadie Bailey
 

Viewers also liked (12)

HT15, DA354A - Listor och lexikon
HT15, DA354A - Listor och lexikonHT15, DA354A - Listor och lexikon
HT15, DA354A - Listor och lexikon
 
Tipos y tamaños
Tipos y tamañosTipos y tamaños
Tipos y tamaños
 
Tarea 6 scopus
Tarea 6   scopusTarea 6   scopus
Tarea 6 scopus
 
Gerencia de proyectos
Gerencia  de  proyectosGerencia  de  proyectos
Gerencia de proyectos
 
The Past, Present, and Future of Social Media Marketing
The Past, Present, and Future of Social Media MarketingThe Past, Present, and Future of Social Media Marketing
The Past, Present, and Future of Social Media Marketing
 
Ai 27 11
Ai 27 11Ai 27 11
Ai 27 11
 
Respiration
RespirationRespiration
Respiration
 
Movie review terms
Movie review termsMovie review terms
Movie review terms
 
Sonidosconmicuerpo
SonidosconmicuerpoSonidosconmicuerpo
Sonidosconmicuerpo
 
Levetiracetam
LevetiracetamLevetiracetam
Levetiracetam
 
perevoznikovsanya
perevoznikovsanyaperevoznikovsanya
perevoznikovsanya
 
Music video analysis work sheet (5)
Music video analysis work sheet (5)Music video analysis work sheet (5)
Music video analysis work sheet (5)
 

Similar to [Altibase] 4-2 memory tablespace

[Altibase] 4-4 disk tablespace
[Altibase] 4-4 disk tablespace[Altibase] 4-4 disk tablespace
[Altibase] 4-4 disk tablespacealtistory
 
database-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptdatabase-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptsubbu998029
 
database-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptdatabase-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptIftikhar70
 
Migrate 10TB to Exadata -- Tips and Tricks
Migrate 10TB to Exadata -- Tips and TricksMigrate 10TB to Exadata -- Tips and Tricks
Migrate 10TB to Exadata -- Tips and TricksAmin Adatia
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfJoshCasas1
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12AnusAhmad
 
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)Tuning and Optimizing U-SQL Queries (SQLPASS 2016)
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)Michael Rys
 
1 Week 4 What Well Be Working on This Week B.docx
1 Week 4 What Well Be Working on This Week     B.docx1 Week 4 What Well Be Working on This Week     B.docx
1 Week 4 What Well Be Working on This Week B.docxdorishigh
 
IBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM
 
Lecture 6.pptx
Lecture 6.pptxLecture 6.pptx
Lecture 6.pptxDilanAlmsa
 

Similar to [Altibase] 4-2 memory tablespace (13)

[Altibase] 4-4 disk tablespace
[Altibase] 4-4 disk tablespace[Altibase] 4-4 disk tablespace
[Altibase] 4-4 disk tablespace
 
database-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptdatabase-stucture-and-space-managment.ppt
database-stucture-and-space-managment.ppt
 
database-stucture-and-space-managment.ppt
database-stucture-and-space-managment.pptdatabase-stucture-and-space-managment.ppt
database-stucture-and-space-managment.ppt
 
Sap abap
Sap abapSap abap
Sap abap
 
Migrate 10TB to Exadata -- Tips and Tricks
Migrate 10TB to Exadata -- Tips and TricksMigrate 10TB to Exadata -- Tips and Tricks
Migrate 10TB to Exadata -- Tips and Tricks
 
Gd401 1 p autocad tables-doc
Gd401 1 p autocad tables-docGd401 1 p autocad tables-doc
Gd401 1 p autocad tables-doc
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12
 
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)Tuning and Optimizing U-SQL Queries (SQLPASS 2016)
Tuning and Optimizing U-SQL Queries (SQLPASS 2016)
 
Deep Dive on Amazon Redshift
Deep Dive on Amazon RedshiftDeep Dive on Amazon Redshift
Deep Dive on Amazon Redshift
 
1 Week 4 What Well Be Working on This Week B.docx
1 Week 4 What Well Be Working on This Week     B.docx1 Week 4 What Well Be Working on This Week     B.docx
1 Week 4 What Well Be Working on This Week B.docx
 
IBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration Basics
 
Lecture 6.pptx
Lecture 6.pptxLecture 6.pptx
Lecture 6.pptx
 

More from altistory

[Altibase] 4-5 summary of tablespace management
[Altibase] 4-5 summary of tablespace management[Altibase] 4-5 summary of tablespace management
[Altibase] 4-5 summary of tablespace managementaltistory
 
[Altibase] 13 backup and recovery
[Altibase] 13 backup and recovery[Altibase] 13 backup and recovery
[Altibase] 13 backup and recoveryaltistory
 
[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)altistory
 
[Altibase] 11 replication part4 (conflict resolution)
[Altibase] 11 replication part4 (conflict resolution)[Altibase] 11 replication part4 (conflict resolution)
[Altibase] 11 replication part4 (conflict resolution)altistory
 
[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)altistory
 
[Altibase] 9 replication part2 (methods and controls)
[Altibase] 9 replication part2 (methods and controls)[Altibase] 9 replication part2 (methods and controls)
[Altibase] 9 replication part2 (methods and controls)altistory
 
[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)altistory
 
[Altibase] 7 how the buffer is managed in altibase
[Altibase] 7 how the buffer is managed in altibase[Altibase] 7 how the buffer is managed in altibase
[Altibase] 7 how the buffer is managed in altibasealtistory
 
[Altibase] 6 what is the mvcc
[Altibase] 6 what is the mvcc[Altibase] 6 what is the mvcc
[Altibase] 6 what is the mvccaltistory
 
[Altibase] 5 durability
[Altibase] 5 durability[Altibase] 5 durability
[Altibase] 5 durabilityaltistory
 
[Altibase] 4-3 volatile tablespace
[Altibase] 4-3 volatile tablespace[Altibase] 4-3 volatile tablespace
[Altibase] 4-3 volatile tablespacealtistory
 
[Altibase] 4-1 tablespace concept
[Altibase] 4-1 tablespace concept[Altibase] 4-1 tablespace concept
[Altibase] 4-1 tablespace conceptaltistory
 
[Altibase] 3-3 directory contents
[Altibase] 3-3 directory contents[Altibase] 3-3 directory contents
[Altibase] 3-3 directory contentsaltistory
 
[Altibase] 3-1 architecture
[Altibase] 3-1 architecture[Altibase] 3-1 architecture
[Altibase] 3-1 architecturealtistory
 
[Altibase] 2-4 sql functions
[Altibase] 2-4 sql functions[Altibase] 2-4 sql functions
[Altibase] 2-4 sql functionsaltistory
 
[Altibase] 2-3 general functions
[Altibase] 2-3 general functions[Altibase] 2-3 general functions
[Altibase] 2-3 general functionsaltistory
 
[Altibase] 2-2 Altibase storage
[Altibase] 2-2 Altibase storage[Altibase] 2-2 Altibase storage
[Altibase] 2-2 Altibase storagealtistory
 
[Altibase] 2-1 features
[Altibase] 2-1 features[Altibase] 2-1 features
[Altibase] 2-1 featuresaltistory
 
[Altibase] 1-5 hybrid dbms
[Altibase] 1-5 hybrid dbms[Altibase] 1-5 hybrid dbms
[Altibase] 1-5 hybrid dbmsaltistory
 
[Altibase] 1-4 data differentiation
[Altibase] 1-4 data differentiation[Altibase] 1-4 data differentiation
[Altibase] 1-4 data differentiationaltistory
 

More from altistory (20)

[Altibase] 4-5 summary of tablespace management
[Altibase] 4-5 summary of tablespace management[Altibase] 4-5 summary of tablespace management
[Altibase] 4-5 summary of tablespace management
 
[Altibase] 13 backup and recovery
[Altibase] 13 backup and recovery[Altibase] 13 backup and recovery
[Altibase] 13 backup and recovery
 
[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)
 
[Altibase] 11 replication part4 (conflict resolution)
[Altibase] 11 replication part4 (conflict resolution)[Altibase] 11 replication part4 (conflict resolution)
[Altibase] 11 replication part4 (conflict resolution)
 
[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)
 
[Altibase] 9 replication part2 (methods and controls)
[Altibase] 9 replication part2 (methods and controls)[Altibase] 9 replication part2 (methods and controls)
[Altibase] 9 replication part2 (methods and controls)
 
[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)[Altibase] 8 replication part1 (overview)
[Altibase] 8 replication part1 (overview)
 
[Altibase] 7 how the buffer is managed in altibase
[Altibase] 7 how the buffer is managed in altibase[Altibase] 7 how the buffer is managed in altibase
[Altibase] 7 how the buffer is managed in altibase
 
[Altibase] 6 what is the mvcc
[Altibase] 6 what is the mvcc[Altibase] 6 what is the mvcc
[Altibase] 6 what is the mvcc
 
[Altibase] 5 durability
[Altibase] 5 durability[Altibase] 5 durability
[Altibase] 5 durability
 
[Altibase] 4-3 volatile tablespace
[Altibase] 4-3 volatile tablespace[Altibase] 4-3 volatile tablespace
[Altibase] 4-3 volatile tablespace
 
[Altibase] 4-1 tablespace concept
[Altibase] 4-1 tablespace concept[Altibase] 4-1 tablespace concept
[Altibase] 4-1 tablespace concept
 
[Altibase] 3-3 directory contents
[Altibase] 3-3 directory contents[Altibase] 3-3 directory contents
[Altibase] 3-3 directory contents
 
[Altibase] 3-1 architecture
[Altibase] 3-1 architecture[Altibase] 3-1 architecture
[Altibase] 3-1 architecture
 
[Altibase] 2-4 sql functions
[Altibase] 2-4 sql functions[Altibase] 2-4 sql functions
[Altibase] 2-4 sql functions
 
[Altibase] 2-3 general functions
[Altibase] 2-3 general functions[Altibase] 2-3 general functions
[Altibase] 2-3 general functions
 
[Altibase] 2-2 Altibase storage
[Altibase] 2-2 Altibase storage[Altibase] 2-2 Altibase storage
[Altibase] 2-2 Altibase storage
 
[Altibase] 2-1 features
[Altibase] 2-1 features[Altibase] 2-1 features
[Altibase] 2-1 features
 
[Altibase] 1-5 hybrid dbms
[Altibase] 1-5 hybrid dbms[Altibase] 1-5 hybrid dbms
[Altibase] 1-5 hybrid dbms
 
[Altibase] 1-4 data differentiation
[Altibase] 1-4 data differentiation[Altibase] 1-4 data differentiation
[Altibase] 1-4 data differentiation
 

Recently uploaded

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 

[Altibase] 4-2 memory tablespace

  • 1. Memory Tablespaces  Tablespaces in which memory-resident data is saved Architecture (Memory TBS + Checkpoint Image Files) log file# log file# log file# log file# log file# Checkpoint Image-#-0 Checkpoint Image-#-1 Disk Memory Fuzzy / Ping-Pong Checkpointing Memory TBS
  • 2. Allocation of space in a memory tablespace Space is allocated in 32KB page units Page Status: Free or Used Object Free Used Tablespace •Space that is not allocated to any table •Can be allocated to a particular table in a page unit •Space allocated to a particular table •Cannot be used by any other table until the table returns the page Table •Space that is allocated to a table but contains no data •Can be reused within that table •Space that is allocated to a table and contains data •Cannot be reused unless the data is deleted
  • 3. Changes to the Status of Pages  When a DELETE statement is executed on a table  The status of empty pages in the table changes from “Used” to “Free” (they are reusable within that table).  The pages are not returned to the tablespace.  When compaction is performed after a DELETE statement, empty pages are returned to the tablespace (they are usable by other tables) and their status in the tablespace changes from “Used” to “Free”.  When TRUNCATE TABLE is executed on a table  All of the pages that were allocated to the table are returned to the tablespace.  The pages can be used by other tables, and their status in the tablespace changes from “Used” to “Free”.  When MOVE is executed on a table  When data is transferred to another table using the MOVE statement, the empty pages are reusable only in the table from which the data were moved (same effect as DELETE execution).  The pages are returned to the tablespace when compaction is later performed.
  • 4. How spaces are allocated Create table T1 1 2 3 4 5 6 7 8 1 Insert data into T1 1 Insert data into T1 1 2 3 1 1 2 3 Memory Tablespace
  • 5. How spaces are returned 1 2 3 4 5 6 7 8 Memory Tablespace T1 1 2 3 4 21 3 4 65 7 8 COMPACTION on T1 1 2 3 4 INSERT data into T2 5 6 7 8 TRUNCATE on T1 1 2 3 4 DELETE on T1 3 4 5 6 7 8 3 4 3 4 1 2 3 4