1 copyright © 2011, oracle and/or its affiliates. all rights … · 2010 innovationen über ein...
TRANSCRIPT
2 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Highspeed für .NET mit TimesTen
Claus Jandausch | Principal Sales Consultant
Maik Sandmann | Principal Sales Consultant
3 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
The following 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.
4 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Business HerausforderungenIT Beschränkungen können zeitnahe Entscheidungen
beeinflussen
Komplexität reduzieren
Schnelleres Deployment
Einfacheres Management
Service Levels
Kosten reduzieren
Wachstum
Produktinnovation
Risikoreduzierung
“Ungeplante” Ereignisse
Marktzwänge
5 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Eintritt in die Echtzeit - Welt
Echtzeit ApplikationenAntwortverhalten / Hohe Skaierung / 7dx24h
Schlüsseltechnologien
64-bitProzessoren
Grosse Speicherkapazitäten(RAM)
SchnelleNetzwerke
Autorisierung,Pre-paid,
Geodienste
Echtzeit Analyse -Interaktive DashboardData Mart, Scorecard
eCommerce,Personalisierung,
Marktdaten,Marktereignisse,
Trading
6 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
TimesTen In-Memory DatenbankLOBs
Cache Advisor
In-Memory Analytics
Columnar Compression
Parallel ReplicationODP.NET Support
Cache Grid for Scale Out
Oracle Clusterware Integration
PL/SQL Support
Oracle Call Interface SupportOEM & SQLDeveloper Integration
Oracle Database Data Types Support
National Language Support
Integration with Oracle RAC
Mid-tier Cache for Oracle DB
Online Upgrades
High Availability
1st Commercial In-Memory RDBMS
2011
1998
2000
2009
2005
2007
2010
Innovationen über ein Jahrzehnt
7 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
TimesTen Datenbank
• Bewährte Technologie für OLTP Lasten
• Erweiterung in Business Intelligence
• TimesTen mit ODP.NET
8 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
TimesTen Datenbank
• Bewährte Technologie für OLTP Lasten
• Erweiterung in Business Intelligence
• TimesTen mit ODP.NET
9 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Was ist die TimesTen In-Memory Datenbank?Speicheroptimierte relationale Datenbank
PL/SQL .. OCI .. Pro*C ..JDBC
Transaktionen .. Logging .. Recovery .. Replikation
Gesamte Datenbank im Speicher µs Antwortzeit
Einfache Installation & Konfiguration, Leicht zu “embedden”
ORACLE DB kompatibel
PERSISTENT
LEICHT in der Anwendung
Extrem SCHNELL
10 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Warum ist TimesTen so schnell?
• In-Memory Optimierung
– Datenbank ist im “Shared Memory”
– Speicheroptimierte Zugriffsmethoden
– Schneller als vollständig gecachte
Datenbanken
• Direct-link für höchste Performanz
– Applikation und Timesten teilen Shared
Memory
– Kein Netzwerk Overhead
– Datenbank API Calls sind Funktions Calls
Direct-Linked
Applikation
TimesTen Libraries
Client-Server
Applikation
TimesTen
Client Lib
Memory-Resident
Database
Client/Server
JDBC / ODBC / OCI / PLSQL
Checkpoint Dateien
Log Dateien
Schneller
Daten-
zugriff
11 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Applikationen /
Leseoperationen
auf Hot Standby
Standby
Echtzeit - ReplikationHochverfügbarkeit, Low-Latency Durability, On-Line Upgrades
• Replikation in “Echtzeit”
• Performanz
– Synchron / Asynchron
– Speicher-to-Speicher Replikation von Log Records
– Paralleles Senden des Log Streams
– Paralleles Schreiben von Änderungen auf der Standby
– Datenkomprimierung
• Unterschiedliche Topologien
– Active Standby Pair + Read-only Subscribers mitparalleles Schreiben von Änderungen auf Subscribers
– Active Active – Split Workload
• LAN und WAN Konfigurationen
• Online Upgrades – Keine Downtime
“Read-only” Subscribers
• Reader Farm
• Disaster Recovery
Applikationen /
Transaktionen
Active
SubscriberSubscriber
Subscriber
12 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
TimesTen In-Memory Database Cache
• Auf der Middle-Tier installiert
• Puffert Subsets von Oracle Datebanken
• Vollständiges In-Memory RDBMS
• Beschleunigt I/O von Applikationen
• Scale Up, Scale Out
• Lese/Schreib Caches
• Vorab laden des Caches oder auf Bedarf
• Automatische Synchronisation
• Integrierte Hochverfügbarkeit
Verbesserte Performanz von Datenbankapplikationen
Applikationen /
Transaktionen
Automatische
Synchronisation
Applikationen /
Transaktionen
IMDB Cache GridApplication Application
Application
13 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
StandbyActive
Lese-Schreib und Nur-Lese Cache
• Lese-Schreib Cache
– Transaktionen werden auf der aktiven Seitegeschrieben
– Parallele Replikation der bestätigten Trans-aktionen auf die Standby
– Paralleles “writethrough” der bestätigtenTransaktionen in die Oracle Datenbank
• Nur-Lese Cache
– “Multi-stream” Aktualisierung bestätigterTransaktionen der Oracle Datenbank
– Parallele Replikation aktualisierterTransaktionen auf die Standby
• Applikation arbeitet weiter auch wenn die Verbindung zur Oracle Datenbank abbricht
Hochverfügbarkeit
Automatische
Synchronisation
Hot Standby - Verfügbar
für LeseoperationenApplikationen /
Transaktionen
14 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
• Hinzufügen und Löschen von Grid Teilnehmer nachBedarf.
• Integrierte HA
• Integration mit
Oracle Clusterware
für automatisierten
Failover und
Recovery
Scale Out mit Cache Grid
Application
Standby
Active
Standby
Active
Standby
Active
Standby
Active
Standby
Active
Grid Teilnehmer
15 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
TimesTen Datenbank
• Bewährte Technologie für OLTP Lasten
• Erweiterung in Business Intelligence
• TimesTen mit ODP.NET
16 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
In-Memory Columnar Compression
• Komprimierung kann auf eine oder
mehrere Tabellenspalten angewandt
werden
• Optimiert für In-Memory Speicherung
• Geeignet für OLTP und BI Lastprofile
• Komprimierte Daten stehen weiterhin
für Online Zugriffe zur Verfügung
• Reduzierung um Faktor 5x (Kunden
Demodaten)
0
1
2
3
4
5
6
Ohne Komp. Mit Komp.
Speichernutzung
17 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
OLAP Reporting Funktion
• Erweiterte SQL Aggregation
– GROUPING SETS
– CUBE
– ROLLUP
• Analytische Funktionen
– Ranking Funktionen
– Statistische Funktionen
– Mit/Ohne Partitionen und Mit/Ohne “sliding windows”
• Query Optimierung und Processing für In-Memory Datenmanagement
18 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Index Advisor
• Empfehlung basierend auf gegebener
Arbeitslast
• Empfehlungen für Indexes, die
performanzverbessernd sind
– Single Table Scans
– Join Operationen
– ORDER BY und GROUP BY Operationen
19 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
TimesTen Datenbank
• Bewährte Technologie für OLTP Lasten
• Erweiterung in Business Intelligence
• TimesTen mit ODP.NET
20 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle’s Commitment zu .NET
20062002-03
.NET 1.x
2005
ODP.NET
ODT & .NET
SP
64-bit ODACODAC 2006
.NET 2.0 &
VS 2005
2007
.NET
3.0
VS 2003
ODAC
2008
2007-08
ODAC 2009
2009
ODAC 2010
2010
.NET 4 &
VS 2010
.NET 3.5 &
VS 2008
21 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Zusammenarbeit mit Microsoft
Engineering• Enge Zusammenarbeit mit Microsoft Engineering Teams
• Zugriff auf Pre-Release Microsoft “Product Drops”
Marketing
• Visual Studio Industry Partner (VSIP)
• Beiderseitiges Sponsorship von Events – TechEd, PDC, OpenWorld
• Gemeinsame Trainings, Road Shows, Collateral, etc.
Support• Microsoft Premier Support Agreement
• Zusammenarbeit der Support Teams
23 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Unterstützung der Microsoft-
Entwicklungsumgebung
Visual StudioUmgebung
IIS
Oracle Developer Tools for VS.NET
C++, C#, VB.NETApplikation
Develop
ODP.NET
Deploy
Oracle DB Extensions for .NET
IIS(ASPASP.NET)
MTS/COM+
Applikation
Deploy
Oracle Services for MTS
Database Development
24 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Visual StudioUmgebung
Oracle Developer
Tools for VS.NET
Windows
Windows
Linux
Solaris
Oracle 11g, 10g, 9i, oder 8i
weitere…
Oracle Data
Provider for .NET
und/oder...
und/oder...
und/oder...
Entwicklung auf WindowsDatenbank-Plattform wahlfrei
25 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Developer Tools for
Visual Studio
26 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Developer ToolsIntegration mit Visual Studio 2010 Server Explorer
Oracle DB im
Server Explorer
27 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Developer ToolsIntegration mit Visual Studio 2010 Server Explorer
Explain Plan
28 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODT Feature Übersicht
• Oracle Wizards und Designer– Table/View Designer
– Stored Procedure/Function/Package Wizards
– Grant/Revoke Privileges Wizard
– UDT Designer
– UDT Custom Class Code Generation Wizard
– Table/View Migration Wizard
• Oracle Data Window
• Oracle Database Project– Edit und Run SQL Scripts
– Built-in SQL*Plus
– Source Control Integration
• Integrated PL/SQL Editor und Debugger
29 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODT Feature Übersicht
• Oracle Query Window
– Ad Hoc SQL
– Explain Plan
• .NET Stored Procedure Deployment
• Integriertes Hilfesystem – SQL, PL/SQL Schlüsselwörter
30 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODT Feature Übersicht
• Performance Analyse und Tuning
– Oracle Performance Analyzer
– SQL Tuning Advisor
• Messaging
– Advanced Queuing (AQ) Designer
• Source Control Integration– SourceSafe, Team Foundation Server, Subversion, etc.
31 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Data Provider
for .NET
32 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET - Basics
• Implementiert Standard ADO.NET• Oracle DB-spezifische Fähigkeiten als Add-On
• Nativer Zugriff auf die Oracle Datenbank– Nutzt Advanced Oracle Datenbanke Features
– z.B. RAC, Performance, Security, Datentypen, XML, etc.
• DB Server auf jedem beliebigem OS
• DB Client kann 32-Bit oder 64-Bit sein– Unterstützt .NET Framework 1.0 bis 4
• DB Client und Server Versionen können ungleich sein
• Frei
33 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Features
• Connection Pooling– RAC- und Data Guard Pooling-Optionen
– Performance Counter
• Komplette PL/SQL-Unterstützung– Packaged, Non-Packaged, Anonymous, Autonomous
– Batch SQL-Verarbeitung mit anonymen PL/SQL
• Native Oracle-Datentypen– REF Cursors, LOBs, XMLType, TimeStamp usw.
– Safe Type Mapping mit .NET Datentypen
– Oracle-Datentypen im DataSet
• OracleDataAdapter.ReturnProviderSpecificTypes = true
34 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Features
• Promotable Transactions• Lokale Transaktionen werden zur Laufzeit
(bei Bedarf) zur verteilten Transaktion promotet
• benötigt Oracle Database 11g und OraMTS ab 11.1.0.7.20
• Parameters
– PL/SQL Associative Array-Datentyp
– LOBs und SecureFiles
• Pre-Fetch oder Defer LOB-Abfragen möglich
35 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Features
• XML– XMLType Datentyp
– XML aus DB abfragen und speichern
• Relational und Object-relational
– Interoperabilität mit MS XML APIs (z.B. XmlReader)
– Unterstützt XSLT, XPATH und XML Schema
• RAC– Automatic Load Balancing
– Automatische Bereinigung von “Dead” Connections
• Data Guard– Automatische Bereinigung von “Dead” Connections
36 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Features
• Database Change Notification
• Performance Tuning– Statement Caching
– FetchSize und RowSize
• Security und Auditing– Proxy Authentication
– End-to-end Tracing mit ClientId, Action und Module
• Deployment– Oracle Universal Installer – für Einzelplatz-Installation
– Xcopy Instant Client – für große Umgebungen
37 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Features
• Messaging– Oracle Streams Advanced Queuing API
• .Erstellen von NET Messaging Anwendungen mit der
integrierten Oracle Database Queuing-Technologie
• High Availability Event Notification und Callback– Event Handler einsatzbar für Reaktion auf geänderten DB-Status
• Code Access Security– Imperative und Declarative Oracle Security
• Programmierbarer Database Startup und Shutdown– Administrative Applikationen – Stichwort PowerShell
• u.v.m.
38 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
ODP.NET Self-Tuning Performance Vergleich
• ODP.NET 11.1.0.7.20 vs. 11.1.0.7.0 mit OLTP Workload
einer Kundenanwendung– Schnellere Beendigung (24%)
– Höherer Durchsatz (60%)
– Bessere Antwortszeiten (38%)
– Weniger Netzwerkverkehr (21%)
– Weniger CPU auf sowohl Client (19%) und Server (17%)
– Mehr Transaktionen pro Sekunde pro CPU auf Client (99%)
und Server (92%)
• Alle erreichten Verbesserungen waren Out-of-the-Box– Kein manuelles Tuning
39 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
<Insert Picture Here>
Weiterentwicklung…
40 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Weiterentwicklung…
• 100% Managed Provider
– Einschließlich Oracle Client
• Voll ADO.NET Compliant
• Release Planung
– Beta – 2011
– Produktiv – 2012
41 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Weiterentwicklung…
• Entity Framework und LINQ
– Beta Programm gestartet
– Aktuell Beta 3 verfügbar
– Produktiv in 2011 (Ende)
– Verfügbar als 32- und 64-Bit Version
• TimesTen Data Provider for .NET
– Verfügbar mit 11.2.0.2 (Produktiv)
42 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
D E M O N S T R A T I O N
TimesTen Data Provider für .NET