Skip to main content

Database/DBMS Interview Questions And Answers - Part 2.



6) What Is Parallel & Distributed Database? Differentiate Them.

Answer: A Parallel database is a database that can do multiple tasks in parallel; allowing the database to make use of multiple CPU cores and multiple disks that are standard for modern database servers. However, all CPU cores can directly address all disks in a parallel database.

A Distributed database is a database where data is distributed across multiple hosts. However, the CPUs of a given host can only directly address a subset of the disks, namely only those disks that are on that host.


DIFFERENCES BETWEEN THE TWO ARE:
  • In case of Parallel Database, Machines are close to each other (For Example Same Server Room Or Floor) where as in case of Distributed database, Machines are far from each other (For example In Different Countries or Continents)
  • For parallel database, Machines are usually connected with dedicated high speed LAN's and switches, where as in case of Distributed database, Machines are connected using Public Purpose network, say Internet.
  • In case of Parallel database, Communication Cost is assumed to be small, whereas Communication Cost & Problems cannot be ignored for Distributed Database.

EXAMPLE:

Parallel Database: Say executing a project by a single person takes 10 days’ time (Sequential Processing of a Large Task) but if the same project is distributed to 10 individual in the project it might get completed in 2-3 days (parallel processing).

Distributed Database: Such database make sense where data is too large. Say Bank with many branches, Chain of retail stores with many locations and Library with many branches.


7) Differentiate Between File-Oriented System & Database System?

Answer: Differences between file oriented system and database systems are:
  • File system is a collection of data. Any management with the file system, user has to write the procedures whereas DBMS is a collection of data and user is not required to write the procedures for managing the database.
  • File system gives the details of the data representation and Storage of data whereas DBMS provides an abstract view of data that hides the details.
  • In File system storing and retrieving of data cannot be done efficiently whereas DBMS is efficient to use since there are wide varieties of sophisticated techniques to store and retrieve the data.
  • Concurrent access to the data in the file system has many problems like Reading the file while other deleting some information, updating some information whereas DBMS takes care of Concurrent access using some form of locking.
  • File system doesn’t provide crash recovery mechanism e.g. While we are entering some data into the file if System crashes then content of the file is lost whereas DBMS has crash recovery mechanism, DBMS protects user from the effects of system failures.
  • Protecting a file under file system is very difficult whereas DBMS has a good protection mechanism.


8) What Are The Applications Of Databases?

Answer:
  • Banking Systems that keep information about customers and their account (large databases, real time response to some queries, peak periods for transactions).
  • Point of sales systems in shops that process purchase of goods.
  • Reservation systems for booking railway ticket, airline flights and other travel, seats at the theatre or cinema, etc.
  • Inventory systems ranging from books in a library to the stock in a furniture shop or car showroom.
  • Accounting systems that produce bills, statements, orders, invoices, etc.
  • Payroll systems that process salaries and benefits.


9) What Is The Importance Of Databases?

Answer:
  • It helps make data management more efficient and effective.
  • It's query language allows quick answers to ad hoc queries.
  • It provides end users better access to more and better managed data.
  • It promotes an integrated view of organization's operations -- "Big Picture".
  • It reduces the probability of inconsistent data.


10) What Is DBMS & RDBMS?

Answer:  A database management system (DBMS) is, well, a system used to manage databases. A relational database management system (RDBMS) is a database management system used to manage relational databases. A relational database is one where tables of data can have relationships based on primary and foreign keys.


ALSO CHECK THE BELOW FAQ's:

11) What Are The Three Types Of Users In DBMS?
12) What Are The Disadvantages Of Database System?
13) Describe The Three Levels Of Data Abstraction?
14) Discuss About External/ View/Individual Level Of The Architecture?
15) Discuss About Logical/ Conceptual Level Of The Architecture?


16) Discuss About Internal/Physical/Storage Level Of The Architecture?
17) What Is Data Independence?
18) What Is Physical Data Independence?
19) What Is Logical Data Independence?
20) What Is A Data Model? What Are The Types Of Data Model?

... Return To DBMS FAQ's Main Page.

... Return To HR Interview Questions With Answers Main Page.

Comments

Popular posts from this blog

Tell Me Something About Yourself - Interview Answers.

Try to introduce some of your most important employment-oriented skills as well as your education and accomplishments to the interviewer. Answer to this question is very important because it positions you for the rest of the interview . That's why this statement is often called the "Positioning Statement". One should take the opportunity to show his/her communication skills by speaking clearly and concisely in an organized manner. Since there is no right or wrong answer for this question hence it is important to appear friendly. YOUR ANSWERS CAN BE: 1) I am a person with strong interpersonal skills and have the ability to get along well with people . I enjoy challenges and looking for creative solutions to problems. 2) Besides the details given in my resume, I believe in character values, vision and action. I am quick in learning from mistakes. I am confident that the various tests that you have conducted will corroborate my competencies apti...

What Is (Are) Your Weakness (Weaknesses)? - Interview Answers

There’s a saying – “However small the thorn maybe it has the ability to pierce.” Never say you are a Workaholic, a Perfectionist, etc. because it sounds negative. Try to convert these negative biased qualities into positive ones. For Example, In   place of Workaholic you can say you are a hard worker and always willing to work for extra hours. In place of Perfectionist , you can say you are detail oriented and like to set high standard for work. “Try to specify your weakness as your strength and also highlight it as a benefit.” Your answers can be: 1) One of my weaknesses as I perceive is occasional compromise on time for quality and perfection. 2) I feel I am not very detail-oriented . I’m a person that wants accomplish as much as possible. I realized this hurts quality and therefore I‘m trying hard to find a balance between quality and quantity. 3) At times even when I need help, I try to solve my own problems instead of asking a co-worker who might know...

What Is (Are) Your Strengths? - Interview Answers

This is a simple and popular interview question. Generally people answer it in two ways. There are people who simply state their strength like “I am Young, Dynamic, Intelligent, Smart and so on…”. Such answer is neither right nor wrong but does not help u in any way also. Secondly there are peoples who state their strengths and explain them how he can use his strength for the job and industry. Do not simply state your strength. Everyone has some strength, all you need is to convert them into benefits. In short, try to advertise yourself by converting your features into strengths. “EVERYONE CLAIM THEY ARE HONEST, HARDWORKING, SMART AND SO ON….. BUT WITH AN EXAMPLE IT IS MUCH MORE BELIEVABLE.” Your answers can be : 1) I am a hard worker and because of this ability I can work for additional hours to accomplish my tasks.I am commitment oriented and hence I always enjoy the trust and confidence of my team mates which enables me to perform my duties very easily. 2) I am a...