oracle 11g runs faster, costs less · features that run faster and cost less advanced compression o...

21
Oracle 11gR2 Runs Faster, Costs Less Copyright © 2011 MyDBA CC By Craig Moir of MyDBA With technical contribution by Tommie Grove and Jared Jordaan of MyDBA June 2011 Version 2

Upload: tranxuyen

Post on 18-Aug-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Oracle 11gR2 Runs Faster, Costs Less

Copyright © 2011 MyDBA CC

By Craig Moir of MyDBA With technical contribution by Tommie Grove and Jared Jordaan of MyDBA

June 2011

Version 2

Page 2: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

With the release of Oracle 11g and in particular Oracle 11g Release 2 ,

not only has Oracle managed to deliver significant performance

enhancements to the database, but they have also managed to reduced

the cost of running an 11g database.

11g features also add immense value to your software investment while

drastically reducing overall risk.

This presentation will show how Oracle 11g can boost your database

performance while reducing your cost.

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

Page 3: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

By utilizing Oracle Database 11g Release 2 as your data management foundation, Oracle can give you the ability to:

Reduce server costs by a factor of 5

Reduce storage requirements by a factor of 12

Improve mission critical systems performance by a factor of 10

Increase DBA productivity by a factor of 2

Eliminate idle redundancy in the data center, and

Simplify your overall IT software portfolio.

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

Page 4: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Just how fast is Oracle 11g Release 2?

To coin a phrase from a local telecoms provider, Oracle 11gR2 is

WHOOSH fast!

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

Page 5: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Just how much can Oracle 11g Release 2 save you?

Up to 70% cost savings overall on hardware, storage, software,

support and management.

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

70% saving

Page 6: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Now let’s get into the details

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

Page 7: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Run Faster

SQL Execution plans o Freeze execution plans to maintain performance stability.

o Stored execution plans can be associated with SQL statements. Tune vendor application code without changing their application.

SQL, PL/SQL and OCI Result Cache o Cache results from SQL queries, PL/SQL functions as well as on the Client side with OCI Consistent Client Cache.

o Benchmarks show a 25% performance improvement.

Materialized view with pre-computed aggregates o Pre-computes aggregates.

o Automatic query re-write.

o Methods for aggregate computations can be Immediate, Deferred, Incremental, Full or ON COMMIT.

Parallel partition-wise joins o Enables each parallel execution server to join a pair of matching partitions.

o Significantly reduces communications and memory overheads.

Copyright © 2011 MyDBA CC

Page 8: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Run Faster

Mixed sync and async redo apply with Data Guard o Switches between synchronous and asynchronous redo apply depending on environment performance.

o Get the best of performance and data protection at the same time.

o Recovery not impacted by performance, performance not impacted by recovery.

Deferred statistics publishing o Publish statistics only when all objects have been analysed.

o Publish stats at the right time.

o Maintains stability and performance by not mixing old and new stats between objects.

Lightweight jobs o Minimal overhead in generating lightweight jobs – no database object creation.

o Create a large number of jobs in a very short space of time.

Copyright © 2011 MyDBA CC

Page 9: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Cost Less

Interval partitioning o Oracle automatically adds partitions.

o Self managed therefore no DBA intervention required.

Data Guard automatic block corruption repair o Automatically repairs corrupt blocks between primary and standby databases, and vice versa.

o No DBA intervention required.

o No manual restores or recoveries required.

o Reduces risk by eliminating human detection and intervention.

Invisible indexes o Create, drop and test new indexes without affecting the optimiser and current execution plan.

o Make indexes ‘visible’ to the optimiser for use once performance is assured.

o Reduces regression downtime and unforeseen performance degradations.

o Downtime and poor performance costs money.

Oracle Scheduler o Sophisticated scheduler with remote O/S jobs capability.

o Time based, dependency based, event based scheduling.

o Eliminates the need for third party schedulers.

Copyright © 2011 MyDBA CC

Page 10: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Cost Less

Total Recall – Flashback Data Archive o Tracks all changes to Oracle data for the life time of that data.

o Seamless access to archived historical data.

o Reduces cost and risk of compliance.

o Compressed archives reduces storage costs.

o No third party products, archived data available from the same database with the same application.

Online application upgrades with Edition-based Redefinition o Revolutionary feature allows for multiple versions of the same application to reside and transact simultaneously in the same database.

o Upgrade instantly to new application version. Downgrade instantly to previous application version.

o No stopping and starting of applications.

o No database downtime to implement or rollback application changes.

o Significantly reduces application upgrade costs and risk.

• Zero Downtime Upgrade or Patching for Oracle Clusterware and Oracle RAC o Patch Oracle Clusterware and RAC without taking the entire cluster down.

o Patchsets are now installed as out-of-place upgrades. Simply stop old version and restart with new version to complete node upgrade.

o Done node by node (rolling upgrade).

o Eliminates planned downtime when upgrading.

