37

What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

Embed Size (px)

Citation preview

Page 1: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed
Page 2: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

What’s New for Oracle and .NET

Alex Keh Jeff White Product Manager SVP of Technology Server Technologies Epsilon Data Management October 27, 2015

Oracle Confidential – Internal/Restricted/Highly Restricted Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Page 3: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Program Agenda

ODAC Release Timeline

ODAC 12c Release 3 and 4

Future Releases

1

2

3

Page 4: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

ODAC Releases

Oracle Confidential – Internal/Restricted/Highly Restricted 4

Page 5: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

ODAC 12c Release 3 and 4

Page 6: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Major New Features

• Visual Studio 2015

• Offline Schema Compare

• Installation

– NuGet

– Microsoft Installer (MSI)

• High availability

• ODP.NET, Managed Driver

• Entity Framework 6 and Code First

ODAC 12c Release 3 and Release 4

Page 7: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

“Offline” Schema Compare in Visual Studio

Oracle Database Project V2 (SQL Scripts in source control)

Running Database Instance

Page 8: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

“Offline” Schema Compare in Visual Studio

• Schema Comparison using SQL Scripts in Database Project – New beta feature in Oracle Developer Tools for Visual Studio 12.1.0.2.4

• Compare DBProjv2 against your live DB instance and view differences

• Generate deployment script to make live DB schema equal to DBProjv2

• Automatically update DBProjv2 scripts to equal live DB

Page 9: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

“Offline” Schema Compare in Visual Studio

Page 10: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

“Offline” Schema Compare in Visual Studio

Page 11: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

“Offline” Schema Compare

• Import your schema into DBProjv2 – Creates a set of standardized SQL scripts, one for each SQL statement

– One CREATE statement per file by convention

– Can be edited – but only the single CREATE statement is honored by Schema Compare

– SQL Scripts can be added or deleted

– Check into source control

– Can “Build” a single Schema create script merging all the SQL scripts into one file

• Schema Compare Dialog updated to include DBProjv2 as source/target

• “Generate Script” and “Update Target” toolbar icons – Can select specific Schema objects to update instead of the entire Schema

Page 12: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

See a live demo of Offline Schema Compare

• SQL and PL/SQL Development and Leveraging Oracle Multitenant in Visual Studio

• Thursday – 1:15 PM – 2:00 PM Moscone South – 303

Page 13: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

NuGet

• .NET software package manager

– Makes it easier to find, install, configure, deploy, and uninstall assemblies and their dependencies cleanly

– NuGet installs only impact one application; no machine-wide changes

– Easy web deploy to local servers or cloud

• ODAC components supported

– ODP.NET, Managed Driver

– ODP.NET, Managed Driver for Entity Framework 6 and Code First

– Oracle Providers for ASP.NET (using managed ODP.NET)

• Does not include Oracle Developer Tools for Visual Studio

Features and ODAC Package

Page 14: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

NuGet

• nuget.org

– Search “Oracle” for relevant packages • Official Oracle ODP.NET, Managed Driver

• Official Oracle ODP.NET, Managed Entity Framework Driver

• Official Oracle Providers for ASP.NET, Managed Driver

• OTN

– Downloadable NuGet packages

– To host within an intranet or install from a local machine

Download and Installation

Page 15: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

NuGet

• Most setup steps automatically completed as part installation

• Common remaining steps

– 1. Configure connect descriptor

– 2. Configure connection string

• Note: For Oracle Universal Installer, do not GAC (i.e. machine-wide install) – GAC assemblies override NuGet assemblies with same version (i.e. first four digits)

Configuration

Page 16: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

D E M O N S T R A T I O N

NuGet

Page 17: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

NuGet

• 1. Open NuGet Package Manager from Visual Studio project

• 2. Select nuget.org and search for Oracle .NET package(s)

– Choose official Oracle .NET package(s) • ODP.NET EF provider automatically includes ODP.NET and EF as dependencies

• ASP.NET providers automatically includes ODP.NET as dependency

• 3. Click Install button and accept license

• 4. Open app/web.config to configure connection string and Oracle connect descriptor

Install Instructions

Page 18: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Microsoft Installer (MSI)

• Native Windows installer

• ODAC components supported

– Oracle Developer Tools for Visual Studio • Visual Studio 2015, 2013, and 2012

– ODP.NET, Managed Driver

– Oracle Providers for ASP.NET (for managed ODP.NET)

• Does not include unmanaged ODP.NET

• Will be available from Visual Studio Gallery and OTN

Page 19: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

High Availability

• Planned outages

– Drain connections from pool stopping new connection allocation

• Service Relocation Connection Timeout

– When service becomes unavailable, app encounters connectivity errors

– To avoid connection errors to unavailable service, ODP.NET blocks connection attempts until the service is up or SRCT time limit expires

– Useful for planned outages and service relocations

• Unplanned outages - Transaction Guard (TG)

