Robyn Miller Dyke Senior Database Analyst Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco, CA September 26, 2013
Database Area Neighborhood (DAN) Provides infrastructure services for Oracle Real Application Clusters Supporting: 5 Lines of Business 45 Oracle DBAs 1100 Databases 430 hosts 91 clusters Operations Community Banking Corporate Wealth Consumer Lending DAN Infrastructure Services Enterprise Data Management (EDM) Line of Business Oracle DBA Support Groups
Agenda Oracle APEX Infrastructure Components Data Consolidation Application Design Team Member Enablement Production Support Communications Streamlining the 12c Cloud Control Migration Oracle Patchset Reporting Host Level Job Reporting Policing of Resource Usage Plans for the Future Best Practices and Tips
APEX Infrastructure Components DAN MetaData Interface via Oracle Application Express Host 1 Host 2 Host 3 Real Application Cluster (RAC) v11.2.0.2 Oracle RAC Database v11.2.0.2 Oracle Application Server 10gR2 with PL/SQL Toolkit (mod_plsql) Oracle APEX v4.1.1
Data Consolidation
Data Consolidation DAN MetaData via Oracle APEX Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX Data is extracted from each OMS Repository Consolidated data provides a single source for efficient Oracle APEX reporting Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX EDM Database Inventory is fed from OMS Repositories Database contacts and Status are maintained Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX Capture DAN centric infrastructure components and related metrics Allows for adhoc data collection through collection modules Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX Centralized reporting of all host jobs ETL process runs against autosys, mapping jobs to physical hosts Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX Planned changes affecting the DAN Includes scheduled changes for hosts, network, database, and applications Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX DAN Hardware Build Engineers load data for processing and configuring incoming hosts and clusters Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Data Consolidation DAN MetaData via Oracle APEX DBAs submit OMS Target Requests Standardizes Target Names, Configuration, and Templates with minimal discovery issues Infrastructure Data (Hardware Detail) Oracle Monitoring Requests DBA Support Communication EDM Database System of Record DAN MetaData via Oracle APEX 12c Migration Schedule 12c Cloud Control Production Level Oracle RAC Database v11.2.0.2 APEX v4.1.1 Host1 Host 2 Host 3 12c Cloud Control Non-Prod Level Oracle Patchset Report 10g Grid Control Production Level Oracle HTTP Server with mod_plsql 10g Grid Control Non-Prod Level Host Job Reporting Change Requests for DAN Components Policing Resources & Utilization Autosys Jobs (Prod, UAT, Dev) Host Configuration Metrics with Dynamic Collection Modules Cron Job Reporting
Lots of Data … Now what?
Application Express Plan Design Deliver Solutions Map out how your application will flow Design Make use of key APEX components Deliver Solutions Understand how you can best meet your customer’s needs
DAN MetaData Theme Bluejay – 22 Conditional Display
Two Level Tabs with Sidebar Menu Parent Tabs Standard Tabs Breadcrumb Sidebar Navigation List
Security Considerations APEX Database Account Authentication Authorization Scheme Limits data access through Tabs, Lists, Pages, Regions, Items, and Report Fields Used for conditional display
Cascading Style Sheets Standardized Appearance Easy Integration <STYLE> .DMD-title-xl{font: bold 20px/34px Arial, sans-serif; color: #333;} .DMD-titleblue-xl{font: bold 20px/34px Arial, sans-serif; color: #336699;} .DMD-title{font: bold 13px/30px Arial, sans-serif; color: #333;} .DMD-titleblue{font: bold 13px/30px Arial, sans-serif; color: #003366;} .DMD-text-xl{font: 19px Arial, sans-serif; color: #333;} .DMD-textblue-xl{font: 19px Arial, sans-serif; color: #336699;} .DMD-text-lg{font: 16px Arial, sans-serif; color: #333;} .DMD-textblue-lg{font: 16px Arial, sans-serif; color: #003366;} </STYLE>
Form for Hardware Detail
Form Error Checking Error checking based on data definition Default configuration can be updated after form creation
Interactive Reports
Team Member Enablement
DBA Support Communication
Communication Search Results
Schedule 12c Migration 6358 Production Targets to Migrate 8728 Non-Production Targets to Migrate
Form for Database Monitoring Request
Requests Management
Oracle Patchset Reporting
Oracle Patchset Reporting
Oracle Patchset Analysis Identify the patchset of the Oracle Install Home Patch number and install date are available from OMS Repositories or opatch lsinventory command the Oracle Install Home patch number maps to the oracle patchset based on Oracle Support Document 753736.1 Ex: Patch Number 14727310 maps to Patchset 11.2.0.3.5 Database patchset queried from dba_registry_history Databases without patchset version in registry are mapped to a patchset by taking the Oracle Install Home’s patchset at the time the Database was upgraded or installed into the home. select comments from sys.dba_registry_history where version is not null and action_time = (select max(action_time) );
DAN Job Reporting at Host Level
Drilldown to Cron Job Detail
Autosys Job Detail
DAN Capacity Overview
DAN Capacity Drilldown
Locate DAN Resources Search for Disk and Memory Available Host counts within Cluster matching requirements
ASM Historical Analysis
ASM Diskgroup Analysis
Host Resource Analysis
Our Success and Future Plans 2013 Application Statistics: 124 application pages Average 1050 page views per day Average Time to load 0.65 Usage has doubled in the past 6 months. Enhanced Policing and Utilization Reporting Expand Data Consolidation and Reporting from DAN to all of EDM Upgrade to APEX v4.2 with APEX Listener v2.0 and Cluster Aware OHS Most Beneficial Features: DAN Communications Consolidation of Host Jobs Hardware Detail Patchset Reporting 12c Migration Support Manage Resource Over and Under Utilization Expand Job Reporting to include DBMS_JOBS Dashboard with Real time Problem Tickets captured by web query
What can APEX do for you?
Enables Solutions! Provides the framework for rapid application development Turns business problems into application solutions Database centric, developers can heavily utilize PLSQL and SQL Strong Development Community
Best Practices and Tips Utilize PLSQL procedures and packages for application logic Keep complex queries in views Maintain a consistent look and feel for interface Theme Navigation Formatting with CSS Make use of built in features such as Interactive Reports APEX Advisor Monitor Activity of the Application Slow Page, check underlying queries Debug Mode for problem analysis Code Review
Q & A
Copyright © 2013 Wells Fargo Bank, N.A. All rights reserved. For public use.