Top Banner
Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco, CA September 26, 2013
46

Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

Dec 14, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

Destination Application ExpressGetting Started with Database Applications

Robyn Miller DykeSenior Database Analyst

Oracle Open World, San Francisco, CA

September 26, 2013

Page 2: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

2

Database Area Neighborhood (DAN)

Line of Business Oracle DBA Support Groups

OperationsCommunity

BankingCorporate Wealth

Consumer Lending

DAN Infrastructure Services

Enterprise Data Management (EDM)

Provides infrastructure services for Oracle Real Application Clusters Supporting:

– 5 Lines of Business

– 45 Oracle DBAs

– 1100 Databases

– 430 hosts

– 91 clusters

Page 3: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

3

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

Page 4: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

4

APEX Infrastructure Components

Host 1 Host 3Host 2

DAN MetaData Interface via Oracle Application Express

Real Application Cluster (RAC) v11.2.0.2

Oracle RAC Database v11.2.0.2

Oracle Application Server 10gR2with PL/SQL Toolkit (mod_plsql)

Oracle APEX v4.1.1

Page 5: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

5

Data Consolidation

Page 6: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

6

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

Page 7: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

7

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

Data is extracted from each OMS Repository

Consolidated data provides a single source for efficient Oracle APEX reporting

Page 8: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

8

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

EDM Database Inventory is fed from OMS Repositories

Database contacts and Status are maintained

Page 9: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

9

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

Capture DAN centric infrastructure components and related metrics

Allows for adhoc data collection through collection modules

Page 10: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

10

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

Centralized reporting of all host jobs

ETL process runs against autosys, mapping jobs to physical hosts

Page 11: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

11

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

Planned changes affecting the DAN

Includes scheduled changes for hosts, network, database, and applications

Page 12: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

12

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

DAN Hardware Build Engineers load data for processing and configuring incoming hosts and clusters

Page 13: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

13

Data Consolidation

Host1 Host 2 Host 3

Oracle RAC Database v11.2.0.2APEX v4.1.1

10g Grid Control Production Level

10g Grid Control Non-Prod Level

12c Cloud ControlNon-Prod Level

DBA Support Communication

Oracle Patchset Report

Host Job Reporting

12c Migration Schedule

Policing Resources & Utilization

12c Cloud ControlProduction Level

EDM Database System of Record

DAN MetaData via Oracle APEX

Oracle HTTP Server with mod_plsql

Change Requests for DAN Components

Cron Job Reporting

Autosys Jobs (Prod, UAT, Dev)

Host Configuration Metrics with Dynamic

Collection Modules

Oracle Monitoring Requests

Infrastructure Data(Hardware Detail)

DBAs submit OMS Target Requests

Standardizes Target Names, Configuration, and Templates with minimal discovery issues

Page 14: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

14

Lots of Data … Now what?

Page 15: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

15

Application Express

Plan– 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

Page 16: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

16

Theme Bluejay – 22

Conditional DisplayDAN MetaData

Page 17: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

17

Two Level Tabs with Sidebar Menu

Parent Tabs

Standard Tabs

Breadcrumb

Sidebar Navigation

List

Page 18: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

18

Security Considerations

APEX Database Account Authentication

Authorization Scheme– Limits data access through Tabs, Lists, Pages, Regions, Items,

and Report Fields

– Used for conditional display

Page 19: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

19

Cascading Style Sheets

<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>

Standardized Appearance

Easy Integration

Page 20: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

20

Form for Hardware Detail

Page 21: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

21

Form Error Checking Error checking based on data definition

Default configuration can be updated after form creation

Page 22: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

22

Interactive Reports

Page 23: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

23

Team Member Enablement

Page 24: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

24

DBA Support Communication

Page 25: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

25

Communication Search Results

Page 26: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

26

Schedule 12c Migration

6358 Production Targets to Migrate

8728 Non-Production Targets to Migrate

Page 27: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

27

Form for Database Monitoring Request

Page 28: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

28

Requests Management

Page 29: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

29

Oracle Patchset Reporting

Page 30: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

30

Oracle Patchset Reporting

Page 31: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

31

select comments from sys.dba_registry_history where version is not null and action_time = (select max(action_time) from sys.dba_registry_history where version is not null );

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.

Page 32: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

32

DAN Job Reporting at Host Level

Page 33: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

33

Drilldown to Cron Job Detail

Page 34: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

34

Autosys Job Detail

Page 35: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

35

DAN Capacity Overview

Page 36: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

36

DAN Capacity Drilldown

Page 37: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

37

Locate DAN Resources

Search for Disk and Memory Available

Host counts within Cluster matching requirements

Page 38: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

38

ASM Historical Analysis

Page 39: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

39

ASM Diskgroup Analysis

Page 40: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

40

Host Resource Analysis

Page 41: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

41

Our Success and Future Plans

Expand Data Consolidation and Reporting from DAN to all of EDM

Expand Job Reporting to include DBMS_JOBS

Upgrade to APEX v4.2 with APEX Listener v2.0 and Cluster Aware OHS

Dashboard with Real time Problem Tickets captured by web query

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

Most Beneficial Features:

• DAN Communications

• Consolidation of Host Jobs

• Hardware Detail

• Patchset Reporting

• 12c Migration Support

• Manage Resource Over and Under Utilization

2013

Page 42: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

42

What can APEX do for you?

Page 43: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

43

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

Page 44: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

44

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

Page 45: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

45

Q & A

Page 46: Destination Application Express Getting Started with Database Applications Robyn Miller Dyke Senior Database Analyst Oracle Open World, San Francisco,

46

Copyright

© 2013 Wells Fargo Bank, N.A. All rights reserved. For public use.