© 2001 Solution Beacon, LLC. All Rights Reserved.
Release 11i Apps DBA
NCOAUG – Summer 2001 Chicago, IL
Randy Giefer [email protected]
Teaching An Old Dog New TricksTeaching An Old Dog New Tricks
2© 2001 Solution Beacon, LLC. All Rights Reserved.
Welcome Overview (Apps DBA Delta Training For 11i) Audience Survey Presenter Introduction
Welcome !
3© 2001 Solution Beacon, LLC. All Rights Reserved.
Technical
- Database Administrator
- Apps System Administrator
- Developer
Current Application Release
- Release 10.7, 11.0.x, 11i (11.5.1 – 11.5.4)
Current User Interface(s)
- Character, SmartClient, Citrix, OADM, NCA
Intended Audience
4© 2001 Solution Beacon, LLC. All Rights Reserved.
Educate
- High Level Summary
- Not The Complete, Exhaustive Source
- Provide Guidance And Direction
- Information To Build A Training Plan Awareness, Try Not To Scare Reference Materials
( Whitepaper available upon request )[email protected]
www.solutionbeacon.com
Today’s Goals
5© 2001 Solution Beacon, LLC. All Rights Reserved.
The Biggest and Most Complex Release Ever ! Increased Functionality New Technology
What is Release 11i?
6© 2001 Solution Beacon, LLC. All Rights Reserved.
Increased Functionality …
Products – Applications Release 11i
- over 152 162 products
- over 15 17 product families Workflow – Enabled (over 15 products) Self-Service Web Apps BIS CRM
What is Release 11i?
7© 2001 Solution Beacon, LLC. All Rights Reserved.
New Technology … Oracle 8i Internet Computing Architecture Java-Enabled!!!
Combined Together…
= Release 11i Technology Stack
What is Release 11i?
8© 2001 Solution Beacon, LLC. All Rights Reserved.
Release 11i Technology Stack
- Internet Computing Architecture (ICA)
- Oracle 8i and 8i New Features
Release 11i Functionality
What is Release 11i?
9© 2001 Solution Beacon, LLC. All Rights Reserved.
Release 11i Technology Stack
- Internet Computing Architecture (ICA)
- Oracle 8i and 8i New Features
Release 11i Functionality
What is Release 11i?
10© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
Release 11i Technology Stack
11© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
8i
Database
Release 11i Technology Stack
12© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
8i
Database
JInitiatorJInitiator
Release 11i Technology Stack
8i ORACLE_HOME
13© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
8i
Database
JInitiatorJInitiator
Release 11i Technology Stack
Simple so far, right?
8i ORACLE_HOME
14© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
ConcurrentConcurrentProcessing ServerProcessing Server
AdminAdminServerServer
WebDB 2.2WebDB 2.2ListenerListener
Forms Forms ServerServer
ReportsReportsServerServer
8.0.6 ORACLE_HOME
WebDB WebDB 2.52.5
ApacheApache
8.1.6 Web ORACLE_HOME
8.1.6
Database
Applications Technology StackApplications Technology StackWeb HTTP Servers Web HTTP Servers
JInitiatorJInitiator
Release 11i Technology Stack!! Release 11.5.1 !!
DiscovererDiscovererServer *Server *
* * OptionalOptional
8.1.6 ORACLE_HOME
15© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
ConcurrentConcurrentProcessing ServerProcessing Server
AdminAdminServerServer
Forms Forms ServerServer
ReportsReportsServerServer
8.0.6 ORACLE_HOME
ApacheApache
8.1.6 iAS ORACLE_HOME
8.1.6
Database
Applications Technology StackApplications Technology StackWeb HTTP Servers Web HTTP Servers
JInitiatorJInitiator
Release 11i Technology Stack!! Release 11.5.2, 11.5.3 !!
DiscovererDiscovererServer *Server *
* * OptionalOptional
8.1.6 ORACLE_HOME
16© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
ConcurrentConcurrentProcessing ServerProcessing Server
AdminAdminServerServer
Forms Forms ServerServer
ReportsReportsServerServer
8.0.6 ORACLE_HOME
ApacheApache
8.1.7 ORACLE_HOME
8.1.7
Database
Applications Technology StackApplications Technology StackWeb HTTP Servers Web HTTP Servers
JInitiatorJInitiator
Release 11i Technology Stack!! Release 11.5.4 !!
DiscovererDiscovererServer *Server *
* * OptionalOptional
8.1.6 iAS ORACLE_HOME
17© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack Products
• Oracle8i Enterprise Edition 8.1.6 • Other Oracle Homes – App(8.0.6), WebDB(8.1.6)• WebDB 2.2 and WebDB 2.5 !• JRE (Java Runtime Environment) 1.1.8• JDK (Java Development Kit) 1.1.8• Oracle Web Discoverer 3.3.48 (Optional)• Oracle JInitiator (1.1.7) On The Client• Oracle Forms 6i• Oracle Reports 6i• Oracle Graphics
!! Release 11.5.1 !!
18© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack Products
• Oracle8i Enterprise Edition 8.1.6 • Other Oracle Homes – App(8.0.6), iAS(8.1.6)• WebDB 2.2 and WebDB 2.5 !• Apache Web Server (1.3.9, Full - jsp, jServ) • JServ (1.1)• JRE (Java Runtime Environment) 1.1.8• JDK (Java Development Kit) 1.1.8• Oracle Web Discoverer 3.3.48 (Optional)• Oracle JInitiator (1.1.7) On The Client• Oracle Forms 6i• Oracle Reports 6i• Oracle Graphics
!! Release 11.5.2, 11.5.3 !!
19© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack Products
• Oracle8i Enterprise Edition 8.1.6 8.1.7 • Other Oracle Homes - App(8.0.6), iAS(8.1.6)• WebDB 2.2 and WebDB 2.5 !• Apache Web Server (1.3.9, Full - jsp, jServ) • JServ (1.1)• JRE (Java Runtime Environment) 1.1.8• JDK (Java Development Kit) 1.1.8 1.2.2• Oracle Web Discoverer 3.3.48 (Optional)• Oracle JInitiator ( 1.1.7 1.1.8.7 ) • Oracle Forms 6i• Oracle Reports 6i• Oracle Graphics
!! Release 11.5.4 !!
20© 2001 Solution Beacon, LLC. All Rights Reserved.
Install is More Complex (# products), But Easier Than 10.7 NCA
More Products (All Products Get Installed, Regardless Of Licensing)
Server Partitioning (TWO_TASK) Driven By Many, Many Configuration Files !!!
Technology Stack Notes
21© 2001 Solution Beacon, LLC. All Rights Reserved.
Tech Stack – More Complex to Administer Administrator Profile “Roles”
DB – Database Administrator (8.1.7) App – Applications Administrator (8.0.6) Web – Web Administrator (iAS/8.1.6)
Numerous Start/Stop Scripts
Technology Stack Notes
22© 2001 Solution Beacon, LLC. All Rights Reserved.
More Complex to Administer
$COMN_TOP/admin/scripts adalnctl.sh Apps Listener adcmctl.sh Concurrent Managers adrepctl.sh Reports Server adtcfctl.sh TCF Server adfrmctl.sh Forms Server adfmsctl.sh Forms Metric Server adfmcctl.sh Forms Metric Client adapcctl.sh Apache
Technology Stack Notes
23© 2001 Solution Beacon, LLC. All Rights Reserved.
$ORACLE_HOME/appsutil/scripts addbctl.sh Database addlnctl.sh Database Listener
Technology Stack Notes
24© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack – Many Ports
25© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle Applications Environment Manager (oaem)
Facilitates .profile Establishment
( DB, App, Web ) No Need For Multiple UNIX .profile Scripts Provides Start / Stop / Status – All Components Download From Solution Beacon Website
www.solutionbeacon.com
R11i Tools To Assist You
26© 2001 Solution Beacon, LLC. All Rights Reserved.
Release 11i Technology Stack
- Internet Computing Architecture (ICA)
- Oracle 8i and 8i New Features
Release 11i Functionality
What is Release 11i?
27© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features • Materialized Views• Cost-based Optimization• Database Resource Manager• Partitioned Tables• Temporary Tables• Invoker Rights• Cache Fusion• Locally Managed Tablespaces• Function-based Indexes• STATSPACK• RMAN• Log Miner
28© 2001 Solution Beacon, LLC. All Rights Reserved.
Materialized Views
• Summarize, Precompute, Aggregate Data• Stored Data (Not A View)• Snapshot• query_rewrite_enabled -> CBO
29© 2001 Solution Beacon, LLC. All Rights Reserved.
Cost-Based Optimization
• Optimization Based on Hints & Statistics• Optimizer Reviews Potential Execution Plans• Compares Execution Plans• Chooses Lowest Cost• Release 11i, optimizer_mode = choose
• Refer To Whitepaper For init.ora Parameters• $FND_TOP/sql/AFCHKCBO.sql
30© 2001 Solution Beacon, LLC. All Rights Reserved.
Cost-Based Optimization
Need To Keep Statistics Current !
• FND_STATS (Not ANALYZE, DBMS_STATS)
• Oracle Provided Concurrent Programs- Analyze All Index Columns- Gather Table Statistics- Backup Table Statistics- Restore Table Statistics- Gather Column Statistics (Obsolete !!)- Gather All Column Statistics (Obsolete !!)- Gather Schema Statistics
31© 2001 Solution Beacon, LLC. All Rights Reserved.
Database Resource Manager
• Gives DBA More Control Of System Resources• Consumer Groups And Resource Plans• Allocate And Assign Priorities • Limited To CPU Resources• See Oracle Note 106948.1 For Examples
32© 2001 Solution Beacon, LLC. All Rights Reserved.
Partitioned Tables
• Tables Sub-divided Into Smaller Segments• More Manageable Than A Large Table• Separate Indexes, Segments• Balance I/O• Two Partitioning Methods
• Range Partitioning• Hash Partitioning
33© 2001 Solution Beacon, LLC. All Rights Reserved.
Temporary Tables
• Name Says A Lot• Exists Only For Duration Of A Session• No REDO For SQL To Temporary Tables• No DML Locks• INV And GL Starting To Use
34© 2001 Solution Beacon, LLC. All Rights Reserved.
Invoker Rights
• Invoke Or Execute Procedures/Pkgs As If You Were The Owner
• One Instance/Occurrence Of A Package In APPS Schema
• No More Multiple Sets Of Books Architecture (MSOBA) or Multiple Reporting Currencies (MRC) Schema Duplication
35© 2001 Solution Beacon, LLC. All Rights Reserved.
Cache Fusion
• Parallel Server Environments• Increases Performance and Availability • Shares the Cache Across OPS Nodes• Big Feature of Oracle 9i
(Real Application Clusters)
36© 2001 Solution Beacon, LLC. All Rights Reserved.
Locally Managed Tablespaces
• Tablespaces That Manage Their Own Extents• Bitmap In Each Datafile• Each Bit Signifies A Data Block• Reduced Contention On The Data Dictionary
37© 2001 Solution Beacon, LLC. All Rights Reserved.
Function-Based Indexes
• Create Index Using A Function On Column• After Creation, Just Like Normal Index• Use This As A Tuning Aid
create index ap_chrg_allocations_n99 on ap_chrg_allocations_all (abs(allocated_amount));
38© 2001 Solution Beacon, LLC. All Rights Reserved.
STATSPACK
• Historical Data Collection• BSTAT/ESTAT On Steroids• 100+ Metrics• Stores Data In Database• Checkout Whitepaper For More Info
39© 2001 Solution Beacon, LLC. All Rights Reserved.
RMAN
• Catalog-based Backup & Recovery Tool• Automatically Determines:
Database Files, Archive Logs, Control Files• No Other OS files• Compresses Datafiles – Only Used Blocks• Incremental Backups – Only Changed Blocks• More Info - Oracle8i Recovery Manager User's
Guide and Reference
40© 2001 Solution Beacon, LLC. All Rights Reserved.
Log Miner
• Finally!• Readable Interface Into The REDO Logs• Generates DML SQL From Logs (No DDL)• “Supported” Oracle Analysis Tool• Aids in:
• Determining Trends• Capacity Planning• Point-in-Time Recovery
41© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features • Materialized Views• Cost-based Optimization• Database Resource Manager• Partitioned Tables• Temporary Tables• Invoker Rights• Cache Fusion• Locally Managed Tablespaces• Function-based Indexes• STATSPACK• RMAN• Log Miner
42© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features
What do these new features give you?
43© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features, Summary
• Flexibility• Power• Performance
“These new Oracle 8i features provide flexibility to Apps DBAs and Developers, which gives them more control and power over the environment. By correctly and efficiently applying these features, greater performance can be obtained.”
• Ladder Commercial “Just because you have the power, doesn’t mean you should
use it.”
44© 2001 Solution Beacon, LLC. All Rights Reserved.
• Release 11i Technology Stack
- Internet Computing Architecture (ICA)
- Oracle 8i and 8i New Features
• Release 11i Functionality
What is Release 11i?
45© 2001 Solution Beacon, LLC. All Rights Reserved.
• Required Fields Are Color Highlighted• LOV Indicator• Bubble Help• Context Sensitive Help • Right Mouse Click – Popup Menus• Better Colors!• Folder Tab Metaphor - Alternate Regions
Displayed As Folder Tabs• For 10.7/11 NCA Installs, No More Floating
Toolbar!
New Look And Feel
46© 2001 Solution Beacon, LLC. All Rights Reserved.
Purchasing General Ledger Payables Project Accounting Receivables HR Account Generator Oracle Business Intelligence Oracle Service
Workflow-Enabled Applications
47© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle Engineering Oracle Inventory Oracle Web Employees Oracle Web Customers Oracle Web Suppliers Implementation Wizard Oracle CRM
Workflow-Enabled Applications
48© 2001 Solution Beacon, LLC. All Rights Reserved.
WF_PURGE Package Oracle Note: 132254.1 Performance-Related Profile Options:
- Account Generator: Run in Debug Mode
- Purchasing: Workflow Processing Mode
Workflow-Enabled Applications
49© 2001 Solution Beacon, LLC. All Rights Reserved.
Some, Not All Define Concurrent Program Define Concurrent Manager Session Control Dialog Network Test Screen
System Admin Screen Changes
50© 2001 Solution Beacon, LLC. All Rights Reserved.
Conc Program - Screen Changes
51© 2001 Solution Beacon, LLC. All Rights Reserved.
New fields on the Concurrent Programs screen: Priority Incrementor MLS Function Restart on System Failure Enable Trace NLS Compliant
Define Concurrent Programs
52© 2001 Solution Beacon, LLC. All Rights Reserved.
New button on the Concurrent Programs screen:
Session Control
Define Concurrent Programs
53© 2001 Solution Beacon, LLC. All Rights Reserved.
Concurrent Program - Screen Changes
54© 2001 Solution Beacon, LLC. All Rights Reserved.
Concurrent Program – Screen Changes
Session Control Dialog
55© 2001 Solution Beacon, LLC. All Rights Reserved.
Consumer Group
- Database Resource Group Rollback Segment
- First Commit Only! Optimizer Mode
- FIRST_ROWS
- ALL_ROWS
- RULE
- CHOOSE
Session Control Dialog
56© 2001 Solution Beacon, LLC. All Rights Reserved.
Define Concurrent Manager Screen Changes
Consumer Group: Database Resource Group
Concurrent Manager – Screen Changes
57© 2001 Solution Beacon, LLC. All Rights Reserved.
Additional Latency and Bandwidth Information
- Client to the Middle-tier
- Middle-tier to the Database-tier
Network Test Screen
58© 2001 Solution Beacon, LLC. All Rights Reserved.
Network Test Screen
59© 2001 Solution Beacon, LLC. All Rights Reserved.
FND: Resource Consumer Group
- Database Resource Manager Utilities:SQL Trace Account Generator: Run in Debug Mode Purchasing: Workflow Processing Mode
- Online
- Background
New Profile Options
60© 2001 Solution Beacon, LLC. All Rights Reserved.
Admin Utility Used to:
- Add Products
- Add Languages
For UNIX:$cd COMMON_TOP/admin/assistants/licmgr
$LicenseMgr
$AD_TOP/bin/adlicmgr.sh
License Manager
61© 2001 Solution Beacon, LLC. All Rights Reserved.
My Definition of Cloning…
The process of reproducing an entire environment, including the Oracle home ($ORACLE_HOME) and Application top ($APPL_TOP) directory structures.
Note that this may be different than what you currently now as “refreshing” a database.
Cloning 11i Instances
62© 2001 Solution Beacon, LLC. All Rights Reserved.
Two Methods:
Manually - Need To Change- Dozens Of Configuration Files- Numerous Site Profile Values- Not Supported
Oracle’s adclone.pl
Cloning 11i Instances
63© 2001 Solution Beacon, LLC. All Rights Reserved.
adclone.pl:
MetaLink Document: 280896 Patch 1636653 1906056 A Supported Method Limitations – Identical Configuration
Overview: Pre-clone, Copy, Post-clone, Wrap-up Tasks
Cloning 11i Instances – adclone.pl
64© 2001 Solution Beacon, LLC. All Rights Reserved.
DDRTEST (ddrtest.jsp) Found On Oracle’s FTP Site
(ftp://oracle-ftp.oracle.com/apps/patchsets/AOL/DDRTEST/)
- Display DBC File Contents- CLASSPATH And Important Class Versions- Tests JDBC Connection- Validates Login To Apps- Verifies Client Cookies
Debugging Tool – DDRTEST
65© 2001 Solution Beacon, LLC. All Rights Reserved.
Found On Oracle’s FTP Site:
ftp://oracle-ftp.oracle.com/apps/patchsets/PATCHSET_COMPARE_TOOL/
- Updated Nightly By Oracle- Can Be Used For 10.7, 11.0.x And 11.5.x- Displays Currently Available Patchsets- Reads Your applptch.txt File- Produces Reports On Differences- Automate It
Patchset Comparison Tool
66© 2001 Solution Beacon, LLC. All Rights Reserved.
FNDCPASS - Oracle Supported Utility For Changing Passwords – Finally!
UNIX find Command: $find . -exec grep -l 8001 {} \; GNU Find Utilities – locate command
Miscellaneous Tips And Tricks
67© 2001 Solution Beacon, LLC. All Rights Reserved.
The Top Ten Reasons to Upgrade to Release 11i are…
Top Ten Reasons to Upgrade
68© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 10 . . .
Needed an excuse to get out of work!!!
Top Ten Reasons to Upgrade
69© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 9 . . .
Oracle is live on it!
Top Ten Reasons to Upgrade
70© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 8 . . .
Oracle 8i, Oracle 8i, Oracle 8i!
Top Ten Reasons to Upgrade
71© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 7 . . .
We’re all getting bored with 10.7 / 7.3.4 and need something new!
(BTW, This Combination Is De-Supported)
Top Ten Reasons to Upgrade
72© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 6 . . .
R10.7 Support Ends on December 31, 2002!
Top Ten Reasons to Upgrade
73© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 5 . . .
Web based GUI interface!
Top Ten Reasons to Upgrade
74© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 4 . . .
No more SmartClient!
(What was Smart about it in the first place?)
Top Ten Reasons to Upgrade
75© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 3 . . .
Locally Managed Tablespaces!
Top Ten Reasons to Upgrade
76© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 2 . . .
Order Management Rewrite
!!!! (No More OEORPC Listener) !!!!
Top Ten Reasons to Upgrade
77© 2001 Solution Beacon, LLC. All Rights Reserved.
and the # 1 reason to upgrade to Release 11i . . .
(drum roll please . . .)
Top Ten Reasons to Upgrade
78© 2001 Solution Beacon, LLC. All Rights Reserved.
and the # 1 reason to upgrade to Release 11i . . .
The TRMs are finally online!!!!!!!!!
(Both On Documentation CD And On MetaLink – eTRM)
Top Ten Reasons to Upgrade
79© 2001 Solution Beacon, LLC. All Rights Reserved.
More Information
Email: [email protected]
Utilities, Papers, Tools: www.solutionbeacon.com
See Us At OAUG:
- R11i Installation And Upgrade Workshop
- Upgrade SIG
- R11i Upgrade Panel
- Concurrent Manager Panel
80© 2001 Solution Beacon, LLC. All Rights Reserved.
Questions