SlideShare a Scribd company logo
1 of 21
ACTIVE AND MAIN
MEMORY DATABASE
By
Preetam Rajkhowa
Roll no 21
MCA 4th Semester
CCS, DU
CONTENTS
• INTRODUCTION
• DEFINITION
• ADVANTAGES AND DISADVANTAGES
• APPLICATIONS
• CURRENT RESEARCH
• FUTURE WORK
• CONCLUSION
• REFERRENCE
INTRODUCTION
ACTIVE DATABASE:
Active database are database systems that supports mechanisms that
enable them to respond automatically to events that are taking place
either inside or outside the database system itself by supporting the
specification and implementation of reactive behaviour. The reactive
behaviour resides on rules which integrate cause with an expected
effect.
MAIN MEMORY DATABASE:
Main Memory Database resides permanently in the Main Memory of
the system. There is a backup copy of the database that is stored on
the disk. It primarily relies on main memory for computer data storage
and is contrasted with database management systems that employ a
disk storage mechanism. It is also known as In Memory Database.
DEFINITION OF ACTIVE
DATABASE
It is a type of database system that uses Event Driven
Architecture often in the form of ECA rules which responds to
conditions both inside and outside the database. They are
invoked by synchronous events generated by user or application
programs as well as external asynchronous data change events
such as a change in sensor value or time.
ACTIVE RULES/PRODUCTION
RULES
They are stored programs which are automatically triggered
when an event occurs. Triggers can be written in response to
Data Manipulation Language (DML) or Data Definition Language
(DDL) or the Database Operations.
The desired reactive behaviour is expressed in terms of
Production Rules which are designed and stored in the Database.
The benefit is that the rules can be shared by many application
programs and the database can optimise their implementation.
FEATURES OF ACTIVE DATABASE
• It possess all the concepts of a conventional database i.e. data
modelling facilities, query language etc.
• It supports all the functions of a traditional database like data
definition, data manipulation, storage management etc.
• It supports definition and management of ECA rules.
• It detects event occurrence.
• It must be able to evaluate conditions and to execute actions.
It means that it has to implement rule execution.
DEFINITION OF MAIN MEMORY
DATABASE
Main Memory database is the database system that primarily
relies on main memory for computer data storage. They are
faster than disk-optimized databases because disk access is
slower than memory access, the internal optimization are simpler
and execute fewer CPU instructions.
FEATURES OF MAIN MEMORY
DATABASE
• Data can be directly accessed and uses shared memory
architecture.
• There are no network overhead or data copies.
• They are tightly coupled.
• They are highly concurrent.
• Fully ACID transactions.
ADVANTAGES OF ACTIVE
DATABASE
• Active database systems enhance traditional database
functionalities with powerful rule processing capabilities.
• Triggers in active database enable a uniform and centralized
description of the business rules relevant to system.
• It facilities the maintenance of the business rules.
• The layered approach is beneficial for active object oriented
databases if the base system is in turn implemented in an
object oriented way such that functionality to be written can
be easily modified or wrapped.
DISADVANTAGE OF ACTIVE
DATABASE
• Insufficient methodological support in design and analysis.
• Lack of standardization.
• Missing development and administration tools for triggers.
• Weak performance.
• Lack of support for application development.
ADVANTAGE OF MAIN MEMORY
DATABASE
• It has direct access to data and uses shared memory
architecture.
• It is handwritten using atomic instructions.
• It has fixed and variable size allocators.
• Code segments which are performance critical are tightly
coupled.
DISADVANTAGES OF MAIN
MEMORY DATABASE
• They may not be cost effective.
• There may be risk of data loss.
• There is a limit in the database.
APPLICATIONS OF ACTIVE
DATABASE
• Data monitoring activities such as Telecommunications
Network Management, Program trading, Medical and
Financial Decision Support etc.
• Production control activities such as power plants.
• Maintenance task activities e.g. inventory control systems.
• Air traffic control, Computer interrogated manufacturing,
Statistic gathering and authorization tools etc.
APPLICATIONS OF MAIN MEMORY
DATABASE
• Used in real time embedded systems.
• Manage the music databases in a MP3 player.
• Programming data in set-top boxes, arithmetic trading and
other financial applications.
• E- Commerce and Social Networking sites.
CURRENT RESEARCH OF ACTIVE
DATABASES
• A new condition called Petri Nets is proposed to approach the
model and rules of ECA. It can integrate the rules and is also
independent of the original database.
• A study for concurrency control is going on for real time
active database systems where they are exploring the
dynamics of transaction processing for real time active
databases.
• A research for real time event control in active databases is
being carried out.
CURRENT RESEARCH OF MAIN
MEMORY DATABASES
• A research for the implementation techniques for Main
Memory Databases is being carried out where evaluation of
AVL vs B+ tree access methods for the said database is done.
FUTURE WORK ON ACTIVE
DATABASE
• Research for new ECA rules.
• Controlling data concurrency in real time.
FUTURE WORK ON MAIN
MEMORY DATABASE
• Research for Disaster Recovery of the database.
• Extension of the model for unstructured data structures.
• Life cycle based data management is based on the semantics
of different applications it is possible to specify if a single
record is ever modifies again or remains read-only and thus
allows different strategies for compression and partitioning.
CONCLUSION
• Active databases are those types of databases that have the
mechanism to automatically respond to events in the system
where as Main memory databases are the databases that
reside permanently in main memory.
• Active database includes an event driven architecture. Main
memory database completely relies on main memory for
computer data storage.
• Most modern relational databases include active database in
the form of database triggers. Main memory databases are
quite faster.
REFERRENCE
• https://en.wikipedia.org/wiki/Active_database
• https://en.wikipedia.org/wiki/In-memory_database
• www.slideshare.net
• Database System Concepts by Silberschatz−Korth−Sudarshan
THANK YOU

