Active Database is a database consisting of set of triggers. These databases are very difficult to be maintained because of the complexity that arises in understanding the effect of these triggers. In such database, DBMS initially verifies whether the particular trigger specified in the statement that modifies the database) is activated or not, prior to executing the statement.
If the trigger is active then DBMS executes the condition part and then executes the action part only if the specified condition is evaluated to true. It is possible to activate more than one trigger within a single statement.
In such situation, DBMS processes each of the trigger randomly. The execution of an action part of a trigger may either activate other triggers or the same trigger that Initialized this action. Such types of trigger that activates itself is called as ‘recursive trigger’. The DBMS executes such chains of trigger in some pre-defined manner but it effects the concept of understanding.

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.
Advantages :
- Enhances traditional database functionalities with powerful rule processing capabilities.
- Enable a uniform and centralized description of the business rules relevant to the information system.
- Avoids redundancy of checking and repair operations.
- Suitable platform for building large and efficient knowledge base and expert systems.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
Recommended Posts:
- Denormalization in Databases
- Indexing in Databases | Set 1
- Types of Databases
- Concepts of Distributed databases
- Introduction to Graph Databases
- Primary Indexing in Databases
- Clausal Form in Deductive Databases
- Horizontal and Vertical Scaling In Databases
- How to Store and Extract XML Documents from Databases
- Horn Clauses in Deductive Databases
- Difference between Network and Relational data model
- Various types of Backup
- Self Join and Cross Join in MS SQL Server
- Delete statement in MS SQL Server
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