Copyright © 2011 MyDBA CC

Page 11: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Cost Less

ACFS File system replication o ACFS provides remote file system replication for DR standby implementations.

o Data Guard replicates the database while ACFS replicates all other files that are outside of the database.

o Achieve full environment replication without requiring other third part file system replication software.

Oracle SecureFiles o Stores unstructured data such as video, audio, images and documents inside the database.

o Consistent single security, auditing, backup/recovery, transaction and concurrency model for storing ‘all data’ within the database.

o No need for file systems or file system backups therefore less management overhead.

o Data is compressed saving on storage requirements.

Oracle Database File System (DBFS) o DBFS is standard file system interface on top of files that are stored in database tables.

o Store business data files in the database along side traditional relational data.

o Benefit from a unified data and file backup, Disaster Recovery, transactional consistency, security and search and management

capabilities provided by databases.

o Provides compression, deduplication and encryption of files.

o Reduced storage requirements.

o No third party products required to achieve compress or encryption.

Copyright © 2011 MyDBA CC

Page 12: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Cost Less

Real Application Testing (RAT) o RAT captures ‘live’ real-world database transactions and workloads for playback and analysis in the new environment.

o RAT facilitates faster and easier upgrades, hardware replacements, and operating system changes

o Dramatically reduces testing costs and testing time while also improving testing quality.

Support 4 KB Sector Disk Drives o Oracle 11GR2 supports both 512 B and 4 KB sector disk drives simultaneously in the same database.

o Adopt cheaper/faster technology with absolutely no changes to the database.

o ASM provides a ‘free’ migration tool for moving data onto new 4 KB sector disk drives .

PL/SQL Hierarchical profile o Enables drill down capabilities into PL/SQL program and sub-program execution statistics.

o DBA can easily tune PL/SQL code and in doing so drastically reduces problem identification and resolution.

o Requires no source or compile time modifications.

Enterprise Manager Data Masking o Provides end to end secure automation for provisioning test databases from production in compliance with regulations.

o Test with full ‘live’ datasets while still maintaining full security and compliance.

o Eliminates the time & effort required to generate effective test data while also improving testing accuracy.

Copyright © 2011 MyDBA CC

Page 13: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Cost Less

Automatic Diagnostics Repository (ADR)

o XML based logging and standardised error recording for all Oracle products.

o Automatic detection of critical errors and incident generation.

o Faster and easier error collection and incident package creation.

o Automated management of incidents and packages via retention policies.

o Fast turn around time for problem resolution by linking to Oracle Support for opening, managing and resolving SR’s.

o Saves DBA time and effort while increasing uptime through fast and accurate problem detecting, reporting and resolution.

o Automatic or manually invoked database Health Monitor.

Automatic Workload Repository (AWR) and Automatic Database Diagnostics Monitor (ADDM) o AWR collects snapshots of system statistics on a regular basis and stores them in a repository.

o ADDM analyses statistics gathered by AWR.

o ADDM provides solutions to any problems found by using decades of tuning experience built into ADDM.

o AWR and ADDM provide proactive performance tuning advice.

SQL Access Advisor and SQL Tuning Advisor o Advises on the best access for Materialized Views, Indexes, Partitions and Dimensions.

o Manual or automatic tuning advice for SQL from AWR repository or top SQL in database cache.

o Proactive, effortless tuning assistance for the DBA

o No third party products required to maintain optimal performance of the database.

Copyright © 2011 MyDBA CC

Page 14: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Run Faster and Cost Less

Advanced Compression

o Reduce storage requirements by 60% or more.

o Triple storage capacity without tripling data centre foot print, heat generation and cooling cost i.e. more green.

o More data per read and write means faster I/O.

o More data cached in memory increases performance.

DataPump and RMAN compression o Dramatically reduced database dump and backup size.

o 60% smaller backup size means faster backup to offline storage, and faster restore from offline storage.

o Substantially reduced tape library requirements.

Flash Cache o 5x or more increase in database performance.

o Huge performance benefit with absolutely no licensing impact.

o High performance with extremely low power consumption, typically 2 TB of flash cache uses 260 Watts which is less that 3 light bulbs!

PL/SQL Real Native compilation o Compiles PL/SQL into executable machine code.

o Extremely fast, no longer runs as interpreted code.

o No C-compiler required, no C-compiler licences needed.

Copyright © 2011 MyDBA CC

Page 15: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Runs Faster, Costs Less

Features that Run Faster and Cost Less

SQL Performance Analyser (SPA)

o SPA automates identification of all SQL performance regressions resulting from changes.

o Capture, re-execute and analyse SQL, then implement changes and re-execute and compare and analyse results.

o Automatically tracks hundreds of thousands of SQL statements.

o Reduces DBA workload.

o Reduces implementation risk, reduces testing costs, improves testing quality and reduces implementation time.

Automatic Storage Manager (ASM) o Fully automates storage management.

