One stop guide to computer science students for solved questions, Notes, tutorials, solved exercises, online quizzes, MCQs and more on DBMS, Advanced DBMS, Data Structures, Operating Systems, Machine learning, Natural Language Processing etc.
TOPICS (Click to Navigate)
▼
Pages
▼
Wednesday, October 15, 2014
Strengths and weaknesses of trigger mechanisms
Strengths and Weaknesses of Triggers / Advantages and Disadvantages of using Triggers / Merits and Demerits of Trigger mechanisms
Strengths and Weaknesses of Triggers /
Trigger mechanisms
Strengths
Used for enforcing referential
integrity.
Easy to implement business rules
through triggers.
Event logging is easier.
It can control transactions hence lead
to safer transactions.
Consistency is maintained.
Efficiency in performing transactions.
Cascading referential integrity.
Implicitly called for actions during
database changes. Very much helpful in a case where many changes need to be
done on different tables for a single action.
Weaknesses
Triggers should be written with extra
care. Trigger error may lead to failure of insert, delete, or update operations
at runtime.
Excessive use of triggers can result
in complex interdependencies. For example, cascading triggers can induce chain
of actions.
Increased complexity.
May decrease the performance of the
database.
Every time a trigger is fired, its
code must be recompiled.
Database triggers can be accidentally
disabled or dropped by a person with sufficient privilege.
The hidden nature of triggers is
another important weakness.
Extraordinary Blog.... It looks more creative... Thanks for sharing wit us...
ReplyDeleteDigital Marketing Course in Chennai
Digital Marketing Course
digital marketing training institute in chennai
Digital Marketing Training in Chennai
Digital marketing course in Velachery
Digital marketing course in Adyar
Python Training in Chennai
Software testing training in chennai
JAVA Training in Chennai