oracle database on windows

52
Oracle on Windows Kevin Ashby Enterprise Technical Strategist, Microsoft EMEA [email protected] Philip Newlan Principal Product Manager, Oracle Server Technologies [email protected]

Upload: vankhuong

Post on 11-Feb-2017

242 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Oracle Database on Windows

Oracle on WindowsKevin AshbyEnterprise Technical Strategist, Microsoft [email protected]

Philip NewlanPrincipal Product Manager, Oracle Server [email protected]

Page 2: Oracle Database on Windows

Agenda

SynergiesSynergies

Database ArchitectureDatabase Architecture

Systems ManagementSystems Management

HAHA

ConceptsConcepts

Data GuardData Guard

Oracle FailsafeOracle Failsafe

RACRAC

Active Directory, Visual Studio IntegrationActive Directory, Visual Studio Integration

SummarySummary

Page 3: Oracle Database on Windows

demo

Oracle Database 10g Release 1Simple Windows install

Page 4: Oracle Database on Windows

Commitment to Windows

Oracle7 was the first database to ship on Windows in 1994Windows Server is a base development platform for OracleWindows Server is a Tier 1, fully supported platform for OracleFocused Engineering and Product management groups for Windows-specific integration projectsSupported both 32-bit and 64-bit Windows Server 2003 on day of O/S release

Page 5: Oracle Database on Windows

Partnering with Microsoft

Oracle sponsors Microsoft events (PDC 2003, TechEd 2004, 2005)

Microsoft sponsors Oracle eventsOracleWorld 2004, UKOUG

Communication channels open at various levels in the organizations

Joint support contacts for customer escalationsHow we jointly solve problems

Conference calls, briefings, etc.

Page 6: Oracle Database on Windows

Oracle on Windows: Widely Deployed

29% of Oracle’s revenues are from Windows

Growth of 8.4% on previous year

2004 Oracle Revenues by OS 2004 Oracle Revenues by OS for new license salesfor new license sales

Source: Gartner Research - May 2005 ID G00127787Source: Gartner Research - May 2005 ID G00127787

Unix 49%

Linux 20%

Windows 29%

Other 2%

8.4%

Page 7: Oracle Database on Windows

Available December 20, 2005 Source: Transaction Processing Council (TPC), http://www.tpc.org

World Record TPC-H 1000 GB BenchmarkUsing an Bull NovaScale 5160

with 16 Intel Itanium 2 processors on 64-bit Windows 2003, Oracle Database 10g Release 2 achieved 15,070 QphH@1000GB

with a price-performance 44.33 US $ per QphH@1000GB.

Page 9: Oracle Database on Windows

Agenda

SynergiesSynergies

Database ArchitectureDatabase Architecture

Systems ManagementSystems Management

HAHA

ConceptsConcepts

Data GuardData Guard

Oracle FailsafeOracle Failsafe

RACRAC

Active Directory, Visual Studio IntegrationActive Directory, Visual Studio Integration

SummarySummary

Page 10: Oracle Database on Windows

Database Architecture

Thread model, not a port of Oracle’s process architecture

Oracle.exe, 1 process many threads

3GB (32-bit) or 8TB (64-bit) maximum memory per database instance. VLM support allows >3GB on 32-bit.

Page 11: Oracle Database on Windows

32-bit: VLM Support

SGA

Code

Windows Server 2003 Memory Limits (32-bit)

Standard Edition:4GB

Enterprise Edition:32GB

Datacenter Edition:64GB

database threads/memory

3GB with AWE

16GB

rest of

RAMFor O/S, other apps

For Kernel 1GB

Page 12: Oracle Database on Windows

32-bit: VLM Support

SGA minus db buffers

SGA

Code

rest of

RAMFor O/S, other apps

3GB with AWE

16GB

Window on dbbuffers in AWE mem

Extended memoryavailable for db buffers via AWE calls

Memory from AWE callsused for db buffers only.The amount of AWE memory allocatedequals db_block_sizetimes db_block_buffers.

Oracle operating system process. Normally limited to 3GB of address space. With VLM, Oracle can get up to 64GB of database buffers.

