44

Information When and Where It's Needed with Oracle Database 10g

Embed Size (px)

Citation preview

Page 1: Information When and Where It's Needed with Oracle Database 10g
Page 2: Information When and Where It's Needed with Oracle Database 10g

Information When and Where It's Needed with Oracle Database 10g

Bob ThomeSenior Manager, Distributed Database

Oracle Corporation

Session id: 40149

Page 3: Information When and Where It's Needed with Oracle Database 10g

Oracle Database 10g – The Database for Grid Computing

Better information faster– Spread work across more resources– Access to resources on demand

Easy alignment of IT resources with business needs

– Dynamic allocation of resources as needed Reduced IT costs

– Improve utilization of existing resources– Utilize less expensive commodity platforms– Consolidate resources to reduce management

costs

Page 4: Information When and Where It's Needed with Oracle Database 10g

Virtual Computing Resources

The Grid enables virtualization of resources across servers, data centers, and enterprises

Types of virtual resources– Network– Storage– CPU– Data

Provisioning technologies the key to unlocking the virtual resources on the Grid

Page 5: Information When and Where It's Needed with Oracle Database 10g

Data Provisioning

Provides access to data when and where you need it

Optimizes information access regardless of physical location of data

Integrates information in distributed environments

Enables virtualization of data in Grids

Page 6: Information When and Where It's Needed with Oracle Database 10g

1986 2002

Oracle Data Provisioning

Oracle Streams

Message Gateways

Enterprise/Generic Gateways

Rules Engine Advanced Replication

Heterogeneous Services

Publish/Subscribe

Advanced Queuing Symmetric Replication

Updateable Snapshots (Replication) Remote Procedure Calls

Read Only Snapshots (Replication)

Gateways to 3rd Parties

Distributed Transactions

Location Transparency

Distributed Query

Grid Computing

Page 7: Information When and Where It's Needed with Oracle Database 10g

Methods of Data Provisioning

Consolidate Information Federate Information Share Information

Page 8: Information When and Where It's Needed with Oracle Database 10g

Methods of Data Provisioning

Consolidate Information Federate Information Share Information

Page 9: Information When and Where It's Needed with Oracle Database 10g

Consolidate Information

Consolidate heterogeneous data into a central database

– Any data (audio, video, XML, email, messages, etc…)

– Any platform (Linux, Windows, Solaris, HPUX, AIX, Tru64, OpenVMS, OS/390)

– Proven scalability Hundreds of Very Large Database customers Industry leading benchmarks

Page 10: Information When and Where It's Needed with Oracle Database 10g

Benefits of Consolidation

Simplest form of Data Provisioning Lower administration costs

– Fewer servers and databases to manage

Faster application deployment– Deploy application once, at central server

Faster access to global data– Queries and DML run faster against centralized

data

Page 11: Information When and Where It's Needed with Oracle Database 10g

Features

Massive database support Real Application Clusters (RAC) XML Database Virtual Private Database Partitioning LOBs and BFILEs Loading and migration tools And many more…

New

Page 12: Information When and Where It's Needed with Oracle Database 10g

Massive Database

Ultra large database: 8 Million Terabytes Ultra large number of Tablespaces or Files: 64K

– Tablespaces become tapes in a tape rack

Ultra large data files: 4 Terabytes in a single file Ultra large LOB columns: 8 Gigabytes * blocksize

– Essentially unbounded, can store any object

Proven scalability: Hundreds of VLDB customers

New

Page 13: Information When and Where It's Needed with Oracle Database 10g

Methods of Data Provisioning

Consolidate Information Federate Information Share Information

Page 14: Information When and Where It's Needed with Oracle Database 10g

Federate Information

Federate data in multiple data stores into a single virtual database

– Access both Oracle and non-Oracle data– Access both structured and unstructured data– Hide physical location of data from applications

Page 15: Information When and Where It's Needed with Oracle Database 10g

Benefits of Federation

Fast provisioning– Simple changes yield immediate results

Supports provisioning of data that cannot be consolidated

– Legacy applications– Data requiring local ownership

Ad Hoc provisioning to infrequently accessed data

Page 16: Information When and Where It's Needed with Oracle Database 10g

Features Multiple access methods

– Distributed SQL– XQuery

Any data source– Oracle and non-Oracle

data stores– External files– Web services

Advanced indexing technology

Oracle

DB2

XML

Excel

FlatFiles

TextWebServices

Page 17: Information When and Where It's Needed with Oracle Database 10g

Access Remote Databases with Distributed SQL

Access remote data store transparently

– DB Links hide location of remote data store

Access multiple data stores as single DB