More Related Content

What's hot

introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Databasenehabsairam
 
Introduction to column oriented databases
Introduction to column oriented databasesIntroduction to column oriented databases
Introduction to column oriented databasesArangoDB Database
 
Data warehouse architecture
Data warehouse architecture Data warehouse architecture
Data warehouse architecture janani thirupathi
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)Ravinder Kamboj
 
Structure of the page table
Structure of the page tableStructure of the page table
Structure of the page tableduvvuru madhuri
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimizationUsman Tariq
 
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3Archive First: An Intelligent Data Archival Strategy, Part 1 of 3
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3Hitachi Vantara
 
Schemaless Databases
Schemaless DatabasesSchemaless Databases
Schemaless DatabasesDan Gunter
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...Simplilearn
 
Overview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesOverview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesMeghaj Mallick
 

What's hot (20)

introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
 
Data partitioning
Data partitioningData partitioning
Data partitioning
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Swapping | Computer Science
Swapping | Computer ScienceSwapping | Computer Science
Swapping | Computer Science
 
Introduction to column oriented databases
Introduction to column oriented databasesIntroduction to column oriented databases
Introduction to column oriented databases
 
DDBMS Paper with Solution
DDBMS Paper with SolutionDDBMS Paper with Solution
DDBMS Paper with Solution
 
Advanced DBMS presentation
Advanced DBMS presentationAdvanced DBMS presentation
Advanced DBMS presentation
 
Data warehouse architecture
Data warehouse architecture Data warehouse architecture
Data warehouse architecture
 
The CAP Theorem
The CAP Theorem The CAP Theorem
The CAP Theorem
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)
 
Structure of the page table
Structure of the page tableStructure of the page table
Structure of the page table
 
Active database system
Active database systemActive database system
Active database system
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3Archive First: An Intelligent Data Archival Strategy, Part 1 of 3
Archive First: An Intelligent Data Archival Strategy, Part 1 of 3
 
Schemaless Databases
Schemaless DatabasesSchemaless Databases
Schemaless Databases
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
 
Overview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesOverview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed Databases
 

Similar to Active and main memory database

CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)Dilawar Khan
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxMEGHANA508383
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)KavithaA19
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topichoseg78377
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptxSherinRappai
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)Abdullah Khosa
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdfbiswajit62002
 