For Kernel 1GB

Page 13: Oracle Database on Windows

64-bit

Interoperability between 32-bit clients and 64-bit servers and vice versaImproved performance, availability and scalabilityTimeline

10.1.0.4 available NOW

32-bit to 64-bit upgrade process is simple32-bit data files are compatible with 64-bit DBNo need to recreate the databaseFull export and import not required

Database Upgrade Assistant automates processTransparent migration for end-user applications

No changes required to existing client applications when running against 64-bit database

Page 14: Oracle Database on Windows

Database Architecture

File I/O

Oracle10g supports asynchronous I/O to all types of files

Logical and physical raw files and partitions are fully supported (faster than NTFS)

Full 64-bit file I/O internallyMaximum file size is 64GB

Maximum database size is 4 petabytes

Page 15: Oracle Database on Windows

Database Architecture

Developed for WindowsIntegration with Performance MonitorIntegration with Event LogIntegrated with Windows Services

10TB database in productionUnlimited scalability on 64-bit

Page 16: Oracle Database on Windows

New for Windows Server 2003

Large Page supportFor instances with large memory requirements, large page support can improve performance.

NUMA support for memory/schedulingDatabase intelligently allocates memory and schedules threads based on node configuration

Page 17: Oracle Database on Windows

Automatically adapts to workload changes

Maximizes memory utilization

Single Parameter makes it easier to use

Helps eliminate out- of-memory errors

Can help improve performance

SGA

PGA

Large Batch Jobs

sort

Java Pool

SQL Cache

Large Pool

Buffer Cache

SQL Cache

sort

Online Users

Large Pool

Buffer Cache

Java Pool

Automatic Shared Memory Tuning

Page 18: Oracle Database on Windows

Oracle on Windows

All development Tools in placeODP Drivers

10.1.0.4 ODP.Net driver available

Oracle Developer Tools for Visual Studio .NETOracle Explorer

Designers and Wizards

Automatic Code Generation

PL/SQL Editor

Beta Support for .Net Language Stored Procedures

Stored Procedure TestingOracle Data WindowSQL Query WindowIntegrated Help System

Page 19: Oracle Database on Windows

Stored Procedure Testing

Page 20: Oracle Database on Windows

Cross-platform Security Integration (Kerberos)

With the Oracle Advanced Security Option, cross-platform Kerberos support is enabled

A Windows client can connect to a non-Windows server securely

Integrated with Microsoft Key Distribution Center (MSKDC)

Page 21: Oracle Database on Windows

Active Directory IntegrationDatabase registration and name resolution

Store and resolve connect descriptors through ADEliminate tnsnames.ora on clientsCentralize configuration, reduce administration

Enhanced tools support for storing connect descriptors

Windows Explorer, AD Users and ComputersOracle DB Configuration Assistant, Net Manager, Net Configuration Assistant

Page 22: Oracle Database on Windows

Database Name Resolution

Microsoft AD

WindowsEnvironment

2 - User specifies AD-stored

connect string4- Connection to

database is established

3 - Connect string is resolved

from ADS via Oracle Net

Oracle 10g

1 – Admin uses Oracle Net Manager or

DBCA to populate AD

connect string data

Page 23: Oracle Database on Windows

Single Sign-on Support (client/server)

Windows Native Authentication adapter provides:O/S authentication for database users

Database lookup of O/S-enabled roles

Authentication done via Kerberos

With the purchase of the Advanced Security Option, single sign-on can be done over SSL as well

Integrated with Microsoft Certificate Store (MCS) for X.509 certificates

Page 24: Oracle Database on Windows

Single Sign-on Support (three-tier)

Oracle’s mid-tier Single Sign-On server (SSO) is also integrated with Windows and Active Directory

Allows single sign-on support via Web browser credentials

Windows Authentication Plug-in allows interoperability between Oracle iAS (application server) and AD

Page 25: Oracle Database on Windows

User Sign-On to Oracle

OraclePortal

DelegatedAdministration

Console

OracleE-Business

SuiteRelease 11i

Oracle Internet Directory

Oracle10g Single Sign-On

Microsoft Active

Directory

