Professional Documents
Culture Documents
Deck PDF
Deck PDF
Deck PDF
What is Exadata
It is like an appliance containing
Storage, Flash Disks, Database Servers, Infiniband
Switches, Ethernet Switches, KVM (some models)
SELECT NAME
FROM CUSTOMERS
WHERE STATUS ='ANGRY'
UPDATE
CUSTOMERS
SET BONUS = 1M
WHERE STATUS ='ANGRY'
datafile1
datafile2
Storage
RAC Database
datafile1
datafile2
Storage
Query Processing
JILL
SELECT NAME
FROM CUSTOMERS
WHERE STATUS ='ANGRY'
datafile1
datafile2
Database Block
Storage
I/O Controller
Disk
Exadata: from Beginner to Advanced in 3
Hours
The Solution
A typical query may:
Select 10% of the entire storage
Use only 1% of the data it gets
CPU
Memory
SELECT NAME
FROM CUSTOMERS
WHERE STATUS ='ANGRY'
Filtering
should be
Applied Here
Network
I/O Controller
Disk
10
The Magic #1
CPU
iDB
Memory
Network
I/O Controller
Disk
Exadata: from Beginner to Advanced in 3
Hours
The
communication
between CPU
and Disk carries
the information
on the query
columns and
predicates. This
occurs as a result
of a special
protocol called
iDB.
11
iDB
Disk1
Disk2
Disk3
12
Storage Index
Disk1
Disk2
Disk3
MIN = 3
MIN = 4
MIN = 1
MIN = 3
MAX = 5
MAX = 5
MAX = 2
MAX = 5
Disk4
Exadata: from Beginner to Advanced in 3
Hours
13
14
15
Why Not?
Pre-requisite for Smart Scan
Direct Path
Full Table or Full Index Scan
> 0 Predicates
Disabling Smart Scans
cell_offload_processing =
Simple Comparison
Operators
false;
_kcfis_storageidx_disabled =
Other Reasons
Cell is not offload capable true;
16
datafile1
datafile2
Storage
Exadata: from Beginner to Advanced in 3
Hours
17
Decompression
(Compression handled by Compute Nodes)
Virtual Columns
18
Components
CPU
Database Node
(Sun Blade. OEL)
Memory
Network
InfiniBand Switch
I/O Controller
Storage Cell
Disk
19
Database
Database
Node
1
Database
Node
1
Database
Node 1
Node 1
InfiniBand
Switch
Cell 1
Cell 1
Cell 1
Cell 1
Database
Node 8
Network Switch
Clients
connect to the
database
nodes.
Cell 14
20
How it Looks
X2-2 Qtr
X2-2 Half
X2-2 Full
X2-8 Full
Number of
Compute Nodes
Total Compute
Node Processor
Cores
Total Compute
Node Memory
Number of
Storage Servers
Number of SAS
Disks in Storage
24
48
96
160
196 GB
384 GB
768 GB
4 TB
14
14
36
84
168
168
Storage
Capacity - HP
21.6 TB
50.4 TB
100.8 TB
100.8 TB
Storage
Capacity - HC
108 TB
252 TB
504 TB
504 TB
Number of
InfiniBand
Switches
21
Disk Layout
Compute
Nodes
Storage Cell
22
Node
Disk Presentation
filesystem
Cell
filesystem
23
Command Components
Compute
Nodes
Storage Cell
24
Administration Skills
Skill
System Administrator
Storage Administrator
Network Administrator
Database Administrator
Cell Administration
Needed
15%
0%
5%
60%
20%
DBA
Sys Admin
Network Admin
Cell Admin
25
One Cluster?
One Cluster
QA1
QA2
QA3
Prod1
Prod2
Prod3
Dev1
Int1
QA1
QA2
Prod4
Prod1
Prod2
Prod3
Dev1
Int1
QA1
QA2
QA3
Prod1
Prod2
Prod3
Dev1
Int1
Dev2
26
Many Clusters?
QA Cluster
QA1
QA2
QA Cluster
Prod Cluster
QA3
Prod1
Prod2
Prod Cluster
Exadata: from Beginner to Advanced in 3
Hours
Prod3
Dev
Int
Dev1
Int1
Dev
Int
27
Disk Failures
Datafile
block1
Cell 1
Cell 2
block1
block1
28
Disk Failures
Datafile
block1
Cell 1
block1
Cell 2
Cell 3
block1
block1
High Redundancy
Exadata: from Beginner to Advanced in 3
Hours
29
Playing Nice
Database Resource Manager
I/O Resource Manager
Cell Fencing
QA
Prod
Compute
Nodes
Storage Cells
30
DBA
Machine
System Admin
Network
Network Admin
Storage
??
DBA
Sys Admin
Network Admin
Cell Admin
31
Combined Skills
Database
Machine
Administrator
(DMA)
Database
Machine
New Role
Network
Storage
DBA
Sys Admin
Network Admin
Cell Admin
Exadata: from Beginner to Advanced in 3
Hours
32
Other Questions
Q: Do clients have to connect using Infiniband?
A: No; Ethernet is also available
33
Backup and DR
No SAN connectivity
Only NAS
Exadata
Infiniband
Tape , Disk Pool
DR
Infiniband
Golden Gate
Exadata: from Beginner to Advanced in 3
Hours
34
OLTP
Exadata
Golden
Gate
Infiniband
Informatica
MicroStrategy
Exalytics
35
Overall Activities
Physical Aspects
Delivery, power, network components, etc.
Layout Planning
Installation and Configuration
Data Migration
Administration
Who manages it
Backup and Disaster Recovery
Application Development
Exadata: from Beginner to Advanced in 3
Hours
36
37
Network Ports
NET0
Admin Interface
NET1, NET2
Network Access to Nodes
NET3
Backup Network
IB
Infiniband Network
IP Addr: Qtr Rack: 5; Half Rack: 11; Full rack: 22
Exadata: from Beginner to Advanced in 3
Hours
38
Configuration Worksheet
Pre-delivery Survey
Generate config files
Run checkip.sh
Power on and validate components
Configure KVM
Configure IB
Configure Cisco Switch
Exadata: from Beginner to Advanced in 3
Hours
Oracle HW
1.
2.
3.
4.
5.
6.
7.
8.
ACS
Installation Activities
39
ACS
9. Configure IP to PDUs
10. Validate Storage Cells
11. Validate Compute Nodes
12. Config files from USB
13. Firstboot and applyconfig.sh
14. Stage Oracle Software on Node 1
15. Run OneCommand
Oracle HW
Installation, contd.
40
Summary
Exadata is an Oracle Database running 11.2
The storage cells have added intelligence about data
placement
The compute nodes run Oracle DB and Grid Infra
Nodes communicate with Cells using iDB which can
send more information on the query
Smart Scan, when possible, reduces I/O at cells even
for full table scans
Cell is controlled by CellCLI commands
DMA skills = 60% RAC DBA + 15% Linux + 20%
CellCLI + 5% miscellaneous
Exadata: from Beginner to Advanced in 3
Hours
41
Resources
My Articles
5-part Linux Commands article series http://bit.ly/k4mKQS
4-part Exadata Reference article series http://bit.ly/lljFl0
Tutorials
http://www.oracle.com/technetwork/tutorials/index.html
Exadata SIG
http://www.linkedin.com/groups?home=&gid=918317
Exadata: from Beginner to Advanced in 3
Hours
42
Thank You!
My Blog: arup.blogspot.com
My Tweeter: arupnanda
43