Docsity

ACID and RDBMS (Definition), Summaries of Relational Database Management Systems (RDBMS)

Toggle sidebar
bg1
ACID properties and RDBMS
Four crucial properties define relational database transactions: atomicity,
consistency, isolation, and durability—typically referred to as ACID.
Atomicity defines all the elements that make up a complete database
transaction.
Consistency defines the rules for maintaining data points in a correct state
after a transaction.
Isolation keeps the effect of a transaction invisible to others until it is
committed, to avoid confusion.
Durability ensures that data changes become permanent once the
transaction is committed.
Stored procedures and relational databases
Data access involves many repetitive actions. For example, a simple query to
get information from a data table may need to be repeated hundreds or
thousands of times to produce the desired result. These data access functions
require some type of code to access the database. Application developers don’t
want to write new code for these functions in each new application. Luckily,
relational databases allow stored procedures, which are blocks of code that can
be accessed with a simple application call. For example, a single stored
procedure can provide consistent record tagging for users of multiple
applications. Stored procedures can also help developers ensure that certain data
functions in the application are implemented in a specific way.
Database locking and concurrency
Conflicts can arise in a database when multiple users or applications attempt to
change the same data at the same time. Locking and concurrency techniques
reduce the potential for conflicts while maintaining the integrity of the data.
Locking prevents other users and applications from accessing data while it is
being updated. In some databases, locking applies to the entire table, which
creates a negative impact on application performance. Other databases, such as
Oracle relational databases, apply locks at the record level, leaving the other
records within the table available, helping ensure better application
performance.
pf2

Partial preview of the text

Download ACID and RDBMS (Definition) and more Summaries Relational Database Management Systems (RDBMS) in PDF only on Docsity!

ACID properties and RDBMS

Four crucial properties define relational database transactions: atomicity, consistency, isolation, and durability—typically referred to as ACID.  Atomicity defines all the elements that make up a complete database transaction.  Consistency defines the rules for maintaining data points in a correct state after a transaction.  Isolation keeps the effect of a transaction invisible to others until it is committed, to avoid confusion.  Durability ensures that data changes become permanent once the transaction is committed.

Stored procedures and relational databases

Data access involves many repetitive actions. For example, a simple query to get information from a data table may need to be repeated hundreds or thousands of times to produce the desired result. These data access functions require some type of code to access the database. Application developers don’t want to write new code for these functions in each new application. Luckily, relational databases allow stored procedures, which are blocks of code that can be accessed with a simple application call. For example, a single stored procedure can provide consistent record tagging for users of multiple applications. Stored procedures can also help developers ensure that certain data functions in the application are implemented in a specific way.

Database locking and concurrency

Conflicts can arise in a database when multiple users or applications attempt to change the same data at the same time. Locking and concurrency techniques reduce the potential for conflicts while maintaining the integrity of the data. Locking prevents other users and applications from accessing data while it is being updated. In some databases, locking applies to the entire table, which creates a negative impact on application performance. Other databases, such as Oracle relational databases, apply locks at the record level, leaving the other records within the table available, helping ensure better application performance.

Concurrency manages the activity when multiple users or applications invoke queries at the same time on the same database. This capability provides the right access to users and applications according to policies defined for data control.

RDBMS (Relational Database Management System)

The software used to store, manage, query, and retrieve data stored in a relational database is called a relational database management system (RDBMS). The RDBMS provides an interface between users and applications and the database, as well as administrative functions for managing data storage, access, and performance. Several factors can guide your decision when choosing among database types and relational database products. The RDBMS you choose will depend on your business needs.  What are our data accuracy requirements? Will data storage and accuracy rely on business logic? Does our data have stringent requirements for accuracy (for example, financial data and government reports)?  Do we need scalability? What is the scale of the data to be managed, and what is its anticipated growth? Will the database model need to support mirrored database copies (as separate instances) for scalability? If so, can it maintain data consistency across those instances?  How important is concurrency? Will multiple users and applications need simultaneous data access? Does the database software support concurrency while protecting the data?  What are our performance and reliability needs? Do we need a high- performance, high-reliability product? What are the requirements for query-response performance? What are the vendor’s commitments for service level agreements (SLAs) or unplanned downtime?