Chapter 11 Enterprise Resource Planning System
Chapter 11 Enterprise Resource Planning SystemChapter 11 Enterprise Resource Planning System
Chapter 11 Enterprise Resource Planning SystemMuhammad Azmy
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notesUTSAHSINGH2
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxRamyaGr4
 
databas (2).pdf
databas (2).pdfdatabas (2).pdf
databas (2).pdfJanoakre
 

Similar to Active and main memory database (20)

Adbms and mmdbms
Adbms and mmdbmsAdbms and mmdbms
Adbms and mmdbms
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdf
 
Intoduction- Database Management System
Intoduction- Database Management SystemIntoduction- Database Management System
Intoduction- Database Management System
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
PHP/MySQL First Session Material
 
Chapter 11 Enterprise Resource Planning System
Chapter 11 Enterprise Resource Planning SystemChapter 11 Enterprise Resource Planning System
Chapter 11 Enterprise Resource Planning System
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
databas (2).pdf
databas (2).pdfdatabas (2).pdf
databas (2).pdf
 

More from District Administration (15)

Real time Database
Real time DatabaseReal time Database
Real time Database
 
Presentation on bipolar encoding
Presentation on bipolar encodingPresentation on bipolar encoding
Presentation on bipolar encoding
 
Transactional workflow
Transactional workflowTransactional workflow
Transactional workflow
 
Temporal database
Temporal databaseTemporal database
Temporal database
 
Multimedia Database
Multimedia DatabaseMultimedia Database
Multimedia Database
 
Spatial Database
Spatial DatabaseSpatial Database
Spatial Database
 
Presentations on web database
Presentations on web databasePresentations on web database
Presentations on web database
 
Presentation on the topic selection sort
Presentation on the topic selection sortPresentation on the topic selection sort
Presentation on the topic selection sort
 
Presentation on control access protocol
Presentation on control access protocolPresentation on control access protocol
Presentation on control access protocol
 
Transaction Processing monitor
Transaction Processing monitorTransaction Processing monitor
Transaction Processing monitor
 
Graphical database
Graphical databaseGraphical database
Graphical database
 
Graph database
Graph database Graph database
Graph database
 
Distributed information system
Distributed information systemDistributed information system
Distributed information system
 
Data mining
Data mining Data mining
Data mining
 
Heap
HeapHeap
Heap
 

Recently uploaded

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 

