Apouc 2014-enterprise-manager-12c

65

Transcript of Apouc 2014-enterprise-manager-12c

Page 1: Apouc 2014-enterprise-manager-12c
Page 2: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• Principle Architect | Oracle Greater China

• Joined Oracle in 2004

• Now Focusing on Database, Security, EM

• Father of 2

• Interested in Photography, Traveling, Movie, Book

• LinkedIn Profile • http://www.linkedin.com/profile/view?id=17972713

Page 3: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Automate Your DB Lifecycle Mgmt to Respond to the On-demand Requirements of DBaaS using

Oracle Enterprise Manager 12c

APOUC Leaders’ Meeting 2014 @ Hong Kong Vincent P. Chan | Principal Architect, Oracle Greater China

Page 4: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Agenda

Oracle Confidential – Internal/Restricted/Highly Restricted 4

• New Architecture Leads to New Challenges!

• How Does EM12c Help?

• Case Study

Page 5: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

IOUG Report Shows that Demands of DBaaS Increased…

Oracle Confidential – Internal/Restricted/Highly Restricted 5

Source: 2012-2013 IOUG Cloud Computing Survey

Page 6: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

New Architecture Leads to New Challenges …

Oracle Confidential – Internal/Restricted/Highly Restricted 6

Virtual Machines

Share Servers

Dedicated Databases

Share Servers and OS

Schema/Pluggable DB

Share Servers, OS and Database

Page 7: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

IOUG Report Shows that the Private Cloud Challenges are …

Oracle Confidential – Internal/Restricted/Highly Restricted 7

Source: 2012-2013 IOUG Cloud Computing Survey

Page 8: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

And the Leading Database Administrative Challenges are …

Oracle Confidential – Internal/Restricted/Highly Restricted 8

Source: 2013 IOUG Survey on Database Manageability

Page 9: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

So, How Do You Work?

Oracle Confidential – Internal/Restricted/Highly Restricted 9

Source: 2013 IOUG Survey on Database Manageability

Page 10: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

EM12c helps new employees get familiar with our environment quickly with industry standardized interface, and helps us offload our workload to application team.

– Lead DBA, a Global Bank

Oracle Confidential – Internal/Restricted/Highly Restricted 10

Page 11: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

How Does EM12c Help? Automate Your Database Lifecycle Management

Oracle Confidential – Internal/Restricted/Highly Restricted 11

Page 12: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Oracle EM12c

User Interaction:

WebCenter

Infrastructure as a Service

Oracle Database

Oracle Fusion Middleware

Platform as a Service

Integration: SOA Suite

Security: Identity Mgmt

Process Mgmt: BPM Suite

Oracle Apps 3rd Party Apps ISV Apps

Applications and Business Services

Oracle VM for x86

Operating Systems: Oracle Enterprise Linux Oracle Linux Oracle Solaris

Oracle VM for SPARC (LDom) Solaris Containers

Servers

Storage

Applications and Business Services

Platform as a Service

Database as a Service

Infrastructure as a Service

Meter & Charge

Optimize

Manage

Plan

Setup

Build

Test

Deploy

Monitor

User Interaction: Web Center

Page 13: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

How Does EM12c Help?

Oracle Confidential – Internal/Restricted/Highly Restricted 13

• Create a Database in Minutes with Dramatically Reduced Storage

• Automate & Track Your Patch Process

• Find Out Regressed SQL from Millions of Statements to Ensure Database Performance

• Keep with Standard and Security Best Practices

Page 14: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Scenarios & Problems to Solve

• 12 TB database in production for an internal application

• The production DB is running on Exadata, while a standby database is running on ZFSSA

• Agile development is used for the internal app with 7 sprints running in parallel

• Each sprint requires a clone of the production DB

• Each sprint lasts for a month, and clones need to be refreshed monthly as well

Case 1: Telecom Industry

Storage requirements

using traditional cloning

Prod DB = 12 TB

Standby DB = 12 TB

7 Clones (7 * 12 TB)

= 84 TB

------------------

Total 108 TB

Time = days/weeks

Page 15: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Scenarios & Problems to Solve

• 5 production databases total 30 TB of storage

• All 5 production DBs have a standby

• Clones of the production database are required for data analysis and reporting

• 6 total clones across different teams every quarter

• For security reasons, sensitive data has to be masked prior to cloning

Case 1: Banking Industry

Storage requirements

using traditional cloning

5 Prod DB = 30 TB

5 Standby DB = 30 TB

5 Masked DB = 30 TB

6 Clones (6 * 30 TB)

= 180 TB

------------------

Total 270 TB

Time = days/weeks

Page 16: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Database-Aware Snap Clone

• Leverage storage level snap clone feature

• Out-of-box self service portal

• Resource quota based on role

• Integrated monitoring, snapshot/rollback, etc

