Site icon IT Tutorial

Smart Scan ( Cell Offloading ) in Exadata | Magic Feature of Oracle Exadata

Hi,

I will explain Smart Scan which is magic feature of Oracle Exadata in this article.

 

Before this post, If you don’t know What is the Exadata and want to learn, you can read following Exadata Tutorials.

 

 

Exadata Smart Scan feature allows most of the SQL processing to execute in the storage server instead of the database Server, which dramatically improves your query performance. Because Smart Scan reduces the volume of data sent to the database server and reduce CPU usage on database server.

I think that biggest difference of Exadata from non-exadata is Smart Scan, which is called Smart Data Find with Smart Scan feature. The architecture of Exadata Smart Scan can be specified as follows.

 

Queries are executed like above and following steps are performed in the Exadata.

  1. Query is executed by the client.
  2. Smart Scan constructed and Query is sent from database server to the Storage Server.
  3. Smart scan identifies rows and columns withing terabyte data that match request.
  4. Only related data returned to Storage server.
  5. Consolidated result set built from all exadata cells.
  6. Finally, related rows are returned to the client.

 

Smart Scan has the following capabilities.

 

         SQL> SELECT eno,ename,sal,dept_no FROM emp;

 

Smart Scan does not support the following operations

 

Following features must be set in the available disk groups for Smart Scan to run properly.

 

In addition, the following parameters have the effect and control on Smart Scan.

 

You can query If a smart scan is used or not while a query is running as follows.

SQL> EXPLAIN PLAN FOR SELECT * FROM EMP WHERE SAL > 20000;

SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);

 

When I execute any query without Smart Scan feature like following, it takes about 2:25 minutes.

 

 

 

But When I execute any query with Smart Scan feature like following, it takes about 1 second.

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

Exit mobile version