<Insert Picture Here> Oracle Database 11g Overview Charlie 廖志華倍力資訊資深系統顧問
Great Year for Oracle Database Database Market Database for SAP 14.3% 48.6% 9% 3% 17% 4% 15.0% 22.0% 67% Oracle IBM Microsoft Other Oracle IBM Informix M/soft SAPDB Data Warehouse Market Database for Linux 16% 10% 11% 23% 40% Oracle IBM M/soft Teradata Others Marketshare (%) 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 2003 2004 2005 Oracle IBM Others Sources: Gartner May 2006, Worldwide RDBMS Total Software Revenue IDC May 2006. Worldwide RDBMS 2005 Vendor Shares, AMR March, 2005 2
Oracle Database Continuous Innovation Oracle 10g Oracle 9i Data Warehousing Optimizations Parallel Operations Distributed SQL & Transaction Support Cluster and MPP Support Multi-version Read Consistency Client/Server Support Platform Portability Commercial SQL Implementation XML Database Oracle Data Guard Real Application Clusters Flashback Query Virtual Private Database Built in Java VM Partitioning Support Built in Messaging Object Relational Support Multimedia Support Audit Vault Database Vault Grid Computing Automatic Storage Mgmt Self Managing Database Oracle 8i Oracle 8 Oracle 7 Oracle 6 Oracle 5 Oracle 2 3
Agenda Oracle Database 11g Change Assurance Manageability Business Intelligence Data & Information Lifecycle Management Maximum Availability Summary 4
Change is the only Constant( 改變是無可避免的 ) Change is the most common cause of instability( 改變常常會導致不穩定的因素 ) Enterprise production systems are complex( 應用系統是複雜的 ), Actual workloads are difficult to simulate( 系統工作負載是難以模擬 ) Possible! Realistic testing before production is impossible ( 上線前系統工作模擬負載測試是不可能的 ) Reluctant to make changes( 導致不願意改變 ), Unable to adopt new competitive technologies( 不願意使用新的 IT 科技 ) Preserve Order Amid Change ( 如何在改變中依然維持系統運作 ) 5
Database Replay Benefit: Realistic testing on Production Workload before deployment( 在新系統上線前能準確的模擬系統負載狀況 ) Middle Tier Oracle Database 10g Production Oracle Database 11g RAC Test Oracle DB servers Capture DB Workload Replay DB Workload Storage Storage 6
EM Interface: DB Replay Summary 7
SQL Performance Analyzer Benefit Test impact of change on SQL performance( 得知 SQL 運行在新系統的效能 ) Oracle Production Database 10g Environment Production Oracle Test Database (RAC) 11g Environment RAC Test Oracle DB servers Capture SQL Execute SQL Queries Storage Storage 8
EM Interface: SPA Report 9
Automatic Diagnostic Workflow Critical Error Automatic Diagnostic Repository 1 2 Auto Incident Creation Alert DBA First-Failure Capture Targeted Health Checks No Duplicate Bug? 4 EM Support Workbench: Package Incident & Configuration Information Repair Advisors 3 Yes EM Support Workbench: Apply Patch or Workaround Repair Advisors Reduce Time to Problem Resolution 10
Agenda Oracle Database 11g Change Assurance Manageability Business Intelligence Data & Information Lifecycle Management Maximum Availability Summary 11
Manageability Comparison of Oracle Database 9i, 10g, and 11g 100% 75% 50% 9i 10g 11g 25% 0% Time Steps Oracle 9i vs. 10g 44% less time 47% fewer steps Summary Oracle 10g vs. 11g 26% less time 31% fewer steps 12
Storage Backup Memory Apps/SQL Schema RAC Recovery Replication Database Managing Automation Auto-Tuning Advisory Instrumentation 13
Automatic Memory Tuning OS Memory DB Shared Memory DB Process Memory OS Memory DB Shared Memory DB Process Memory Benefits: Database Automatically manages the DB and OS memory for optimal performance based on the workload Reuse memory for different workloads without scaling up Do more with less 14
Automatic SQL Tuning Packaged Apps Customizable Apps Nightly Automatic SQL Tuning SQL Profiling SQL Profiles Execute Test Implement High-Load SQL AWR Index, Stats, Structure Analysis Benefit: SQL Tuning Advisor automatically identified high load SQL and then automatically implements a tuning plan during the maintenance window Automatically enhances SQL performance without interrupting Production Automatic Well-tuned SQL Advisor Report Manual 15
Automatic SQL Tuning Result Summary 16
Agenda Oracle Database 11g Change Assurance Manageability Business Intelligence Data & Information Lifecycle Management Maximum Availability Summary 17
Benefits of Partitioning ORDERS ORDERS ORDERS USA EUROPE Large Table Difficult to Manage JAN FEB Partition Divide and Conquer Easier to Manage Improve Performance JAN FEB Composite Partition Higher Performance More flexibility to match business needs Oracle Customers Have 100,000s of partitions in their databases 18
Oracle Partitioning 10 years of innovation Oracle8 Oracle8i Oracle9i Oracle9i R2 Oracle 10g Oracle 10g R2 Core functionality Range partitions, global range index Hash and composite range-hash partitioning List partitioning Composite range-list partitioning Global hash indexes 1M partitions per table Partitioning by reference Virtual column partitioning New composite partitioning: range-range, list-range, list-list, list-hash 19
Composite Partitioning Strategies Two-dimensional partitioning schemes Extensions in Oracle Database 11g Range List Hash Range 11g 9i 8i List 11g 11g 11g e.g. List-range: Partition by country, then by week Partition by line-of-business, then by week 20
Interval Partitioning Partitions are created automatically as data arrives 21 INVENTORY ORDERS ORDERS JAN FEB JAN FEB MAR JAN FEB MAR APR
Before REF Partitioning Table ORDERS...... RANGE(order_date) Primary key order_id Jan 2006 Feb 2006 Redundant storage of order_date Redundant maintenance Table LINEITEMS...... RANGE(order_date) Foreign key order_id Jan 2006 Feb 2006 22
With REF Partitioning Table ORDERS Jan 2006 Feb 2006 Table LINEITEMS............ RANGE(order_date) Primary key order_id PARTITION BY REFERENCE Partitioning key inherited through PK-FK relationship RANGE(order_date) Foreign key order_id Jan 2006 Feb 2006 23
Virtual Column Partitioning ORDERS ORDER_ID ORDER_DATE CUSTOMER_ID... ---------- ----------- ----------- -- 9834-US-14 12-JAN-2007 65920 8300-EU-97 14-FEB-2007 39654 3886-EU-02 16-JAN-2007 4529 2566-US-94 19-JAN-2007 15327 3699-US-63 02-FEB-2007 18733 REGION AS (SUBSTR(ORDER_ID,6,2)) ------ US EU EU US US REGION requires no storage Partition by ORDER_DATE, REGION ORDERS JAN FEB USA EUROPE 24
Partitioning Advisor Packaged Apps Custom Apps SQL Workload New! SQL Plan Tuning SQL Advisor SQL Structure Analysis Access Analysis Partition Analysis Automates building a fine tuned Data Warehouse from its inception SQL Profile SQL Advice Indexes & MVs Partition Advice Helps you optimize performance from the beginning Well-tuned SQL & Schema 25
Integrated BI in the Database - OLAP SQL Star Queries Cubes but no SQL access SQL Views over Cubes Transparent SQL Rewrite to Cubes 26
Agenda Oracle Database 11g Change Assurance Manageability Business Intelligence Data & Information Lifecycle Management Maximum Availability Summary 27
Growing Data Volumes 100 80 Database Size 60 (TB) 40 20 Size of the largest data warehouse in Winter Corp Survey 245% increase from 2003 to 2005! 0 1998 1999 2000 2001 2002 2003 2004 2005 Source: 2005 TopTen Program, November 2005 Winter Corporation, Waltham, MA, USA 28
Structured Data Compression For OLTP and Data Warehousing Applications Oracle introduced table compression in Oracle9i Database Support for bulk load operations( 支援大量資料載入 ) Oracle Database 11g extends compression for OLTP data Support for conventional DML Operations ( 支援 DML 操作 ) Support for add/drop columns on compressed tables( 在壓縮 Table 上支援增 / 刪欄位 ) Significantly reduces disk space consumption Typically 2 to 3x ( 壓縮比 2-3 倍 ) Improves the performance of queries Up to 2x performance improvements for long running queries( 提高 2 倍查詢效能 ) No uncompression required while reading compressed data ( 對於查詢已壓縮資料, 無須先解壓縮 ) Completely transparent to applications( 完全可透通使用於現有的應用系統 ) 29
Unstructured Data Compression Oracle SecureFiles New feature in Oracle Database 11g(11g 新功能 ) Secure, high performance, storage optimization( 安全性, 高效率, 儲存最佳化 ) Documents, spreadsheets, images, multimedia.( 文件, 試算表, 影像, 多媒體 ) SecureFiles Compression 2 to 3x compression for typical files(2-3 倍壓縮比 ) Industry standard compression algorithms( 支援業界標準壓縮 ) Multiple compression levels optimize performance & space( 提供二種壓縮等級 ) 30
Information Lifecycle Management The policies, processes, practices, and tools used to align the business value of information with the most appropriate and cost effective IT infrastructure from the time information is conceived through its final disposition. ( 透過訂定規則, 處理流程, 最佳典範及適當的工具, 並依據時間的原則將企業資訊的價值能有效率並合適的建置在 IT 架構上 ) Storage Networking Industry Association (SNIA) Data Management Forum Active Less Active Historical Archive DIGITAL DATA STORAGE High Performance Storage Tier Low Cost Storage Tier Online Archive Storage Tier Offline Archive Storage Tier 31
Implementing Oracle ILM Define Data Classes Create Storage Tiers for the Data Classes Define and Enforce Compliance Policies Create Data Access and Migration Policies 32
Agenda Oracle Database 11g Change Assurance Manageability Business Intelligence Data & Information Lifecycle Management Maximum Availability Summary 33
Flashback for Rapid Recovery from Human Error Flashback Query Flashback Tables Flashback Database Flashback Data Archive and Transaction 34
Flashback Data Archive Select * from orders AS OF Midnight 31-Dec-2004 User Tablespaces Changes Flashback Data Archive Oracle 11g Database Archive Tables Tamper-proof data archive Efficient storage and retrieval of undo Keep data for months, years, decades! Fast access to even very old data View data, versions of rows as of any time Control data retention time, purging of data 35
Unlocking the Value of Standby DBs Standby for DR and Backup Standby for Realtime Query Standby for Online Upgrade, Auto Failover Standby for Testing, Reporting 36
Physical Standby with Real-Time Query Continuous Redo Shipment and Apply Concurrent Real-Time Query Primary Database Physical Standby Database Read-only queries on physical standby concurrent with redo apply( 同時提供 Report Server 的 Read-only 及 Apply Primary DB 的 Redo log) Supports RAC on primary and/or standby Queries see transactionally consistent results Handles all data types 37
Snapshot Standby Leverage Standby Database for Testing Updates Updates Queries Primary Database Snapshot Physical Standby Database Preserves zero data loss, although no real time query or fast failover Truly leverages DR hardware for multiple purposes Similar to storage snapshots, but provides DR at the same time anduses single copy of storage 38
39
Upgrade to 11g 7.3.4 R2 9.2.0.4 8.0.6 8.1.7.4 9.1.0.4 R2 40
41
<Insert Picture Here>