There are two approaches used in algorithms to deals with the problems of concurrency control. These are:
• Pessimistic Approach
• Optimistic Approach [Read more…] about Concurrent Control Algorithms
What is Lock? Type of Lock in DBMS.
Transaction processing systems usually allow multiple transactions to run concurrently. By allowing multiple transactions to run concurrently will improve the performance of the system in terms of increased throughout or improved response time, but this allows causes several complications with consistency of the data. Ensuring consistency in spite of concurrent execution of transaction require extra work, which is performed by the concurrency controller system of DBMS. [Read more…] about What is Lock? Type of Lock in DBMS.
What is Transaction in DBMS? Explain Process,States and Properties of Transaction.
A transaction is a set of changes that must all be made together. It is a program unit whose execution mayor may not change the contents of a database. Transaction is executed as a single unit. If the database was in consistent state before a transaction, then after execution of the transaction also, the database must be in a consistent. For example, a transfer of money from one bank account to another requires two changes to the database both must succeed or fail together. [Read more…] about What is Transaction in DBMS? Explain Process,States and Properties of Transaction.
What is File Organizations? Types of File Organization.
It is used to determine an efficient file organization for each base relation. For example, if we want to retrieve student records in alphabetical order of name, sorting the file by student name is a good file organization. However, if we want to retrieve all students whose marks is in a certain range, a file ordered by student name would not be a good file organization. Some file organizations are efficient for bulk loading data into the database but inefficient for retrieve and other activities.
The objective of this selection is to choose an optimal file organization for each relation. [Read more…] about What is File Organizations? Types of File Organization.
What is Database Design Methodology? Different Phases of Design Methodology.
Designing of database is most important responsibility of the software professionals who are dealing with the database related projects. For this they follow the Design Methodology. It helps the designer to plan, manage, control, and evaluate database development projects. [Read more…] about What is Database Design Methodology? Different Phases of Design Methodology.
Second Normal Form (2NF)
Definition of second normal form is:
A relation R is in second normal form (2NF) if and only if it is in INF and very non-key attribute is fully dependent on the primary key. [Read more…] about Second Normal Form (2NF)
Fourth Normal Form (4NF)
A relation R is in Fourth Normal Form (4NF) if and only if the following conditions are satisfied simultaneously:
R is already in 3NF or BCNF.
If it contains no multi-valued dependencies. [Read more…] about Fourth Normal Form (4NF)
Fifth Normal Form(5NF)
A relation R is in Fifth Normal Form (5NF) if and only if the following conditions are satisfied simultaneously:
1. R is already in 4NF.
2. It cannot be further non-loss decomposed.
5NF is of little practical use to the database designer, but it is of interest from a theoretical point of view and a discussion of it is included here to complete the picture of the further normal forms. [Read more…] about Fifth Normal Form(5NF)
What is Denormalization
Denormalization is the process of attempting to optimize the performance of a database by adding redundant data or by grouping data. In some cases, denormalization helps cover up the inefficiencies inherent in relational database software. A relational normalized database imposes a heavy access load over physical storage of data even if it is well tuned for high performance. [Read more…] about What is Denormalization
Boyce-Codd Normal Form (BCNF)
To eliminate these anomalies in 3NF relations, it is necessary to carry out the normalization process to the next higher step, the Boyce-Codd Normal Form.
BCNF is simply a stronger definition of 3NF. Since BCNF is higher form of 3NF, so a relation in BCNF must be in 3NF. BCNF makes no explicit reference to first and second normal form as such, nor the concept of full and transitive dependence. [Read more…] about Boyce-Codd Normal Form (BCNF)
Third Normal Form (3NF)
A relation R is in Third Normal Form (3NF) if and only if the following conditions are satisfied simultaneously:
1. R is already in 2NF
2. No nonprime attribute is transitively dependent on the key.
Another way of expressing the conditions for Third Normal Form is as follows:
1. R is already in 2NF
2. No nonprime attribute functionally determines any other nonprime attribute.
These two sets of conditions are equivalent. [Read more…] about Third Normal Form (3NF)
First Normal Form (1NF)
A relation is said to be in First Normal Form (lNF) if and only if every entry of the relation (the intersection of a tuple and a column) has at most a single value. In other words “a relation is in First Normal Form if and only if all underlying domains contain atomic values or single value only.” [Read more…] about First Normal Form (1NF)
What is Relational Calculus
We have already seen relational algebra is a procedural language, in which user has to write the steps or procedure to obtain the required results but in general a user should not have to be concerned with the details of how to obtain information. In relational calculus user is not concerned with the procedure to obtain the results, he/she just tell his/her requirements and the output is available without knowing the method about its retrieval. [Read more…] about What is Relational Calculus
Types of Relational Operators
Relational operators are classified into two types:
• Traditional Set Operators
• Special Operators [Read more…] about Types of Relational Operators
What are Relational Algebra and Relational Calculus?
Relational Algebra is a procedural language that can be used to tell the DBMS how to build a new relation from one or more relations in the database and the Relational Calculus is a non-procedural language that can be used to formulate the definition of a relation in terms of one or more database relations. [Read more…] about What are Relational Algebra and Relational Calculus?
What is Key? Type of Key.
What is Key?
A database consists of tables, which consist of records, which further consist of fields.
This below figure provides an example of a typical table consisting of STUDENT details: [Read more…] about What is Key? Type of Key.
What are the CODD’S Rules in RDBMS ?
Dr. E.F. Codd, the founder of the relational database systems, framed twelve rules to assist a database product to qualify as relational. An RDBMS product has to satisfy at least six of the 12 rules of Codd to be accepted as a full-fledged RDBMS. There is no RDBMS package commercially available that satisfies all the 12 rules. These rules are: [Read more…] about What are the CODD’S Rules in RDBMS ?
What are the RDBMS Components?
More precisely, the relational model is concerned with three components: Data Structure,Data Integrity,Data Manipulation [Read more…] about What are the RDBMS Components?