WindowsEnvironment

1- Userattemptsto sign

on

2- Oracle Authentication

3- User identity

confirmed

4- Authentication via Windows

Plug-in

Page 26: Oracle Database on Windows

Conclusion

Oracle has been committed to Windows Server since its inception

Oracle is strongly integrated with the Windows Server Platform

Oracle is a top performing DBMS on Windows Server

Oracle is available on all Windows Server implementations (all editions, 32-bit, 64-bit Itanium, & this year 64-bit AMD/EM64T)

Page 27: Oracle Database on Windows

Agenda

SynergiesSynergies

Database ArchitectureDatabase Architecture

Systems ManagementSystems Management

HAHA

ConceptsConcepts

Data GuardData Guard

Oracle FailsafeOracle Failsafe

RACRAC

Active Directory, Visual Studio IntegrationActive Directory, Visual Studio Integration

SummarySummary

Page 28: Oracle Database on Windows

Systems Management : Grid Control

Page 29: Oracle Database on Windows
Page 30: Oracle Database on Windows
Page 31: Oracle Database on Windows

Agenda

SynergiesSynergies

Database ArchitectureDatabase Architecture

Systems ManagementSystems Management

HAHA

ConceptsConcepts

Data GuardData Guard

Oracle FailsafeOracle Failsafe

RACRAC

SummarySummary

Page 32: Oracle Database on Windows

HA Concepts

Design for (not all 4)Performance

Cost

Scalability

Availability99.999% is 5 minutes a year

4 hour

30 seconds - 5 minutes

Instant ?

Page 33: Oracle Database on Windows

Standby - Data Guard Configuration

Managed as a single configurationPrimary and standby databases can be Real Application Clusters or single-instance OracleUp to nine standby databases supported in a single configuration

PrimaryDatabase

Physical Standby

Database

Standby Site A

Standby Site B

Primary Site

Logical Standby

Database

Broker

Page 34: Oracle Database on Windows

Oracle Data Guard Architecture

Network Broker

ProductionDatabase

Logical StandbyDatabase Open for

Reports

SQLApply

Transform Redo to SQL

AdditionalIndexes & MVs

Physical StandbyDatabase

DIGITAL DATA STORAGE

DIGITAL DATA STORAGE

Backup

Redo Apply

Sync or Async Redo Shipping

Page 35: Oracle Database on Windows

Fast-Start Failover

Standby SitePrimary Site

Observer

1.Data Guard in steady state – transmitting redo2.Observer monitoring state of the configuration

Page 36: Oracle Database on Windows

Fast-Start Failover

Standby SitePrimary Site

Observer

1.Disaster strikes the primary – connections lost

Page 37: Oracle Database on Windows

Fast-Start Failover

Standby SitePrimary Site

Observer

1. Observer <=> primary connection times out (timeout threshold configurable)2. Observer asks target standby if it is ready to fail over3. Observer begins Fast-Start Failover

Page 38: Oracle Database on Windows

Fast-Start Failover

Observer

Primary Site

1.Target standby automatically becomes new primary

Page 39: Oracle Database on Windows

Fast-Start Failover

Observer

Standby Site Primary Site

1. After old primary is repaired, Observer re-establishes connection2. Observer automatically reinstates old primary to be a new standby3. Redo transmission starts from new primary to new standby

Page 40: Oracle Database on Windows

Clustering

Fail Safeprovides quick node failover

high availability solution

integrated with Microsoft Cluster Services (MSCS)

Real Application Clusters (RAC)shared-disk, clustered database

availability, scalability, reliability

Oracle-provided clusterware

Cluster File System (CFS) Oracle-written file system for shared disks

one software image can be shared by nodes

Page 41: Oracle Database on Windows

Oracle Fail Safe

High Availability for solutions deployed on Windows clusters

Supports Windows Server 2003 (and Windows 2000 Server and Windows NT Server) clusters

Support for Oracle Database, iAS, E-Business Suite 11i, Forms 6i, and Reports 6iProvides fast fail over, high availability

Supports up to 8 nodes on Windows Server 2003

Integrates with MSCS for resource failover

