Showing posts with label offloading. Show all posts
Showing posts with label offloading. Show all posts

Monday, July 27, 2015

Will offlloading work for OLTP-compressed tables ?


If you create OLTP- or BASIC-compressed table and run count(*) on it using
cell_offload_processing = TRUE or FALSE
there is no difference in time between runs.

If you look to this query via OEM 12c it shows no offloading in SQL Monitoring page.
But if you add WHERE clause to your query, then SQL Monitoring will show offloading and query's time become much less.

Latest documentation of June 2015 talk foggy about BASIC and OLTP compression:


" Predicate evaluation is not offloaded to Oracle Exadata Storage Server in the following cases:

 "
 Oracle® Exadata Storage Server Software User's Guide
12c Release 1 (12.1)
E50471-14, page 7-58

I completely don't understand should offloading work for Basic ans OLTP compressed tables or not.

So we did the research.
As you know, the offloading (smart scan) has 3 sides:
- Projection (return only selected columns)
- Filtering (return only rows according WHERE clause)
- Storage Index (exclude some extents from IO)

And our results are:
------------ ---------- --------- ------------
Table Type  Projection Filtering Storage Index
------------ ---------- --------- ------------
No Compress      +        +          +
Basic            -        +          +
OLTP             -        +          +
HCC              +        +          +
------------ ---------- --------- ------------

Wednesday, December 17, 2014

Exadata: Shared Server Connect Prevents Offloading To Storage Cells (Doc ID 1472538.1)

Interesting article:
no offloading (aka Smart Scan) is performed for sessions connected via Shared Server.
Because such sessions cannot use DirectRead which is required for offloading.
In is not a bug, it is a feature.





Wednesday, March 5, 2014

Is CREATE INDEX smart-scanable ?

The answer is YES !
Look:



set timing on
CREATE UNIQUE INDEX "DW_STG"."UK#CALLS_00" ON "DW_STG"."CALLS_00" ("CALL_ID")   PCTFREE 0 INITRANS 24 MAXTRANS 255 PARALLEL 64  ;




You can see the column "Cell Offloading" = 95%

# ocrconfig -add +DATA PROT-30: The Oracle Cluster Registry location to be added is not usable. PROC-50: The Oracle Cluster Registry locatio...