Query
Query
INTRODUCTION
Scanning, parsing
Query optimizer
Execution plan
Query processor
Result of query
Architecture
Rewriter
Rewriting stage (declarative)
Algebraic space
Cost model
Planner
Method-structure
Size-distribution
space
Estimator
TYPE OF QUERY OPTIMIZATION
Sort Marge join also known by Marge join and use in the
Generally, the query optimizer cannot be accessed directly by users: once queries
are submitted to database server, and parsed by the parser, they are then passed
to the query optimizer where optimization occurs. However, some database
engines allow guiding the query optimizer with hints.
OLTP cannot store historical information
about the organization. It is used for
storing the details of daily transactions
while a datawarehouse is a huge storage
of historical information obtained from
different datamarts for making intelligent
decisions about the organization.
Deference