exadata training

Download Exadata training

Post on 12-Jun-2015

1.486 views

Category:

Technology

6 download

Embed Size (px)

DESCRIPTION

Exadata-overview

TRANSCRIPT

  • 1. Exadata Storage Server Exadata StorageServer Oracle 64 Intel Sun Fire Exadata Storage Server Oracle Linux x86_64 2012Oracle /

2. Exadata Storage Server Oracle Exadata Linux OSExadata Linux OS ExadataExadata 2012Oracle / 3. Exadata Storage Server Oracle 50% I/O34% I/O 16% I/O I/O 4. Exadata Storage Server X2-2 (Sun Fire X4270 M2) 2IntelXeonL5640(2.26GHz)24GB(6x4GB)12x600GB15KRPMSAS12x2TB7.2KRPMSAS4x96GBSunFlashAcceleratorF20PCIe 512MBHBAInfiniBand4XQDR(40Gb/s)1PCIe2.0HCA1(ILOM)2 2012Oracle / 5. Exadata Storage Server X2-2 HP HC1384GB384GBExadata17.2TB24TB23.25TB 10.75TB1.8GB/s1.0GB/s5.4GB/s4.6GB/sI/O(IOPS) 3,6001,800I/O(IOPS) 100,000100,0001 1 GB = 1000 x 1000 x 1000 1 TB = 1000 x 1000 x 1000 x 1000 2 ASM 2012Oracle / 6. Database Machine X2-2 14 Exadata Storage Server 8 Intel 2 CPUSun Fire 1 Cisco 48 (Keyboard, Video, Mouse,KVM) 3 Sun Datacenter 2 (Power InfiniBand Switch 36 Distribution Unit, PDU) 36 QDR 40 GB/s 96 GB InfiniBand 7. X2-2 (Sun Fire X4170 M2)2IntelXeonX5670(2.93GHz) 96GB(12x8GB)144GB(18x8GB) 300GB10KRPMSAS512MBHBA QDR(40Gb/s)InfiniBand 1PCIe2.0HCA 1GB 10GBSFP+ 1Intel8259910GbE10GbEPCIe2.0 1(ILOM) 2 2012Oracle / 8. X2-2 X2-2X2-2 2012Oracle / 9. Database Machine X2-8 14 Exadata StorageServer 2 Intel 8 CPU Sun Fire 1 Cisco 48 3 Sun Datacenter 2 (PowerInfiniBand Switch 36 Distribution Unit, PDU) 36 QDR 40 Gb/s 96 GB InfiniBand 10. X2-8 (Sun Fire X4800) 8xIntelXeonX7560(2.26GHz)1TB(64x16GB)300GB10KRPMSAS 512MBHBAInfiniBand4XQDR(40Gb/s)PCE2.0expressNetworkExpressModule(NEM)1GbE10GbESFP+Intel8259910GbEFabricExpressModule(FEM)(ILOM) 2012Oracle / 11. Database Machine X2-2X2-2 X2-8 X2-2 21TB50TB100TB100TB1 72TB168TB 336TB336TB11.1TB 2.6TB 5.3TB5.3TB9.5TB 22.5TB45TB 45TB2 31.5TB75TB150TB150TB2 ASM 1 1 GB = 1000 x 1000 x 1000 1 TB = 1000 x 1000 x 1000 x 1000 2012Oracle / 12. Database Machine X2-2 X2-2X2-8X2-2 3 5.4GB/s 12.5GB/s 25GB/s25GB/s 3GB/s 7GB/s14GB/s14GB/s3 16GB/s37.5GB/s 75GB/s75GB/s 13.5GB/s32GB/s 64GB/s64GB/s4 10,80025,000 50,00050,000IOPS 5,400 12,500 25,00025,0004 370,000 750,0001,500,000 1,500,000IOPS 4 IO (IO per second, IOPS) 8K IO 3 2012Oracle / 13. Exadata ExadataStorageServer49 18InfiniBand 23 396TB 216TB 432TB1.5TB3.4TB 6.75TB42.5TB 97TB194TB 4GB/s9GB/s 18GB/s 18GB/s 41GB/s82GB/sIOPS7,20016,00032,000IOPS425,000950,000 1,900,000 2012Oracle / 14. InfiniBand InfiniBand: Database Machine 40 Gb/s 2002 RAC IP TCP/IPUDPSSH SDP InfiniBand Oracle CPU 2012Oracle / 15. InfiniBand Sun Datacenter 36 QDR (40 Gb/s) InfiniBand Exadata Storage Server X2-2 QDR (40 Gb/s) InfiniBand HCA HCA X2-8 QDR (40 Gb/s) InfiniBand HCA HCA 2012Oracle / 16. Database Machine 2012Oracle / 17. X2-2 2012Oracle / 18. 2012Oracle / 19. 2 InfiniBand 9 36 2012Oracle / 20. InfiniBand 8 21. InfiniBand 36 22. eidm01 172.16.1.101eidm02 172.16.1.102eidm01-vip172.16.1.103 eidm02-vip172.16.1.104 eidm-scan 172.16.1.105eidmdb01eidmdb01-ilom eidmdb02 eidmdb02-ilom 172.16.1.10610.7.7.101 10.7.7.106 10.7.7.10210.7.7.107 172.16.1.107 DB 1 DB 2DB dbm1DB dbm2ASM +ASM1ASM +ASM2eidm eidmeidmdb01-priveidmdb02-priv192.168.10.1192.168.10.2InfiniBand eidmcel01-priveidmcel02-priv eidmcel03-priv192.168.10.3192.168.10.4 192.168.10.5DBFS_DG DBFS_DGDBFS_DG DATA_EIDMDATA_EIDMDATA_EIDMRECO_EIDM RECO_EIDMRECO_EIDMExadata 1Exadata 2Exadata 3 eidmcel01 eidmcel01-ilomeidmcel02 eidmcel02-ilom eidmcel03 eidmcel03-ilom 10.7.7.103 10.7.7.108 10.7.7.104 10.7.7.10910.7.7.105 10.7.7.110 2012Oracle / 23. InfiniBand ETL Oracle Exalogic Elastic Cloud 24. Database Machine RAC Enterprise Manager DBRMDBRMDBRM ASM ASM ASM ASM LIBCELLLIBCELL LIBCELL InfiniBand iDB InfiniBand Oracle LinuxOracleLinuxOracleLinux CLICELLSRMS CELLSRVMSCELLSR MS(cellcli/dcli) V V IORM RS IORM RS IORM RS SSH Exadata Exadata Exadata 2012Oracle / 25. Database Machine Exadata RDBMS ASM SGASGA ASMASM dskmI/Odskm I/O LIBCELL LIBCELL/opt/oracle/cell/ cellsrv/deploy/cellsrv CellCLI configMSdiskmon adrcicss cell_disk_ config.xml iDB iDB CELLSRV /etc/oracle/cell/network-configcellinit.ora RSADRcellip.oracellinit.orabond0 MS CELLSRV Exadata IP IPInfiniBand 2012Oracle / 26. LUN ASM Exadata CellCLI> CREATE FLASHCACHE ...CellCLI> CREATE GRIDDISK ... FLASHDISK ... LUN ASM 2012Oracle / 27. SQL> CREATE DISKGROUPExadata (CELL1) Exadata (CELL2)DATA_1CELL1 CELL2 FRA_1CELL1 CELL2 2012Oracle / 28. Traditional Scan ProcessingSELECT With traditional storage, allcustomer_nameRows Returned database intelligence FROM callsresides in the databaseWHERE amount > hosts200; Very large percentage of DB Host reduces terabyte of data to 1000 customer data returned from storage names that are returned tois discarded by databaseTable ExtentsIdentified clientservers Discarded data consumes valuable resources, and impacts the performance ofI/Os Issued I/Os Executed: other workloads1 terabyte of datareturned to hosts 29. Exadata Smart Scan SELECT Processing customer_name Only the relevant columnsFROM calls Rows Returned customer_name WHERE amount >and required rows 200; where amount>200 are are returned to hosts Consolidated CPU consumed by predicateSmart Scan Constructed Result Set Built evaluation is offloadedAnd Sent To CellsFrom All Cells Moving scan processing off thedatabase host frees host CPU cyclesand eliminates massive amounts of unproductive messagingSmart Scan identifies Returns the needle, not therows and columns2MB of data returned toentire hay stackwithin terabyte table serverthat match request 30. Exadata Exadata Storage Server SELECT cust_idFROM customersWHERE region = USAND prediction_probability(churnmod,Y using *) > 0.8; 31. Exadata dbs1InfiniBand 40 Gb/sExadata edsc1 edsc2 edsc13 edsc14 1.8 GB/s 14 14 x 1.8 = 25.2 GB/s 12 / 2012Oracle / 32. Exadata select /*+ full(lineitem) */ count(*)from lineitem where l_orderkey < 0; dbs1 4800 GB 16 40/14 = 2.85 Gb/s = 0.357 GB/s Exadata edsc1edsc2 edsc13 edsc140.357 GB/s 12 / 2012Oracle / 33. Exadata select /*+ full(lineitem) */ count(*) from lineitem where l_orderkey < 0; Exadata dbs1 4800 GB 3 10 40/14 = 2.85 Gb/s = 0.357 GB/s Exadata edsc1edsc2 edsc13 edsc141.8 GB/s1.8 GB/s 25.2 GB/s 12 / 2012Oracle / 34. Exadata 10 15 10 I/O 50 2012Oracle / 35. Exadata CU C5 C7C8 C2C1C4 C3C2 C5 C6 36. Exadata I/O I/O 2012Oracle / 37. Exadata Exadata I/O DBA I/O I/O I/O 38. Exadata DB1 DB 1DB 3 1 3 3 cellsrv cellsrv cellsrv 2 4224 Exadata 2012Oracle / 39. Exadata Exadata Exadata Exadata Storage Server 2012Oracle / 40. Exadata SELECT * FROM T1 WHERE B list cellcell01onlineCellCLI> exitquitting[celladmin@cell01 ~]$ 46. Exadata Storage Server Exadata Storage Server root cellinit.ora cellip.ora /opt/oracle.SupportTools CellCLI CALIBRATE celladmin celladmin CellCLI CREATEDROPALTER adrci Oracle cellmonitor CellCLI (LIST)Exadata 47. CALIBRATE Storage Server = IOPS = MBPS RPM I/O OLTPDW/OLAP I/O I/O CALIBRATE 2012Oracle / 48. CALIBRATE[root@cell01 ~]# cellcliCellCLI: Release 11.2.1.2.0 - Production on Mon Nov 02 16:42:06 PST 2009Copyright (c) 2007, 2009, Oracle. All rights reserved.Cell Efficiency ratio: 1.0CellCLI> CALIBRATE FORCECalibration will take a few minutes...Aggregate random read throughput across all hard disk luns: 1601 MBPSAggregate random read throughput across all flash disk luns: 4194.49 MBPSAggregate random read IOs per second (IOPS) across all hard disk luns: 4838Aggregate random read IOs per second (IOPS) across all flash disk luns: 137588Controller read throughput: 1615.85 MBPSCalibrating hard disks (read only) ...Lun 0_0 on drive [20:0 ] random read throughput: 152.81 MBPS, and 417 IOPSLun 0_1 on drive [20:1 ] random read throughput: 154.72 MBPS, and 406 IOPS...Lun 0_10 on drive [20:10] random read throughput: 156.84 MBPS, and 421 IOPSLun 0_11 on drive [20:11] random read throughput: 151.58 MBPS, and 424 IOPSCalibrating flash disks (read only, note that writes will be significantly slower).Lun 1_0 on drive [[10:0:0:0]] random read throughput: 269.06 MBPS, and 19680 IOPSLun 1_1 on drive [[10:0:1:0]] random read throughput: 269.18 MBPS, and 19667 IOPS...Lun 5_2 on drive [[11:0:2:0]] random read throughput: 269.15 MBPS, and 19603 IOPSLun 5_3 on drive [[11:0:3:0]] random read throughput: 268.91 MBPS, and 19637 IOPSCALIBRATE results are within an acceptable range. 49. Exadata Cell Server [celladmin@cell01 ~]$ cellcliCellCLI: Release 11.2.1.2.0 - Production on Mon Nov 02 17:46:13 PST 2009Copyright (c) 2007, 2009, Oracle. All rights reserved.Cell Efficiency ratio: 1.0CellCLI> ALTER CELL smtpServer=my_mail.example.com,-smtpFromAddr=exadata.cell01@example.com, -smtpPwd= -smtpToAddr=jane.smith@example.com, -notificationPolicy=critical,warning,clear, -notificationMethod=mailCell cell01 successfully alteredCellCLI> 50. Exadata Cell Server [celladmin@cell01 ~]$ cellcliCellCLI: Release 11.2.2.1.0 - Production on Wed Jul 20 17:54:21 EDT 2011Copyright (c) 2007, 2009, Oracle. All rights reserved.Cell Efficiency Ratio: 19MCellCLI> ALTER CELL RESTART SERVICES ALLStopping the RS, CELLSRV, and MS services...The SHUTDOWN of services was successful.Starting the RS, CELLSRV, and MS services...Getting the state of RS services... runningStarting CELLSRV services...The STARTUP of CELLSRV services was successful.Starting MS services...The STARTUP of MS services was successful.CellCLI> 51. CellCLI> CREATE CELLDISK ALL HARDDISKCellDisk CD_00_cell01 successfully created...CellDisk CD_10_cell01 successfully createdCellDisk CD_11_cell01 successfully createdCellCLI> LIST CELLDISK CD_00_cell01normal ... CD_10_cell0

Recommended

View more >