Browsed by
Tag: FAQ for Database Management System

When does checkpoint occur in DBMS?

When does checkpoint occur in DBMS?

A checkpoint is like a snapshot of the DBMS state. Using checkpoints, the DBMS can reduce the amount of work to be done during a restart in the event of subsequent crashes. Checkpoints are used for the recovery of the database after the system crash. Checkpoints are used in the log-based recovery system. When due to a system crash we need to restart the system then at that point we use checkpoints. So that, we don’t have to perform the…

Read More Read More

What is Relational Calculus?

What is Relational Calculus?

Relational Calculus is a Non-procedural Query Language which uses mathematical predicate calculus instead of algebra. Relational calculus doesn’t work on mathematics fundamentals such as algebra, differential, integration, etc. That’s why it is also known as predicate calculus. There is two type of relational calculus: Tuple relational calculus Domain relational calculus Relational calculus is a theoretical framework within relational database management systems (RDBMS) used to describe queries declaratively. It’s a non-procedural language that focuses on what data to retrieve rather than…

Read More Read More

What is Data Independence?

What is Data Independence?

Data independence specifies that “the application is independent of the storage structure and access strategy of data.” It makes you able to modify the schema definition at one level without altering the schema definition in the next higher level. It makes you able to modify the schema definition in one level should not affect the schema definition in the next higher level. There are two types of Data Independence: Physical Data Independence: Physical data is the data stored in the…

Read More Read More

DBMS Interview Questions – Set 01

DBMS Interview Questions – Set 01

Introduction to RDBMS Introduction Data is meaningful information. Database is a collection of relevant data. DBMS means database management system. DBMS provides the software to manage the database. Following are the operations to be performed on database: insertion, deletion, updation, sorting, searching, traversing, etc. Following are the different types of DBMS: FMS, Hierarchical, DBMS FMS (File Management System) It is simple to create but difficult to manage. No relations are there (like 1-to-1, 1-to-many) Hierarchical System Here data is stored…

Read More Read More

What is the difference between “HAVING” and “WHERE” clause

What is the difference between “HAVING” and “WHERE” clause

“HAVING” clause is used to specify filtering criteria for “GROUP BY”, while “WHERE” clause applies on normal SQL. The “WHERE” and “HAVING” clauses in a database management system (DBMS) both filter data, but they operate at different stages of the query process and are used for different purposes. WHERE Clause: The “WHERE” clause is used to filter rows before any groupings are made. It is used with the “SELECT”, “UPDATE”, and “DELETE” statements to specify the conditions that must be…

Read More Read More

What do you mean by transparent DBMS?

What do you mean by transparent DBMS?

The transparent DBMS is a type of DBMS which keeps its physical structure hidden from users. Physical structure or physical storage structure implies to the memory manager of the DBMS, and it describes how the data stored on disk. A transparent DBMS (Database Management System) is one that provides a seamless interface to users and applications, hiding the complexities of data storage, retrieval, and management. In other words, users interact with the database system as if it were a single…

Read More Read More

What do you understand by query optimization?

What do you understand by query optimization?

The term query optimization specifies an efficient execution plan for evaluating a query that has the least estimated cost. The concept of query optimization came into the frame when there were a number of methods, and algorithms existed for the same task then the question arose that which one is more efficient and the process of determining the efficient way is known as query optimization. There are many benefits of query optimization: It reduces the time and space complexity. More…

Read More Read More

What is Join?

What is Join?

he Join operation is one of the most useful activities in relational algebra. It is most commonly used way to combine information from two or more relations. A Join is always performed on the basis of the same or related column. Most complex queries of SQL involve JOIN command. There are following types of join: Inner joins: Inner join is of 3 categories. They are: Theta join Natural join Equi join Outer joins: Outer join have three types. They are:…

Read More Read More

DBMS Interview Questions – Set 02

DBMS Interview Questions – Set 02

Can you explain the SELECT INTO Statement SELECT INTO statement is used mostly to create backups. The below SQL backsup the Employee table in to the EmployeeBackUp table. One point to be noted is that the structure of pcdsEmployeeBackup and pcdsEmployee table should be same. SELECT * INTO pcdsEmployeeBackup FROM pcdsEmployee What is SQL SQL stands for Structured Query Language.SQL is an ANSI (American National Standards Institute) standard computer language for accessing and manipulating database systems. SQL statements are used…

Read More Read More

Compare Data mining and Data Warehousing

Compare Data mining and Data Warehousing

Data Warehousing” is technical process where we are making our data centralized while “Data mining” is more of business activity which will analyze how good your business is doing or predict how it will do in the future coming times using the current data. As said before “Data Warehousing” is not a need for “Data mining”. It’s good if you are doing “Data mining” on a “Data Warehouse” rather than on an actual production database. “Data Warehousing” is essential when…

Read More Read More