Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, santhoshreddy.

Asked: November 17, 2016 - 4:40 am UTC

Last updated: November 18, 2016 - 4:12 am UTC

Version: 11g

Viewed 1000+ times

You Asked

Hi,

I would like to know the difference Between Optimizer,SQL Engine and PL/SQL Engine?
I asked this question So many times But I did not get answers from you.

Thank you

and Connor said...

"I asked this question So many times"


No, you didnt ask that... You've asked things like:

"If Oracle is a Big C program There Must be a compiler to compile the c program? and also i want to know what are this first native compilation and plsql engine sql engine. "

"Do we have any components like compiler,interpreter and assebler,jit(we have them in programing languages to check data and convert data into machine language for computer understanding)?"

"If not there any component like that how data can be handled by computer which we call as server? "


But anyway....

SQL engine - the part of the database kernel that processes a SQL statement submitted by you (or a program).

Optimizer - part of the SQL engine. Works out the way we will execute a SQL statement (eg by index, or full table scan) based on a costing algorithm that assigns a resource cost to each possible way of running a SQL statement.

PL/SQL engine - the part of the database kernel that allows a PLSQL, ie, 3GL like program to run on the database server. PLSQL, like any other program, can also issue SQL statements - these will be passed to the SQL engine for processing.

Rating

  (3 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

A reader, November 17, 2016 - 10:05 am UTC


A reader, November 17, 2016 - 10:11 am UTC

I am Sorry for that Conor And Thank you for your answers.You said Engine is a part of Data base Kernal,Actually i know OS Kernal but i never heard DataBase Kernal and Also I did not find any explanation on internet.
Connor McDonald
November 18, 2016 - 4:12 am UTC

glad we could help

docs.oracle.com

paul, November 17, 2016 - 5:50 pm UTC

The Oracle documentation covers all of this.

https://docs.oracle.com/database/121/CNCPT/intro.htm#CNCPT88781


[..]
Database Management System (DBMS)
A database management system (DBMS) is software that controls the storage, organization, and retrieval of data.

Typically, a DBMS has the following elements:

Kernel code

This code manages memory and storage for the DBMS.

Repository of metadata

This repository is usually called a data dictionary.

Query language

This language enables applications to access the data.
[..]

More to Explore

Performance

Get all the information about database performance in the Database Performance guide.