– Streamlined APIs – Easier to develop with TG

– ODP.NET, Managed Driver supports TG • All unmanaged ODP.NET TG functionality is supported in managed ODP.NET

Page 20: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Planned Outage Scenarios

• DB brought offline as quickly as possible without end user disruptions

• Process

– DB instance being shutdown alerts ODP.NET of impending downtime

– ODP.NET stops creating new connections and closes idle ones

– Existing connections allowed to complete their work

– Connections returned to the pool are closed

– When all connections have drained, instance shuts down

Pool Draining

Page 21: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Unplanned Outage Scenarios

• ODP.NET reliably determines in-flight transaction commit outcome upon a DB failure

– Guarantees accurate knowledge of transaction outcome

– Easier application recovery

• Upon DB failure, ODP.NET OracleException is returned

• Whether transaction is recoverable

• Whether last transaction committed and/or completed

• Once transaction state known, app performs appropriate recovery operations

Transaction Guard

Page 22: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

ODP.NET Customer Case Study

• Real time POS integration with over 10,000 sites

• Decrease time to market

• Real-time monitoring and reporting of system performance and health

• Need to run OLTP, batch, and reporting workload concurrently against real time data without impacting user experience

• Support over 2000 real-time transactions per second with SLA of less than 100 ms and 99.95% availability

• Less than 8 hours RPO and RTO

High Availability

Page 23: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

ODP.NET Customer Case Study

• Before using TG and ODP.NET connection pooling:

– Whenever a DB outage occurred, Epsilon required • App restart to remove orphaned connections

• Manually resolving outcomes of in-process transactions

• Upgraded to Oracle Database 12c (12.1.0.2) and ODAC 12c R3

– App now uses TG with ODP.NET connection pooling

• Current planned and unplanned outage experience – No app restarts needed anymore

• ODP.NET pool drains when downed services no longer available

– .NET error handler code resolves in-process transactions by retrieving their status

High Availability

Page 24: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

ODP.NET Customer Case Study

Page 25: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Additional New ODAC 12c R3 and R4 Features

• Managed and unmanaged ODP.NET

– .NET Framework 4.6

– Unified .NET config file format

– Unified tracing format

• Unmanaged ODP.NET

– SQL Translation Framework • Translates vendor-specific SQL to Oracle SQL to ease .NET app migration to Oracle DB

– Managed code for distributed transactions • Requires .NET 4.5.2 or higher

• Managed ODP.NET – Features to be covered in upcoming managed ODP.NET session

Page 26: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Future Releases

Page 27: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

New Features Covered in Upcoming Sessions

• ODP.NET, Managed Driver

• Entity Framework

• Visual Studio 2015

• Offline Schema Compare tools

Page 28: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Upcoming .NET Sessions

• Oracle .NET Best Practices for Performance

– Wednesday – 4:15 PM – 5:00 PM Moscone South – 254

• Deep-Dive into Oracle Data Provider for .NET, Managed Driver and Entity Framework

– Thursday – 12:00 PM – 12:45 PM Moscone South – 303

• SQL and PL/SQL Development and Leveraging Oracle Multitenant in Visual Studio

• Thursday – 1:15 PM – 2:00 PM Moscone South – 303

Page 29: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Upcoming High Availability Sessions

• Hide the Impact of Scheduled Maintenance from Your Applications

– Wednesday – 3:00 PM – 3:45 PM Moscone South – 102

• Hide the Impact of Unplanned Outages from Your Application

– Thursday – 10:45 AM – 11:00 AM Moscone South – 305

Page 30: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Demogrounds

• Visit .NET experts at the OOW Demogrounds: .NET Development for Oracle Database 12c – Open through Wednesday

– Moscone South Exhibition Hall, Far Left Middle in Oracle Database Demogrounds

– Booth SLD-004

Page 31: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Additional Oracle .NET Resources

OTN otn.oracle.com/dotnet

Twitter twitter.com/OracleDOTNET

YouTube youtube.com/OracleDOTNETTeam

Email [email protected]

Page 32: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Q+A

Page 33: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

Copyright © 2015, 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 35

Page 34: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

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

Session Surveys

Help us help you!! • Oracle OpenWorld would like to invite you to take a moment to give us

your session feedback. Your feedback will help us to improve your conference.

• Please be sure to add your feedback for your attended sessions by using the Mobile Survey or in Schedule Builder.

Oracle Confidential – Internal/Restricted/Highly Restricted 36

Page 35: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 37

Page 36: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal 38

Classroom Training

Learning Subscription

Live Virtual Class

Training On Demand

Keep Learning with Oracle University

education.oracle.com

Cloud

Technology

Applications

Industries

Page 37: What’s New for Oracle and New Features •Visual Studio 2015 •Offline Schema Compare •Installation –NuGet –Microsoft Installer (MSI) •High availability •ODP.NET, Managed