Query Optimization

Query optimization

Query optimization is the central activity during the passing phases in query.

In this phase the DBMS most choose what incidences to use, how to perform join operation what tables to use first & so on.

Each DBMS has its own algorithm for determining the most efficient way to access the data.

The query optimizer can be operate in one of two models

  1. Rule based optimizer and
  2. Cost based optimizer.
1. Rule based optimizer :

It uses present rules and points to determine the approach to execute a query.

2.Cost  based optimizer :

It use some optimizer based on statistics about the object being accessed to determine the best approach to execute query. In this case the optimizer process adds processing cost the I/o cost & the resource cost (RAM & memory)

Related

Write about Concurrency Control ?

The coordination of the simultaneous execution of transactions in a multi user data base system is known as concurrency control. the objective of concurrency control is to...

Explain Concurrency Control with Time Stamping and Optimistic Methods.?

Time Stamping : The order in which the transaction enter in to the data base. The time stamp approach to scheduling concurrent transaction & assigns a unique time –...

What is Transaction & Transaction log also Explain Transaction Properties or ACID Properties ?

Transaction: A transaction is a logical unit of work that must be entirely completed or entirely aborted no intermediate states are accepted. To understand the transact...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item