2. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Scan Queries
Smart Block Transfer
Smart Storage
3. EXADATA Nedir ?
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
DB Server
DB Server
Oracle Linux 6
Oracle Database EE
Oracle VM (Opsiyonel)
Storage
Storage
Ak脹ll脹 DiskServer
Flash Storage Server
Storage Server Software
NETWORK (Cisco switch)
40Gb/s InfinitiBand
4. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Scan Queries
Smart Block Transfer
Smart Storage
5. I Software Architecture
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
CKPT
RECOSMON
PMON
DBWR PROCs LGWR
ASM
CELLSRVSSSMMS
RS
Cellinit.
ora
OS
Watcher
Alert.log
Database Buffer Cache Shared Pool Others
Exadata Cell Exadata Cell
Exadata Storage Server
6. II - Exadata Storage Servers (CELL)
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
7. II- Exadata Storage Servers (CELL)
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
ORACLE Linux
CELLSRV MS RS
Exadata CELL
Default OS Oracle Linux 6
CELLSRV Core Exadata Component
MS: Management Server
- Sistemsel Veri .
(聴statistik,alarm vb)
RS: Restart Server
- Start / Shutdown
iORM
8. II - Exadata Storage Servers (CELL)
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Physical
Disk
LUN
CELL
DiSK
GRiD
DiSK
CellCLI > Create GRIDDISK
1
2
3
5
4
ASM Disk GrupLinux OS
9. II - Exadata Storage Servers (CELL)
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
*** I/O Performance Rating
Yava
H脹zl脹
CellCLI> CREATE GRIDDISK ALL HARDDISK PREFIX=DATA_DG, size=500G
10. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Scan Queries
Smart Block Transfer
Smart Storage
11. Storage Index
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Cell Memoryde tutulur
Create / Drop / Tuning ilemleri olmaz
Query 巽al脹t脹脹nda otomatik oluur
Cell Reboot ileminde hepsi silinir
Ge巽erli olduu veri tipleri
- Number
- VarChar2
- Date
SQL 聴ndeks
Olutur
Analiz
SQL
Cell Disk
DB Server
Parametre Default Deer
_cell_storidx_mode EVA Kontrol Modu
_kcfis_storageidx_disabled FALSE A巽ma / Kapama
_kcfis_storageidx_diag_mode 0
Monitor ve Trace ilemleri
12. Storage Index
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Name Col1
HR 1
Finance 3
IT 5
Mng 8
Col0 Col1 Col2 Col3
1
3
5
5
5
5
3
1
Bloom Filter
MIN/MAX
*** Storage Indeks taraf脹ndan
memoryde tutulan alan
*** Storage Indeks taraf脹ndan d脹ar脹da
b脹rak脹lan alan
Dimension Fact
13. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Scan Queries
Smart Block Transfer
Smart Storage
14. Hybrid Columnar Compression
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Tablo / TS / Partition seviyesinde ilem yapar
DML ilemi az olan tablolara 旦nerilir
Disk performans脹 salar
Tablodaki kolonlar 端zerinden ilem yapar
Compression Unit yap脹s脹n脹 kullan脹r
COL 1 COL 2 COL 4ROW 1
COL 1 COL 2 COL 3ROW 2
COL 1 COL 2 COL 5ROW 3
COL 1 COL 2 COL 4ROW 1
COL 1 COL 2 COL 3ROW 2
COL 1 COL 2 COL 5ROW 3
Compression
Unit (CU)
15. Hybrid Columnar Compression
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Query Low
LZO algoritmas脹n脹 kullan脹r
CREATE TABLE ... COMPRESS FOR QUERY LOW;
Query High
ZLIB (gzip) algoritmas脹n脹 kullan脹r
CREATE TABLE ... COMPRESS FOR QUERY
HIGH;
Archive Low
ZLIB (gzip) algoritmas脹n脹 kullan脹r. Query HIGHtan dah 端st seviyedir
CREATE TABLE ... COMPRESS FOR ARCHIVE LOW;
Archive High
ZLIB (gzip) algoritmas脹n脹 kullan脹r
CREATE TABLE ... COMPRESS FOR ARCHIVE HIGH;
16. Hybrid Columnar Compression
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
15 GB boyutunda bir tablo kopyalayal脹m.
No Compression
create table tst.comp01 nologging parallel 8 as select /*+ parallel (a 8) */ * from proddta.tst a;
create table tst.comp01 nologging parallel 8 compress as select /*+ parallel (a 8) */ * from
proddta.tst a;
Basic Compression
OLTP Compression
create table tst.comp01 nologging parallel 8 compress for oltp as select /*+ parallel (a 8) */ * from
proddta.tst a;
17. Hybrid Columnar Compression
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
HCC Methodu ile.
Query LOW Compression
create table tst.comp01 nologging parallel 8 compress for query lowas select /*+ parallel (a 8)
*/ * from proddta.tst a;
Query High Compression
create table tst.comp01 nologging parallel 8 compress for query high as select /*+ parallel (a 8)
*/ * from proddta.tst a;
Archive LOW Compression
create table tst.comp01 nologging parallel 8 compress for archive lowas select /*+ parallel (a 8)
*/ * from proddta.tst a;
Archive High Compression
create table tst.comp01 nologging parallel 8 compress for archive high as select /*+ parallel (a
8) */ * from proddta.tst a;
18. Hybrid Columnar Compression
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Comp.
Method
Boyut Y端zde Zip Arch
No
compression
15.2 GB - - 42 sn
Basic 13,8 GB % 10,9 1dk 35 sn
OLTP 14.8 GB % 0,9 1dk 24 sn
Query Low 12.1 GB % 20,7 LZO 56 sn
Query High 7.7 GB % 47,3 ZL聴P 1dk 56 sn
Archive Low 7.6 GB % 47,5 ZL聴P 1dk 53 sn
Archive High 7.5 GB % 50,3 ZL聴P 8 dk 23 sn
*** CPU Time *** Non Update Data blok
19. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Scan Queries
Smart Block Transfer
Smart Storage
21. Smart Scan Queries
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Parametre Scope
cell_offload_process
SYSTEM / SESSION Alter system set
Opt_param_hint SQL Statement
select /*+ opt_param('cell
offload processing','true' */ ...
alter diskgroup set
attribute
ASM Disk Group
alter diskgroup [DG] set attribute
'cell.smart_scan_
capable'='[TRUE|FALSE]';
System
ASM
22. Smart Scan Queries
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
SYS@TSTDB> alter session set cell_offload_processing = false;
SYS@TSTDB> select count(*) from tst.sts where col1 < 0;
COUNT(*)
----------
2
1 row selected.
Elapsed: 00:00:51.09
SYS@TSTDB> alter session set cell_offload_processing = true;
SYS@TSTDB> select count(*) from tst.sts where col1 < 0;
COUNT(*)
----------
2
1 row selected.
Elapsed: 00:00:01.15
23. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Flash Cache
Smart Scan Queries
Smart Block Transfer
Smart Storage
24. Smart Block Transfer
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
SQL
* RGI (Right Growing Index)
*** Redo Log Buffer Wait
EXADATABefore EXADATA
SQL
*** I/O Wait
*** NO Redo Log Buffer Wait
*** NO I/O Wait
*** Throughput %40
*** Response Time %33
"_cache_fusion_pipelined_updates"=TRUE
25. Ajanda
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
Exadata Nedir ?
Exadata Mimarisi
Storage Cell Server
Storage Indexes
Hybrid Columnar Compression
Smart Flash Cache
Smart Scan Queries
Smart Block Transfer
Smart Storage
26. CELL
Smart Storage
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
x10
Predicate Filtering
SELECT * FROM v$sqlfn_metadata WHERE offloadable = 'YES'
Sadece istenilen sat脹rlar
Storage katman脹nda SQL filtreleme operat旦rlerinii destekler
Columnd Filtering
Sadece istenilen kolonlar
LOB vb kolonlar脹 ilemez.
I/O ve Bandwith performans脹 salar
Join Prosesessing
Bloom filtre kullan脹r **
Klasik Nested ve Hash Join yap脹s脹na g旦re
daha performansl脹
27. CELL
Smart Storage
www.ozgurumutvurgun.com
23 Aral脹k 2014
TROUG Day Ankara
x10
Scan on encripted Data
Decrypt -> Encrypt
Encrypt data 端zerinde filtreleme
Scoring for data mining
LOB vb kolonlar脹 ilemez.
CELL 端zerinde Datamining Modelleme bilgilerini tutar
CPU ve I/O performans
Extend Tablespace
CELL 端zerinde ilem yap脹l脹r
DB server 端zerinden bu ilem kalkar
I/O - CPU - Memory .. performans脹