Page 17: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Continuous Replication using:

Golden Gate or Dataguard

Standby Database [on ZFS Storage Appliance]

Production Database [Exadata or any commodity hardware]

Snap Clones using Standby

Private backups (snapshots) for SSA user

Scenario 1: SnapClone Using Standby

DR Database [Exadata or any commodity hardware]

Page 18: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Discrete Replication using: RMAN

backups, Netapp SnapMirror, etc

Test Master Production Database [Exadata or any commodity hardware]

Masking and Subsetting using EM

Snap Clones using Test Master

Private backups (snapshots) for SSA user

Benefit: Massage data before cloning

Scenario 2: SnapClone Using Test Master

DR Database [Exadata or any commodity hardware]

Page 19: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Customer Scenarios with Snap Clone

Customer Scenario 1 [Telecom Industry]

Prod DB = 12 TB

Standby DB = 12 TB

7 Clones (7 * 2 GB of writable space)

= 84TB 14 GB

-------------------

Total 108 ~24 TB

Time = days/weeks minutes

Customer Scenario 2 [Banking Industry]

5 Prod DB = 30 TB

5 Standby DB = 30 TB

5 Masked DB = 30 TB

6 Clones (6 * 5 * 2 GB of writable space) = 180TB 60 GB

---------------------

Total 270 ~90 TB

Time = days/weeks minutes

Page 20: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

How Does EM12c Help?

Oracle Confidential – Internal/Restricted/Highly Restricted 20

• Create a Database in Minutes with Dramatically Reduced Storage

• Automate & Track Your Patch Process

• Find Out Regressed SQL from Millions of Statements to Ensure Database Performance

• Keep with Standard and Security Best Practices

Page 21: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Scenarios & Problems to Solve

Difficult to Identify Suitable Patches

Time Consuming For Patching

No Automation Not Predictable

Oracle 10gR2 on Solaris

Oracle 11gR2 on Linux Oracle 11gR2 with RAC on Linux

Exadata

Page 22: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Automating DB Infrastructure Patching Fully Integrated with My Oracle Support

• Proactive advisories, recommendations, and analysis

– One-off patches, patch set updates, and critical patch updates

• Zero downtime for patching

• Integrated patch management & deployment automation

• Patch intelligence and community

• Streamlined conflicts and merge patch process

• Cell patching done through “patchmgr”

Analyze

Test

Patch

Report Provision

Stage

Page 23: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With KM, Bugs Fixed, Trends of Downloads

1) Proactively Recommend Patches

Page 24: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Multiple Patches to Multiple Targets

2) Mass Deploy to Avoid Time Constraints

Page 25: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

By Out of Place Patching

3) Allow Switchback & Reduce Downtime

Page 26: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Comprehensive Pre-flight Checks

4) Automatically Detect Patch Conflicts

Page 27: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

5) Automatically Rollout & Track Patch

Page 28: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

How Does EM12c Help?

Oracle Confidential – Internal/Restricted/Highly Restricted 28

• Create a Database in Minutes with Dramatically Reduced Storage

• Automate & Track Your Patch Process

• Find Out Regressed SQL from Millions of Statements to Ensure Database Performance

• Keep with Standard and Security Best Practices

Page 29: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• Concern on performance degrading (i.e. SQL regression) after database changes, i.e.

– DB upgrades

– Database structure changes

– Optimizer statistics refresh

– Patching

• Problems

– Partial workload

– Large workloads (100Ks SQL statements are common)

– Non-production optimizer context

– Manual and time consuming regression testing

– SQL performance regression after production

Scenarios & Problems to Solve

Page 30: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• Test and predict impact of system changes on SQL query performance

• Analyze performance changes for improvements or regression

• Comprehensive performance analysis and reporting

• Re-execute SQL queries in test environment

• End-to-end solution: STS, SQL Plan Baselines, & SQL Tuning Advisor

RAT: SQL Performance Analyzer (SPA)

SQL Workload

STS

SQL Plans + Stats Pre-Change Trial

SQL Plans + Stats Post-Change Trial

Compare SQL Performance

Analysis Report

Page 31: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 32: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 33: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 34: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 35: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 36: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 37: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Regressed SQL Statements

SPA Report

Page 38: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Consolidation Testing using Real SQL Workload

Consolidated SQL Performance Analyzer

• Validates SQL performance

for consolidated database

• SQL workload captured for

each database in STS

• SPA executes all workloads

together in consolidated

environment

• Identifies SQL regressions

and helps remediate them

• Existing SPA capability in DB

11.1 works for schema

consolidation

• Support for Pluggable DB

consolidation in DB12c

SALES

HR

ERP

CRM

ERP STS

SALES STS

CRM STS

HR STS

SALES

HR

ERP

CRM

Page 39: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

How Does EM12c Help?