o Automated I/O tuning, dynamic rebalancing, intelligent mirroring, flexible redundancy.

o Eliminates 3rd party storage management layers.

o Dramatically reduces and simplifies storage management.

Copyright © 2011 MyDBA CC

Page 16: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

MyDBA is an Oracle Gold Partner Specialized in the following:

Oracle Database 11G

Oracle Performance Tuning 11G

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

Page 17: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

MyDBA Consulting Services

This presentation is just an small example of the immense value intrinsic to the Oracle database. MyDBA can assist you in unleashing the full potential of your Oracle software investment. For more information on MyDBA’s services, or to see a demo or presentation on any of the topics in this paper, please contact us on:

+27 11 027 9400 0861 911 DBA

http://www.mydba.co.za/ [email protected]

Copyright © 2011 MyDBA CC

Disclaimer: This document is provided for information purposes only. While MyDBA has taken care to ensure that the content on this document is accurate, the information is provided "as is" and is not warranted to be error-free. Your use of and reliance on the information is entirely at your own risk. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the prior written permission of MyDBA.

Runs Faster, Costs Less

Page 18: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Feature availability by database edition

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

No.

Feature

Standard Edition

Enterprise Edition

Extra Cost Option

Notes

1 SQL Execution plans FREE FREE N

2 SQL, PL/SQL and OCI Result Cache Not available FREE N

3 Materialized view with pre-computed aggregates Not available FREE N

4 Parallel partition-wise joins Not available FREE N Parallel execution is FREE

5 Mixed sync and async redo apply with Data Guard Not available FREE N

6 Deferred statistics publishing FREE FREE N

7 Lightweight jobs FREE FREE N

8 Interval partitioning Not available Available Y Requires Partitioning

9 Data Guard automatic block corruption repair Not available FREE N

10 Invisible indexes FREE FREE N

Page 19: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Feature availability by database edition

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

No.

Feature

Standard Edition

Enterprise Edition

Extra Cost Option

Notes

11 Oracle Scheduler FREE FREE N

12 Total Recall – Flashback Data Archive Not available Available Y Requires Total Recall

13 Online application upgrades with Edition-based Redefinition FREE FREE N

14 Zero Downtime Upgrade or Patching for Oracle Clusterware and Oracle RAC Not available Available Y Requires RAC

15 ACFS File system replication FREE FREE N

16 Oracle SecureFiles FREE FREE N

17 Oracle Database File System (DBFS) FREE FREE N

18 Real Application Testing (RAT) Not available Available Y Requires RAT

19 Support 4 KB Sector Disk Drives FREE FREE N

20 PL/SQL Hierarchical profile FREE FREE N

Page 20: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

Feature availability by database edition

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less

No.

Feature

Standard Edition

Enterprise Edition

Extra Cost Option

Notes

21 Enterprise Manager Data Masking Not available Available Y Requires Data Masking Pack

22 Automatic Diagnostics Repository (ADR) FREE FREE N

23 Automatic Workload Repository (AWR) Not available Available Y Requires Diagnostic Pack

24 Automatic Database Diagnostics Monitor (ADDM) Not available Available Y Requires Diagnostic Pack

25 SQL Access Advisor and SQL Tuning Advisor Not available Available Y Requires Tuning Pack

26 Advanced Compression (block compression) Not available Available Y Requires Adv Compression

27 DataPump and RMAN compression Not available Available Y Requires Adv Compression

28 Flash Cache Not available FREE N Requires SSD Storage

29 PL/SQL Real Native compilation FREE FREE N

30 SQL Performance Analyser (SPA) Not available Available Y Requires Tuning Pack

31 Automatic Storage Manager (ASM) FREE FREE N

Page 21: Oracle 11g runs faster, costs less · Features that Run Faster and Cost Less Advanced Compression o Reduce storage requirements by 60% or more. o Triple storage capacity without tripling

References

Oracle Internal Partner training documentation. 11 Compelling Reasons to upgrade to Oracle 11gR2 by MyDBA http://www.oracle.com/us/products/database/product-editions-066501.html?ssSourceSiteId=otnen http://download.oracle.com/docs/cd/B28359_01/license.111/b28287/editions.htm#CJACGHEB http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CJAJEIDJ http://www.dba-oracle.com/art_so_oracle_standard_enterprise_edition.htm http://www.oracle.com/technetwork/database/enterprise-edition/overview/index.html http://www.oracle.com/technetwork/database/enterprise-edition/overview/oracle-database-11g-release2-overvi-128324.pdf http://luhartma.blogspot.com/2006/07/oracle-10g-enterprise-manager-packages.html http://www.skill-guru.com/blog/2009/08/25/oracle-database-10g-awr-and-addm/ http://oracle.ittoolbox.com/groups/technical-functional/oracle-db-tuning-l/awr-and-addm-report-4076810

Copyright © 2011 MyDBA CC

Runs Faster, Costs Less