– Tables in multiple remote databases appear local

Perform distributed transactions

– automatic two-phase commit– distributed SQL optimizations

Page 18: Information When and Where It's Needed with Oracle Database 10g

Access Data with XQuery

Query structured and semi-structured data– Relational Data– Native XML files

Reduce application complexity XQuery support evolving with emerging

standard

Page 19: Information When and Where It's Needed with Oracle Database 10g

Access Oracle and non-Oracle Data Stores

Heterogeneous data integration built into the Oracle database

– SQL Translation– Data Dictionary Translation– Procedure execution on non-Oracle system

Transparent Gateways– Available for most major non-Oracle data stores (e.g.,

DB2, SQL Server, Sybase, etc.)– Optimized, certified, end-to-end support

Generic Connectivity– Gateway to any 3rd-party ODBC or OLEDB driver

Page 20: Information When and Where It's Needed with Oracle Database 10g

Access External Files

Access native XML Files– Query via XQuery or SQL

Access proprietary file types via filters– Transform into XML files– Over 100 file types supported by supplied filters

Access external tables– Map data in external files into tables

Page 21: Information When and Where It's Needed with Oracle Database 10g

Database Web Services

Web services consumer– Java classes, PL/SQL, triggers call external

services– Web services viewed as SQL data source

Web services provider– Query database via web service– Perform messaging operations– DML Web Services– Call PL/SQL, Java

Full XML support in database

New

Page 22: Information When and Where It's Needed with Oracle Database 10g

Access Web Services as a SQL Data Source

Built-in support for access to web services data

Track, aggregate, refresh, and query dynamic data and data produced on demand

Web

Service C

lient

Fram

ewo

rk (S

OA

P)

Datab

ase Mo

du

le (W

eb S

ervice

Clien

t)

SELECT city_name, temp, low_temp, high_temp FROM TABLE (Temp_TF)

SOAP Request/Response

HT

TP

Clien

t S

tack

Web Service Provider

(e.g., Weather Service)T

able

Fu

nct

ion

New

Page 23: Information When and Where It's Needed with Oracle Database 10g

Locate Information with UltraSearch

Oracle Ultra Search indexes documents across multiple repositories

– Oracle and non-Oracle databases, HTML web pages, files on disk, IMAP mail servers, and more

Search document meta-data as well as content “Normalize” meta-data across multiple data stores Crawl Oracle databases and others that support

ODBC standard

Page 24: Information When and Where It's Needed with Oracle Database 10g

Federation in Action

Hong Kong Ministry of Education

Integrate legacy Sybase applications with new packaged applications running Oracle

Must keep data synchonized in real-time

Solution: Transparent Gateway

Oracle Sybase

PackageApp

LegacyApp

Page 25: Information When and Where It's Needed with Oracle Database 10g

"Oracle Distributed SQL allows us to effortlessly update data in multiple databases as a single

distributed transaction… reducing the burden on our

application developers."

"Oracle Distributed SQL allows us to effortlessly update data in multiple databases as a single

distributed transaction… reducing the burden on our

application developers."

- Charles Farnell, Venture Forth

Page 26: Information When and Where It's Needed with Oracle Database 10g

Methods of Data Provisioning

Consolidate Information Federate Information Share Information

Page 27: Information When and Where It's Needed with Oracle Database 10g

Share Information

Share information between users, applications, and databases

– Move or copy information as needed– Traditionally implemented as replication or

message queuing– Has evolved to include warehouse loading, event

notification, workflow, and EAI

Page 28: Information When and Where It's Needed with Oracle Database 10g

Benefits of Sharing

Greater flexibility– Locate data where you want it– Control access– Share information with business partners

Faster access to local data– Queries and DML run faster against smaller, local data

store

Higher Availability– Applications not dependent on availability of remote data

stores

Page 29: Information When and Where It's Needed with Oracle Database 10g

Information Sharing Features

Streams– Message Queuing– Replication– Workflow– Much more

Materialized Views Transportable Tablespaces Data Pump New

Page 30: Information When and Where It's Needed with Oracle Database 10g

Eliminate Complexity with Oracle Streams

Unifies all enterprise information into a single Stream

– Unifies database, messaging, replication, publish/subscribe APIs and capabilities

Avoids inherent problems with multiple technologies:

– Multiple development models– Multiple operational models– Builders do the integration

Not just a unified branding of different features

Page 31: Information When and Where It's Needed with Oracle Database 10g

Unified Infrastructure for Information Sharing

Rules based Publish/

SubscribePropagation

Directed andSubset

InformationStreams

In streamTransformations