Page 42: Oracle Database on Windows

Oracle Fail Safe

Fail Safe Server

ResourceMSCS

Resource DLL

Fail Safe Server

ResourceMSCS

Resource DLL

Node A Node B

Fail Safe Manager

Cluster Disks

PrivateDisk

PrivateDisk

Page 43: Oracle Database on Windows

Before Failover…

Primary Server for Virtual Server C

Database Clients Secondary Server forVirtual Server C

PrivateDisk(s)

Database DisksShared I/O Interconnect

Group 1: Disk Resource IP Address Resource Network Name Resource Net Listener Resource Oracle Database Resource

Virtual Server: C

Node: A

Oracle Fail Safe Database Instance

PrivateDisk(s)

Node: B

Oracle FailSafe Server

MSCS

Oracle FailSafe Server

MSCS

Page 44: Oracle Database on Windows

Node goes down…

Primary Server for Virtual Server C

Database Clients Secondary Server forVirtual Server C

PrivateDisk(s)

Database DisksShared I/O Interconnect

Group 1: Disk Resource IP Address Resource Network Name Resource Net Listener Resource Oracle Database Resource

Virtual Server: C

Node: A

Oracle Fail Safe Database Instance

PrivateDisk(s)

Node: B

Oracle FailSafe Server

MSCS

Oracle FailSafe Server

MSCS

Page 45: Oracle Database on Windows

After failover…

Primary Server for Virtual Server C

Database Clients Secondary Server forVirtual Server C

PrivateDisk(s)

Database DisksShared I/O Interconnect

Group 1: Disk Resource IP Address Resource Network Name Resource Net Listener Resource Oracle Database Resource

Virtual Server: C

Node: A

Oracle Fail Safe Database Instance

PrivateDisk(s)

Node: B

Oracle FailSafe Server

MSCS

Oracle FailSafe Server

MSCS

Page 46: Oracle Database on Windows

Real Application Clusters

RAC is database clusteringShared disk solution

One physical database serviced by multiple cluster nodes/instances

Cluster consists of database nodes, fast cluster interconnect, shared disk subsystem

Oracle provides integrated clusterware and storage management

Page 47: Oracle Database on Windows

RAC Architecture

ClusteredDatabase Instances

With Oracle Clusterware

ASM Disk Subsystem

High Speed Switch or Interconnect

Switch Fabric, iSCSI or Shared SCSI

Application Servers/ Network

Centralized Management Console

Interconnect

Users

Each Node runs• Oracle Clusterware• Oracle Instance

Shared Cache

Page 48: Oracle Database on Windows

RAC Cluster Database Clients

PrivateDisk(s)

Node: A

10g

Oracle Clusterware

Oracle Listener

Virtual IP

Node: B

10g

PrivateDisk(s)

Oracle Clusterware

Oracle Listener

Virtual IP

Node: C

10g

PrivateDisk(s)

Oracle Clusterware

Oracle Listener

Virtual IP

Shared Disk

Page 49: Oracle Database on Windows

RAC Licensing

RAC is available for 2 Oracle database levelsOracle Standard Edition

RAC is Free with SE ( up to 4 CPU’s total - 2 or 4 nodes)

Oracle Enterprise Edition ( up to 100 nodes )

Minimum licence for an SE/RAC cluster is$3,000 for a 2 node cluster

Oracle Hardware Partners have bundled offeringsRAC in a box (http://www.dell.com/oracle)

Page 50: Oracle Database on Windows

Cluster File System

Oracle10g Clustered File System (CFS) on Windows for easier manageability

Support database files on CFS instead of raw partitions, which are much harder to manage

Put ORACLE_HOME on CFS, providing better single system image

Implemented as a Windows file system via kernel-mode driver

Cluster aware installation through the Oracle Universal Installer

Page 51: Oracle Database on Windows

demo

Oracle Database 10g Release 1Install Complete&Oracle dbcontrol for Systems Management

Page 52: Oracle Database on Windows

Ask The ExpertsGet Your Questions Answered

You can find me at the Microsoft Ask the Experts area, located in the Exhibition Hall:

Thursday 7 July 13:30 – 15:00