Upload
ibm-cloud-data-services
View
1.390
Download
1
Embed Size (px)
Citation preview
Run Oracle Apps in the Cloud with dashDB
IBM Cloud Data Services
©2015 IBM Corporation 
A few of our IBM Cloud DBaaS Offerings…
Cloudant dashDB BigInsights on Cloud DB2 on Cloud IBM Analytics for
Apache Spark
Operational Data Store
Cloud Data Warehouse
Hadoop in the Cloud
Hosted Database in the Cloud
Fully Managed Spark
• Global data distribution
• Massively scalable• Eventually consistent
data model• Built for mobile,
Systems of Engagement
• SQL interface• MPP• ACID compliance• Columnar, in-memory
performance• BLU augmented with
NZ in-DB analytics• Built for Systems of
Insight
• Bare metal performance
• Build on reference architecture
• BigInsights enterprise features
• Power of DB2• Fast Provisioning• Flexible pricing• No loss of DBA control• Built for Systems of
Record
• In-memory application framework for data processing and analysis
• Built-in machine learning
• Elastic scaling
©2015 IBM Corporation 
IBM dashDB
Fast, fully managed serviceIn-memory technology = high performancePredictive modeling built into the databaseWorks with an ecosystem of BI apps and toolsIntegrated security and maintenance
Data warehousing in the cloud
1. Augment existing data warehouse 2. Tap into born-on-the-cloud data –
Analysis of NoSQL
3. Data science data store 4. Standalone enterprise data
warehouse-as-a-service
©2015 IBM Corporation 
dashDB is available as a fully managed service through IBM Bluemix.
IBM manages the setup, configuration, tuning and disaster recovery operations, so you can get straight to building…
©2015 IBM Corporation 
dashDB features
Oracle compatibility BLU in-memory acceleration Columnar technology In-database predictive analytics Cloudant integration for JSON analytics Built-in Netezza algorithms SoftLayer bare metal infrastructure Open data and Twitter data integration Elastic and high performance MPP architecture
©2015 IBM Corporation 
‘Load and Go’simplicity- Oracle Exadata and Oracle RAC are extremely complex and time consuming to configure, tune and manage
Dynamic in-memory optimized technology- Oracle Exadata is NOT an in-memory database
Column organization performs better for analytics- Oracle is row based – only has ‘patchwork’ columnar database capabilities
dashDB is Better, Faster and Simpler
©2015 IBM Corporation 
Actionable compression delivers superior performance- Oracle can’t work on compressed data
SIMD exploitation of CPU speeds up performance- Oracle doesn’t exploit SIMD or offer columnar support
Dynamic caching means hot columns stay in memory - Oracle is forced to read data that the query isn’t interested in… wasted memory, wasted CPU, wasted I/O…
dashDB is Better, Faster and Simpler
©2015 IBM Corporation 
WITH ORACLE IN-MEMORY OPTIONDatabase design and tuning1. Decide on partition strategies
2. Select row compression strategy
3. Create table
4. Load data
5. Decide what partitions are hot
6. Decide what columns are hot
7. Allocate enough memory for columnar
8. Alter tables/partitions to specify what objects you want to have columnar9. Decide what if any indexes to drop
10. Monitor memory to ensure you don’t run out
Simplification of Analytic Operations
CreateLoadGO!
Repeat
AFTERdashDB1. Create table
2. Load data
dashDB / Oracle Compatibility
What does it mean?
©2015 IBM Corporation 
Compatibility: what does it mean?
Syntax toleration and feature extensionsWhere no semantic conflicts exist
Compatibility modeOvercome clashes between dashDB and other SQL
dialects
Database Conversion WorkbenchTooling to assist with evaluation and conversion
Near out of the box compatibility for your app- Client side- Server side
©2015 IBM Corporation 
Oracle Database > dashDB
Concurrency Control > Native support
SQL > Native support
PL/SQL > Native support
Packages > Native support
Built-in Packages > Native support
OCI > Native support
JDBC > Native support
Online Schema Changes > Native support
SQL *Plus Scripts > Native support
dashDB runs Oracle code seamlessly
SQL Runtime Engine
SQL Compiler PL/SQL Compiler
SQL PL Compiler
Application
dashDB service
DatabaseNot Emulation
©2015 IBM Corporation 
SQL Compatibility: Feature Highlights
Features
SQL Dialect
NUMBER, VARCHAR2, NVARCHAR2, DATE,
SUBTYPE, VARRAY, HASH TABLES, ROW TYPE, CURSOR TYPE
(+) Join Syntax, ROWNUM, Oracle built-in functions
PL/SQL Native support for most PL/SQL syntax
PL/SQL Packages Named collection of functions, procedures, types and variables
Built-in Package Library
DBMS_ALERT, DBMS_JOB, DBMS_DDL, DBMS_LOB
DBMS_SQL, DBMS_OUTPUT, DBMS_PIPE, DBMS_UTILITY
UTL_FILE, UTL_DIR, UTL_MAIL, UTL_SMTP
Application Enablement
OCI
JDBC Extensions
SQL*Plus Scripts
And more …
©2015 IBM Corporation 
Architecturally the concepts are the sameEasy to learn
I/O Subsystem Asynchronous, Parallel I/O Automatic, Intelligent Data Striping with Parallel I/O Big block I/O Scatter/Gather I/O
Parallelism SQL and Utilities Intra- & Intra-Partition Parallelism Cost-based Optimizer with Query
Rewrite Dynamic throttling based on load
Very Large Memory Exploitation
64 bit Support I/O Buffering Multiple Buffer Pools
SMP Exploitation All CPUs exploited through OS
threads and processes
Database Conversion Workbench
The Conversion Process
IBM Database Conversion Workbench (DCW)
An easy framework that can help you:• Move your Oracle databases to
dashDB• Move your Pure Data for Analytics
(PDA) databases to dashDB
Provided as a no-charge plug-in to add migration capabilities to Data Studio
DCW is comprised of several tools and wizards that guide users through well-defined best practices migration steps
©2015 IBM Corporation 
DCW Functions and Features
DCW Task Launcher - An integrated help guide, which provides step by step instructions through the conversion process
DDL Extraction - Extracts objects in the source database, used by DCW to analyze the source database and provide compatibility assessment and work effort
Compatibility Evaluation – Provides a report of the estimated % compatibility of Oracle SQL and PL/SQL statements with dashDB, outlining the major issues of the conversion, code that was auto-converted, as well as code that must be fixed manually*Note: report is encrypted for non-IBM users. The encrypted file can be sent to [email protected], which will reply with a decrypted report
Code Conversion - Auto-converts Oracle syntax to dashDB compatible syntax. This streamlines a time consuming process
Object Creation – splits a single DDL file into multiple files, organized by object types, which can then be executed against the target dashDB database to create the required objects Object Dependencies Visualizer - Generates a dependency graph of objects in the source database
©2015 IBM Corporation 
Database Conversion Workbench (DCW)
©2015 IBM Corporation 
Assessment: Extract database DDL and PL/SQL from source
DCW wizards will walk users through processes to extract DDL and PL/SQL from source (Oracle) database … one of two ways:
1. via a connection from Data Studio to Oracle database
2. generation of custom extraction script to be run against Oracle database
©2015 IBM Corporation 
Assessment: Import database DDL and PL/SQL into DCW
• After user has obtained the source DDL and PL SQL, DCW Import wizard will walk user through process to import file into DCW
• The DDL file is imported into a DCW Project, and automatically converted to a .sql extension
©2015 IBM Corporation 
Assessment: Generate the DCW Evaluation Report
email: Encrypted file
Run DCW Evaluate Compatibility wizard
DCW will generate an .xmle file
IBM will email decrypted and formatted report to user
©2015 IBM Corporation 
Assessment: Report and Automatic Code Conversion
• Compatibility Evaluation Report - provides the estimated % compatibility of Oracle SQL and PL/SQL statements with dashDB, outlining the major issues of the conversion that require special attention, code that was auto-converted, as well as code that must be fixed manually
• Automatic Code Conversion - Auto-converts Oracle syntax to dashDB compatible syntax
©2015 IBM Corporation 
Compatibility is implemented in dashDB's core for native performance
dashDB customers benefit from simplified skills transfer
dashDB will continue to extend compatibility with Oracle applications to further drive down enablement cost
dashDB provides tooling for up front evaluation and to assist with the conversion
dashDB & Oracle Compatibility
Get started:
www.dashdb.com
https://developer.ibm.com/clouddataservices/docs/dashdb/get/install-ibm-database-conversion-workbench/