Important Database questions for Specialist Officers (IBPS & SBI) - Part 2

October 19, 2016    

database
Hello Aspirants, 
We're continuing with important questions on Database for specialist officers (SBI & IBPS). Feel free to share your feedback and doubts in comments section. 

Indexing and its different kinds?

Indexing is a technique by which specific data can be retrieved quickly. They can also be created to enforce uniqueness and to facilitate sorting. Its different kinds are as follows:
  • Binary Search - In this the target value is compared to the middle element in an array. The half in which value is not found is discarded and middle element of remaining half is compared again until the value is successfully found. 
  • B Tree - In B-Tree, internal nodes can have variable no. of child nodes. Any insertion or deletion of data changes the no. of child nodes. Each internal node has a no. of keys. E.g. If there are 3 internal nodes with keys X & Y, left subtree will have values less than X, middle would have values between X & Y and right sub tree would have values greater than Y. 
  • Inverted Index - Unlike regular index as in books which maps pages to topics, Inverted index consists of a list of unique words that appear in a document and for each word, a list of documents in which it appears. It is used for full text searches like in search engines. 
  • Database Index - You can create an index on a field in table which will have field value and a pointer to record it is related to. These indexes need additional storage space. 
  • BitMap Index - Typically used in Oracle databases, it is used for columns having low distinct values. Eg. Column called SEX  which will have only 2 values - Male & Female. 

What is a Phantom Deadlock?

In distributed systems, these are the deadlocks that are falsely detected due to delay in propagating local information. They don't actually exist and lead to unnecessary aborts.

What is cold back up & hot back up (in Oracle)?

  • Cold Backup - During cold backup, database is not running & not available to users. Hence, there is no change in the data files during back up and DB is in sync when restored. 
  • Hot Backup - Database remains open and available to users. Hence there may be changes and upon restore, changes in log files are re-applied to bring DB in sync.

Difference between an exclusive lock & a shared lock?

Exclusive lock - It prohibits other users from reading the locked resource. 
Shared lock - It allows other users to read the locked resource without updating it. 

What is market basket analysis?

Its a data mining technique which predicts the sets of products to be purchased together. It is based on conditional probability.

What are Save points in Oracle?

SAVE POINTS can be used to divide a transaction into smaller parts and we can rollback only these part without having to roll back the whole transactions. Maximum of 5 SAVE POINTS are allowed. 

What are snap shots in Oracle DB?

These are read only copies of master data maintained at a remote site and are periodically refreshed to reflect changes made in the master data. 

Gk fact of the day

The first internet search engine was called 'Archie' created in 1990. 
Join 40,000+ readers and get free notes in your email

Let's block ads! (Why?)



Important Database questions for Specialist Officers (IBPS & SBI) - Part 2 4.5 5 Yateendra sahu October 19, 2016 Hello Aspirants,  We're continuing with important questions on Database for specialist officers (SBI & IBPS). Feel free to share ...


Related Post:

  • National Skill Development Mission (NSDM): Explained
    Introduction NSDM was developed to converge skill training in various sectors  NSDM will cover all the states of India  Expedite decision making in sectors through coordinated and skilling efforts  About NSDM Union Cabinet approv… Read More
  • Nagar Uday Scheme: All You Need To Know
    INTRODUCTON: The Madhya Pradesh Government launched a new scheme named “Nagar Uday Abhijan” 2016 on 25th December, 2016, the birthday of former Prime Minister Atal Bihari Vajpayee in all 378 urban bodies in the state. This scheme was launched by… Read More
  • Employee Provident Fund and Miscellaneous Provisions Act, 1952
    Introduction The objective of this act is to provide substantial security and timely monetary assistance to the employer and their family members. This act covers all the state of India except Jammu and Kashmir. It applies to any factory or a… Read More
  • TransUnion CIBIL Limited: Everything You Must Know
    Introduction "CIBIL" stands for 'Credit Information Bureau India Limited'. "CIBIL" now known as 'TransUnion CIBIL Limited'. It is India's first Credit Information Company(CIC). It was founded in August 2000. Basically, CIBIL collects and main… Read More
  • GK Digest January 2017 - Download PDF
    GK Digest for the month of January is available to download now. Number of Pages - 120 Format - PDF Smart Prep Kit by Ramandeep Singh - Get here Bank Exams Today Notes Join 40,000+ readers and get free notes in your email This article pa… Read More
Load comments

No comments:

Post a Comment