Active and main memory database

  • 1. ACTIVE AND MAIN MEMORY DATABASE By Preetam Rajkhowa Roll no 21 MCA 4th Semester CCS, DU
  • 2. CONTENTS • INTRODUCTION • DEFINITION • ADVANTAGES AND DISADVANTAGES • APPLICATIONS • CURRENT RESEARCH • FUTURE WORK • CONCLUSION • REFERRENCE
  • 3. INTRODUCTION ACTIVE DATABASE: Active database are database systems that supports mechanisms that enable them to respond automatically to events that are taking place either inside or outside the database system itself by supporting the specification and implementation of reactive behaviour. The reactive behaviour resides on rules which integrate cause with an expected effect. MAIN MEMORY DATABASE: Main Memory Database resides permanently in the Main Memory of the system. There is a backup copy of the database that is stored on the disk. It primarily relies on main memory for computer data storage and is contrasted with database management systems that employ a disk storage mechanism. It is also known as In Memory Database.
  • 4. DEFINITION OF ACTIVE DATABASE It is a type of database system that uses Event Driven Architecture often in the form of ECA rules which responds to conditions both inside and outside the database. They are invoked by synchronous events generated by user or application programs as well as external asynchronous data change events such as a change in sensor value or time.
  • 5. ACTIVE RULES/PRODUCTION RULES They are stored programs which are automatically triggered when an event occurs. Triggers can be written in response to Data Manipulation Language (DML) or Data Definition Language (DDL) or the Database Operations. The desired reactive behaviour is expressed in terms of Production Rules which are designed and stored in the Database. The benefit is that the rules can be shared by many application programs and the database can optimise their implementation.
  • 6. FEATURES OF ACTIVE DATABASE • It possess all the concepts of a conventional database i.e. data modelling facilities, query language etc. • It supports all the functions of a traditional database like data definition, data manipulation, storage management etc. • It supports definition and management of ECA rules. • It detects event occurrence. • It must be able to evaluate conditions and to execute actions. It means that it has to implement rule execution.
  • 7. DEFINITION OF MAIN MEMORY DATABASE Main Memory database is the database system that primarily relies on main memory for computer data storage. They are faster than disk-optimized databases because disk access is slower than memory access, the internal optimization are simpler and execute fewer CPU instructions.
  • 8. FEATURES OF MAIN MEMORY DATABASE • Data can be directly accessed and uses shared memory architecture. • There are no network overhead or data copies. • They are tightly coupled. • They are highly concurrent. • Fully ACID transactions.
  • 9. ADVANTAGES OF ACTIVE DATABASE • Active database systems enhance traditional database functionalities with powerful rule processing capabilities. • Triggers in active database enable a uniform and centralized description of the business rules relevant to system. • It facilities the maintenance of the business rules. • The layered approach is beneficial for active object oriented databases if the base system is in turn implemented in an object oriented way such that functionality to be written can be easily modified or wrapped.
  • 10. DISADVANTAGE OF ACTIVE DATABASE • Insufficient methodological support in design and analysis. • Lack of standardization. • Missing development and administration tools for triggers. • Weak performance. • Lack of support for application development.
  • 11. ADVANTAGE OF MAIN MEMORY DATABASE • It has direct access to data and uses shared memory architecture. • It is handwritten using atomic instructions. • It has fixed and variable size allocators. • Code segments which are performance critical are tightly coupled.
  • 12. DISADVANTAGES OF MAIN MEMORY DATABASE • They may not be cost effective. • There may be risk of data loss. • There is a limit in the database.
  • 13. APPLICATIONS OF ACTIVE DATABASE • Data monitoring activities such as Telecommunications Network Management, Program trading, Medical and Financial Decision Support etc. • Production control activities such as power plants. • Maintenance task activities e.g. inventory control systems. • Air traffic control, Computer interrogated manufacturing, Statistic gathering and authorization tools etc.
  • 14. APPLICATIONS OF MAIN MEMORY DATABASE • Used in real time embedded systems. • Manage the music databases in a MP3 player. • Programming data in set-top boxes, arithmetic trading and other financial applications. • E- Commerce and Social Networking sites.
  • 15. CURRENT RESEARCH OF ACTIVE DATABASES • A new condition called Petri Nets is proposed to approach the model and rules of ECA. It can integrate the rules and is also independent of the original database. • A study for concurrency control is going on for real time active database systems where they are exploring the dynamics of transaction processing for real time active databases. • A research for real time event control in active databases is being carried out.
  • 16. CURRENT RESEARCH OF MAIN MEMORY DATABASES • A research for the implementation techniques for Main Memory Databases is being carried out where evaluation of AVL vs B+ tree access methods for the said database is done.
  • 17. FUTURE WORK ON ACTIVE DATABASE • Research for new ECA rules. • Controlling data concurrency in real time.
  • 18. FUTURE WORK ON MAIN MEMORY DATABASE • Research for Disaster Recovery of the database. • Extension of the model for unstructured data structures. • Life cycle based data management is based on the semantics of different applications it is possible to specify if a single record is ever modifies again or remains read-only and thus allows different strategies for compression and partitioning.
  • 19. CONCLUSION • Active databases are those types of databases that have the mechanism to automatically respond to events in the system where as Main memory databases are the databases that reside permanently in main memory. • Active database includes an event driven architecture. Main memory database completely relies on main memory for computer data storage. • Most modern relational databases include active database in the form of database triggers. Main memory databases are quite faster.
  • 20. REFERRENCE • https://en.wikipedia.org/wiki/Active_database • https://en.wikipedia.org/wiki/In-memory_database • www.slideshare.net • Database System Concepts by Silberschatz−Korth−Sudarshan