AutomatedCaptureData Data

ChangesChanges

DatabaseDatabaseEventsEvents

ApplicationApplicationMessagesMessages

DataDataFeedsFeeds

DataDataWarehouses Warehouses and Data Martsand Data Marts

UpdateableUpdateableReplicasReplicas

MessagingMessagingApplicationsApplications

StandbyStandbyDatabasesDatabases

Operational Operational Data StoresData Stores

Intelligent, Unified, Intelligent, Unified, Time OrderedTime Ordered

Information StreamInformation Stream

Page 32: Information When and Where It's Needed with Oracle Database 10g

Stream a File or Database

Oracle Streams can move any file– OS File, BFILE, Database File (tablespace)

Create a replica with a single command– Select tablespaces to replicate and DB Link– Automatically create a synchronized copy

Tracks changes at sourceTransports tablespacesApplies changes to destination

Easy to extend/modify configuration– Apply changes from replica to production database– Add data transformations

Offload processing or migrate to the grid

New

Page 33: Information When and Where It's Needed with Oracle Database 10g

Grid migration with no downtime

Migrate to the Grid – Single command moves your database

Migrate between different platform/OS– Cross-platform transportable tablespaces

move data to new database

No downtime– Capture changes at

source during migration– Update new database– Repoint applications

New

Page 34: Information When and Where It's Needed with Oracle Database 10g

Oracle10g Streams Features

Downstream Capture Performance Improvements Manageability Improvements Row Migration enhancements Expanded datatype support RAC Hot mining and failover Simplified messaging APIs Batch Enqueue/Dequeue of messages Automatic preparation for Explicit Dequeue of

messages Tibco Messaging Gateway

New

Page 35: Information When and Where It's Needed with Oracle Database 10g

Share Data with Materialized Views

Data warehousing– Compute and store aggregated

data, such as sums or averages, for faster queries

Mobile computing– Easy mass deployment– Disconnected computing

Replication– Incrementally maintain local

subset of data – Read-only or updateable with

conflict resolution

NYNY(master)(master)

Updateable Materialized Views

Page 36: Information When and Where It's Needed with Oracle Database 10g

Transportable Tablespaces

Unplug and plug database data files– Move and share data without unload and reload– Plug/unplug performance independent of tablespace size– Mount read-only tablespaces on multiple databases– Cross-platform support– Rename Tablespaces

OS copyFile 1 File

2expdat.dmp

File 1 File

2expdat.dmp

2424

New

Page 37: Information When and Where It's Needed with Oracle Database 10g

Data Pump

High speed, parallel, bulk data and metadata movement of Oracle database contents

– Throttle parallelism up or down, stop and restart– Network mode requires no intermediate dump file

Flexible tool for moving or copying subsets of database in the Grid

– Flexible object selection transfers specific objects– Remaps schemas, datafiles and tablespaces– Interactively add files to dump set

Streams compatible– Export objects to new database and use Streams to

synchronize

New

Page 38: Information When and Where It's Needed with Oracle Database 10g

Data Sharing with Streams: Internet Securities, Inc.

Internet Securities, Inc (www.securities.com) provides Internet-delivery of emerging market news and business information

Over 1 Terabyte of content from over 4400 publications (retained since 1988)

Growing by 10,000 documents per day Documents indexed using Oracle Text Increasing customer demand required

performance and availability improvements

Page 39: Information When and Where It's Needed with Oracle Database 10g

Data Sharing with Streams: Internet Securities, Inc.

Replica of Search database maintained using Oracle Streams to improve performance and availability

Queries execute in half the time or better Switchover in case of failure is instantaneous Can scale to additional replicas as demand grows

Streams

Search DB Search DB

Page 40: Information When and Where It's Needed with Oracle Database 10g

"Streams proved to deliver all the

functionality we wanted for a large

scale database replication solution."

"Streams proved to deliver all the

functionality we wanted for a large

scale database replication solution."

-W. Les Wozniak, Rosetta Biosoftware

Page 41: Information When and Where It's Needed with Oracle Database 10g

Network

Provisioning Data in the GridClustered database Instances

SAN 1 SAN 2 SAN 3 SAN 4

BladeRack

Page 42: Information When and Where It's Needed with Oracle Database 10g

Summary

Oracle supports efficient provisioning of data resources:

– Consolidate Information—Scalable access to large amounts of information

– Federate Information—Data can be located where needed but accessed as single database

– Share Information—Multiple users and applications can share data/information to operate more effectively

Page 43: Information When and Where It's Needed with Oracle Database 10g

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

Page 44: Information When and Where It's Needed with Oracle Database 10g