Upload
phungcong
View
223
Download
0
Embed Size (px)
Citation preview
Oracle SE vs. Oracle EE
Infrastructure at your Service.
Oracle SE vs. Oracle EE – DOAG 2014
Oracle SE vs. Oracle EE
Experts At Your Service
> 35 specialists in IT infrastructure
> Certified, experienced, passionate
Based In Switzerland
> 100% self-financed Swiss company
> Over CHF 4 mio. turnover
Leading In Infrastructure Services
> More than 100 customers in CH, D, & F
> Over 30 SLAs dbi FlexService contracted
11.11.2014
dbi services Who we are
Page 2
Oracle SE vs. Oracle EE
Yann Neuhaus
CEO
Region Manager BaselArea
Mobile +41 79 963 27 20
www.dbi-services.com
11.11.2014
About me
Infrastructure at your Service.
Page 3
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 4
Oracle SE vs. Oracle EE
IT Costs and Licensing are no longer topics reserved only to CIOs or IT Managers
All members of IT organization must be aware of financial impacts of the deployed solutions
Deploying IT Infrastructure without understanding the relation between Licenses (costs) and provided output is not possible anymore
IT infrastructure and development teams should be able to propose the best matching solution according to the business needs (SLA)
Introduction (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 5
Oracle SE vs. Oracle EE
Why pay for features which are not used ?
> On Demand software
> Pay as you grow
Standard Edition might be an alternative to Oracle Enterprise Edition
Standard Edition = pay what you need (not pay less!)
SE vs EE comparison will be performed based on:
> Features
> Backup Recovery
> Monitoring
> Performance management
This presentation won’t state that “SE is good enough”
Introduction (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 6
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 7
Oracle SE vs. Oracle EE
Differences between Enterprise, Standard and Personal Editions on
> Oracle 10.2 : My Oracle Support Note Doc ID 465465.1
> Oracle 11.2 : My Oracle Support Note Doc ID 1084132.1
> Oracle 12.1 : My Oracle Support Note Doc ID 1628809.1
Oracle main core features not available with SE (OLTP drawbacks):
> Flashback Features (DB / Table / Transaction / Query)
> Online features (Table redefinition / Move datafile online (12c) )
> Materialized views
> Function based indexes
> Resource manager
> Bitmap Indexes
> Parallel features
SE vs EE Features (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 8
Oracle SE vs. Oracle EE
Oracle advanced features not available with SE :
Availability :
> Online Index Rebuild
> Online Table Redefinition
> Data Guard
> Fast Start Recovery
Security :
> Encryption (required Advanced Security Option)
> Fine Grained Auditing
> Virtual Private Database
Administration :
> SQL Plan Management (SQL Profile and baselines / Tuning Pack)
> Transportable Tablespaces
SE vs EE Features (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 9
SQL> alter index PK_DEPT rebuild online;
alter index PK_DEPT rebuild online
*
ERROR at line 1:
ORA-00439: feature not enabled: Online Index Build
Oracle SE vs. Oracle EE
Backup Recovery :
> Incremental backup (no block tracking file)
> Parallel backup (multiple channels)
Oracle Options that cannot be licensed on SE
> Active Guard
> Partitioning
> Advanced Security Option
> Advanced Compression
> OLAP and Data Mining
> Tuning and Diagnostics pack (for Monitoring and Tuning / AWR not usable)
> Real Application testing
> Database Vault, Audit Vault
SE vs EE Features (3)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 10
Oracle SE vs. Oracle EE
Tuning Pack not available on SE:
SE vs EE Features (4)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 11
SQL> SET SERVEROUTPUT ON
declare
stmt_task VARCHAR2(100);
begin
stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id =>
'bd2q2djh9y9jf');
DBMS_OUTPUT.put_line('task_id: ' || stmt_task );
end;
/
ERROR at line 1:
ORA-13717: Tuning Package License is needed for using this feature.
ORA-06512: at "SYS.PRVT_SMGUTIL", line 52
ORA-06512: at "SYS.PRVT_SMGUTIL", line 37
ORA-06512: at "SYS.DBMS_MANAGEMENT_PACKS", line 26
ORA-06512: at "SYS.DBMS_SQLTUNE", line 602
ORA-06512: at line 4
Oracle SE vs. Oracle EE
Standard Edition not (yet) compatible with appliances
> Oracle Database Appliance ODA
> Exadata
SE vs EE Features (5)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 12
Exception : OVCA
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 13
Oracle SE vs. Oracle EE
Several administration tools are available :
> Sql Developer (Oracle) - Free of charge
> Hora (KeepTool)
> Toad (Quest)
Dbconsole 11g, EM Express 12c & CC 12c can be used for basic administration but not for monitoring (Diagnostic pack required)
Administration
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 14
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 15
Oracle SE vs. Oracle EE
Basic RMAN features available
> Online DB backup
> Catalog management
> DB, tablespace, and database restore & recovery
All DMK_DBBACKUP scripts are supported with Oracle Standard Edition
Main RMAN limitations are:
> No parallel backup (limited to one RMAN channel) - do not underestimate this point
> No Incremental backup possible (no block change tracking available)
> No block media recovery
Backup Recovery (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 16
Oracle SE vs. Oracle EE
Example of parallel backup usage:
Backup Recovery (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 17
RMAN> run {
allocate channel d1 type disk;
allocate channel d2 type disk;
backup database plus archivelog;
}
allocated channel: d1
channel d1: SID=21 device type=DISK
RMAN-06908: WARNING: operation will not run in parallel on the
allocated channels
RMAN-06909: WARNING: parallelism require Enterprise Edition
allocated channel: d2
channel d2: SID=409 device type=DISK
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 18
Oracle SE vs. Oracle EE
Diagnostic pack cannot be used for Standard Edition database monitoring
It must be licensed according to the metric of the Oracle Enterprise Edition licensing model (used for the DB/items to monitor)
Diagnostic pack is required for event notification:
> http://www.oracle.com/us/products/enterprise-manager/diagnostic-pack-11g-ds-068465.pdf
> Oracle Diagnostics Pack 11g extends this alerting capability by allowing administrators to be notified when they are away from their desks. Enterprise Manager’s Notification Methods allow administrators to specify different mechanisms for sending notifications, including e-mail, SNMP traps and running custom scripts or PL/SQL procedures
Monitoring (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 19
Oracle SE vs. Oracle EE
Diagnostic pack is also required for AWR accesses (whatever the method):
> “Oracle 11g Diagnostics Pack, therefore, includes a built in repository within every Oracle 11g Database, called Automatic Workload Repository (AWR)”
> “Any and all methods of accessing Oracle Diagnostics Pack functionality, whether through Enterprise Manager Console, Desktop Widgets, command-line APIs, or direct access to the underlying data, requires an Oracle Diagnostics Pack license."
Other basic administration tasks through EM 12c or Dbconsole are however possible with Standard Edition
Monitoring (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 20
Oracle SE vs. Oracle EE
Nagios overview
> Nagios Core (basic framework to monitor IT components) is Open Source and free
> Provided with basic GUI
> Nagios XI provides advanced GUI to configure and the Nagios framework
> Nagios Core is configured manually (config. files)
Advantages
> Out of the box basic monitoring concepts (probe evaluation, alerting)
> Lots of plugin provided out of the box and customization possible
> Nagios support available through licensing (min. 2000$)
Usage @ dbi services
> Used to monitor customers without monitoring solution (SE or no Diag.)
> Provided with best practices and templates
> Can be deployed through an appliance
Monitoring (3) – Nagios
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 21
Oracle SE vs. Oracle EE
> Monitoring Host (check_nrpe) = perl script which connects to the agents
> Agents (NRPE) start the probes/plugin evaluations of the services
> Nagios core compares the probes with the thresholds and alerts
Monitoring (4) – Nagios
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 22
Oracle SE vs. Oracle EE
Monitoring (5) – Nagios
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 23
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Recovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 24
Oracle SE vs. Oracle EE
Performance Feature differences:
> No Incremental and parallel Backup / Recovery
> No parallel :
> Query / DML
> Data Pump / Export / Import
> Statistics Gathering
> Index Build
> Optimized Indexes (Bitmapped)
> Result Cache
> Infiniband Support
No tuning pack can be used for SE
> SQL profiles and baselines (part of the Tuning Pack)
12c SQL Plan directives work on both EE and SE
12c Adaptive query optimization is only available on EE
Performance Management (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 25
Oracle SE vs. Oracle EE
Statspack & Spviewer (http://www.spviewer.com)
dbi services focuses on Ligthy (http://www.orachrome.com)
> Easy to install: no repository, no server, no agent. Just unzip and connect through thin jdbc
> No need to be granted DBA role, select any catalog is sufficient: can be used by developers
> Highly customizable (palette of gadgets)
> Ability to view the history through Statspack or AWR
> Ability to view real time from v$views
> Many reports to browse between statistics, sessions, statements, segments...
> No need for diagnostic pack, can simulate ASH
> Very active project: lot of new functionalities in just one year affordable price
Performance Management (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 26
Oracle SE vs. Oracle EE
-
Lighty – Overall online database performance
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 27
Oracle SE vs. Oracle EE
-
Lighty – Drilldown specific instance
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 28
Oracle SE vs. Oracle EE
-
Lighty – Drilldown enqueue
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 29
Oracle SE vs. Oracle EE
-
Lighty – Drilldown blocked sessions
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 30
Oracle SE vs. Oracle EE
-
Lighty – Drilldown blocking SQL Statement
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 31
Oracle SE vs. Oracle EE
-
Lighty – Drilldown blocking SQL Statement
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 32
Oracle SE vs. Oracle EE
-
Lighty – Long session operations
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 33
Oracle SE vs. Oracle EE
Top SQL
Lighty – Top SQL
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 34
Oracle SE vs. Oracle EE
ASH history
Lighty – “Active Session History”
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 35
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Revovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 36
Oracle SE vs. Oracle EE
The High Availability solution should depend on the RPO/RTO definition
Sometimes EE is not useful and not necessary, for instance:
> RPO and RTO: 15 minutes
> Maintenance window available each week-end, therefore no online operation required
See next presentation "Dbvisit Standby": basic Oracle Data Guard features (Failover - Switchover - minimal data loss)
High Availability
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 37
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Revovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 38
Oracle SE vs. Oracle EE
Licensing – Editions
11/11/2014 Page 39
Oracle Standard vs. Enterprise Edition
Standard Edition One (SE1)
> Basic database capabilities
> Basic functionalities > No pack possible > Up to 2 sockets
Standard Edition (SE)
> All SE1 capabilities > Oracle RAC (10g and
higher) > Up to 4 sockets
Enterprise Edition (EE)
> All SE capabilities > Options with extra
cost
Oracle SE vs. Oracle EE
Named User Plus (NUP)
> Based on users and non-human operated devices accessing the Database
> Used in environments where users can be counted
> SE NUP CHF 340.- / EE NUP CHF 924.-
Processor
> Based on the number of processor cores (EE) or sockets (SE and SE1) in the server where the Database is installed and/or running
> Used in environments where users are uncountable (i.e Internet applications)
> SE Processor CHF 17’017.- / EE Processor CHF 46’189.-
Licensing – Metrics
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 40
Oracle SE vs. Oracle EE
Minimums:
Virtualization
> Only hard and trusted partitioned technologies allow to restrict the number of processors to be licensed
> http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
> Oracle Standard Edition licensed with NUP can be deployed on an unlimited number of nodes/sockets on ESX clusters
> DRS is not supported on ESX Server
Licensing – Minimums & Virtualization
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 41
Edition Minimum Metric
DB Enterprise Edition (EE) 25 NUP per Processor
DB Standard Edition (SE) and Standard Edition One (SE1)
5 NUP per Legal Entity
Oracle SE vs. Oracle EE
Oracle 12c Multitenant
> Multitenant architecture available in SE & EE
> On EE without licensing or on SE limited to a maximum of one PDB
> See http://www.oracle.com/technetwork/database/multitenant-wp-12c-1949736.pdf
> See http://www.oracle.com/technetwork/database/oracle-database-editions-wp-12c-1896124.pdf
Licensing – 12c Multitenant option
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 42
Feature/Option SE1 SE EE Notes
Consolidation
Multitenant N N Y Extra cost option for up to 252 pluggable databases. The multitenant architecture with one pluggable database (single tenant) is available in all editions.
Source Oracle
Oracle SE vs. Oracle EE
Licensing – 12c options
11/11/2014 Page 43
Oracle Standard vs. Enterprise Edition
See http://www.oracle.com/technetwork/database/oracle-database-editions-wp-12c-1896124.pdf
Features SE1 SE EE Options
Storage snapshot optimization N N Y Advanced compression
Application continuity N N Y Active Data Guard or RAC
Oracle Data Guard—Far Sync Standby N N Y Active Data Guard
Oracle Data Guard—Real-Time Cascading Standbys
N N Y Active Data Guard
Rolling Upgrade Using Active Data Guard N N Y Active Data Guard
Online Datafile Move N N Y -
Transaction Guard N N Y -
Cross-platform Backup and Recovery N N Y -
Adaptive Execution Plans N N Y -
Etc..
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Revovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 44
Oracle SE vs. Oracle EE
Due to the numerous feature differences such a migration is not straight forward at all!
dbi services has several practical experience of such projects
Enterprise Licenses are not "downgradable": New SE licenses must be acquired
The Full-Import method through Data Pump is not advised:
> Lots of "base" Enterprise Edition privileges will be missing in Standard Edition (FLASHBACK privileges, OLAP privileges, aso…)
> The DBMS_STATS package will be invalidated (packages are different due to feature differences)
> Some errors related to the resource manager will occur
> and so on ...
Tips & Tricks – EE to SE migration (1)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 45
Oracle SE vs. Oracle EE
dbi services used the following migration method:
> Create SQL DDL scripts to create all required components from the source DB:
> Application profiles
> Application roles and grants
> Application public synonyms
> Grant to object privileges
> Application context
> Create the tablespace on the destination DB
> Create the application roles and grant the privileges to these roles
> Create the application user profiles & application context
> Import the application Schema (user containing data)
> Create other Oracle users
> Starts object grants DDLs
> Create the public synonyms
Tips & Tricks – EE to SE migration (2)
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 46
Oracle SE vs. Oracle EE
1. Introduction
2. Standard vs Enterprise Edition Features
3. Administration
4. Backup Revovery
5. Monitoring
6. Performance Management
7. High Availability
8. Licensing
9. Tips & Tricks
10. Conclusion
11.11.2014
Agenda
Page 47
Oracle SE vs. Oracle EE
Choosing an Oracle Edition should be done carefully
> Availability needs? (RPO / RTO / online operations / possible downtimes)
> Performance needs? Parallel operations?
> Are some specific options needed?
Lots of “missing” features in SE can be implemented through other ways:
> Monitoring through Nagios
> Performance management through Lighty
> HA through through Dbvisit
Do not underestimate this choice :
> Licensing guide : 70 pages
> Oracle LMS-Partner : 2 days
dbi services supports lots of productive customers with SE
Conclusion
11.11.2014
Oracle Standard vs. Enterprise Edition
Page 48
Oracle SE vs. Oracle EE
Infrastructure at your Service.
Questions?