Oracle Confidential – Internal/Restricted/Highly Restricted 39

• Create a Database in Minutes with Dramatically Reduced Storage

• Automate & Track Your Patch Process

• Find Out Regressed SQL from Millions of Statements to Ensure Database Performance

• Keep with Standard and Security Best Practices

Page 40: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Scenarios & Problems to Solve

Time Consuming Totally Reactive Not Scalable No Detail

Page 41: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

1) Identify and Track Assets

Page 42: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 43: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

You can show inventory summary by type.

Page 44: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

And roll up by location, platform, lifecycle, version, vendor, LoB, department, or cost center.

Page 45: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Showing host and roll up by platform.

Page 46: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Showing host and roll up by version.

Page 47: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Showing databases and roll up by version.

Page 48: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Pre-Configured Templates, Ignore Differences and Notification

2) Track and Remediate Drifts from Standards

You can select/exclude these pre-configured

template from comparison:

Instance Tablesapces Control files Redologs Rollback Segments Users Database Options

Feature Usage

You can ignore the differences. You can set notification on

differences

Page 49: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

2) Track and Remediate Drifts from Standards with Notification

Database dbm1’s listener port is 1521, while dbm2’s listener

port is 1522

Page 50: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Out-of-the-Box, 400+ Security Practices

3) Adhere to Security Best Practices

Page 51: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Periodically Scoring

3) Adhere to Security Best Practices

# of Target Evolutions

# of Violations

Avg Score (%)

Compliance Standards (i.e. Best Practices)

Page 52: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Real Time Dashboard

3) Adhere to Security Best Practices

Page 53: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

With Scoring History and Violation History

3) Adhere to Security Best Practices

Avg. Compliance Score (%)

Avg. Violation Count Per Evaluation

Page 54: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Case Study Automate Your Database Lifecycle Management

Oracle Confidential – Internal/Restricted/Highly Restricted 54

Page 55: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Oracle Exadata and Oracle Enterprise Manager 12c:

Extreme Consolidation in Cloud

Presented in OOW

About HDFC Bank • Incorporated in

Auguest 1994 • India’s Second

Largest Private Bank with • 3,119

Branches • 11,088 ATMs

& 20 Million Customers

• Employees: 60,000

• Annual Revenue: USD 7 Billion

Page 56: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

The Challenges • Average 3 days to provision UAT database for lending segment

• Silo’ed IT environment with average 30% utilization

• Compliance requirement consume testing resources

• SI expenses for provisioning databases manually

• Overhead in managing configuration drift between production and testing environment

• Rollout impact/delay on new business initiatives

• Challenges in managing exponential growth of data

• Database sprawl over 168 racks of real estate

Page 57: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

The Solution: DBaaS

Page 58: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

The Result

Plus: • Effective usage of

infrastructure leading to better ROI

• Empowered application team with self service

• Drastically cut down on support/SI costs for DBA activities

• 10x compression achieved to low CapEx requirements

Page 59: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

1000 % faster Databases

deployment on its enterprise cloud

“Spinning up a database, a process that used to take two to three weeks, now takes us only 19 minutes, something like a 1,000% improvement in deployment time. Accelerating deployment to this degree has brought us much closer to the customer service levels

our business goals demand.”

Surren Partabh - CTO, BT Operate

Page 60: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

PATCH MANAGEMENT $70 Billion revenue in 2011

75,000 employees

96 million retail customers

FOCUS ON Automation

Challenge:

• Patch and upgrade large number of databases with minimal maintenance time

• Regulations require quarterly patching for compliance management & reporting

• Mandatory to apply PSU to over 520 databases 2 time a year

• Inventory tracking and deploying changes to non-production databases was difficult

• During patching periods, DBAs worked extra hours on nights & weekends

After Oracle Enterprise Manager:

• Patching process is now automated

• 4 times reduction in man hours for patching resulting in approx 67% savings in productivity

• Application team can track changes across non-production and production environments resulting in no impact to development work providing more time for coding & testing

• DBA team now focused on database availability, scalability & performance

• IT runs like a business and adds value

Case Study

Page 61: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Summary

Oracle Confidential – Internal/Restricted/Highly Restricted 61

Page 62: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

EM12c Helps You to Address These Challenges

Oracle Confidential – Internal/Restricted/Highly Restricted 62

Source: 2013 IOUG Survey on Database Manageability

Page 63: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Join the Conversation

Bit.ly/EM_linkedin

Bit.ly/EM_facebook

Bit.ly/EM_twitter

Bit.ly/EM_youtube

Bit.ly/EM_blog

Page 64: Apouc 2014-enterprise-manager-12c

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Safe Harbor Statement

The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Oracle Confidential – Internal/Restricted/Highly Restricted 64

Page 65: Apouc 2014-enterprise-manager-12c