Release 11i Apps DBA - Computer Consulting Services ... 8i Internet Computing Architecture...
Transcript of Release 11i Apps DBA - Computer Consulting Services ... 8i Internet Computing Architecture...
© 2001 Solution Beacon, LLC. All Rights Reserved.
Release 11i Apps DBA
OAUG – Spring 2001Atlanta, GA
Randy [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
§ 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 product acronyms
- over 15 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
8.1.6
Database
Release 11i Technology Stack
12© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
8.1.6
Database
JInitiatorJInitiator
Release 11i Technology Stack
13© 2001 Solution Beacon, LLC. All Rights Reserved.
Database
Server
Tier
Middle
Tier
Client
Tier
8.1.6
Database
JInitiatorJInitiator
Release 11i Technology Stack
Simple so far, right?
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_HOME8.0.6 ORACLE_HOME
WebDBWebDB2.52.5
ApacheApache
8.1.6 ORACLE_HOME8.1.6 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 *
* Optional* Optional
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_HOME8.0.6 ORACLE_HOME
ApacheApache
8.1.6 ORACLE_HOME8.1.6 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+ !!
DiscovererDiscovererServer *Server *
* Optional* Optional
16© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack ProductsTechnology Stack Products
• Oracle8i Enterprise Edition 8.1.6• Oracle8 Enterprise Edition 8.0.6• WebDB 2.2 and WebDB 2.5 !• Apache Web Server (1.3.9, Partial)• 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 !!
17© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack Products
• Oracle8i Enterprise Edition 8.1.6• Oracle8 Enterprise Edition 8.0.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+ !!
18© 2001 Solution Beacon, LLC. All Rights Reserved.
Technology Stack - Miscellaneous Notes
§ Install is More Complex (# products), ButEasier Than 10.7 NCA
§ More Products
§ Server Partitioning (TWO_TASK)
§ Driven By Many Configuration Files
Technology Stack
19© 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?
20© 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
21© 2001 Solution Beacon, LLC. All Rights Reserved.
Materialized Views
• Summarize, Precompute, Aggregate Data
• Stored Data (Not a View)
• Snapshot• query_rewrite_enabled -> CBO
22© 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
23© 2001 Solution Beacon, LLC. All Rights Reserved.
Cost-Based Optimization
Need To Keep Statistics Current !
• FND_STATS
• Oracle Provided Concurrent Programs- Analyze All Index Columns- Gather Table Statistics- Backup Table Statistics- Restore Table Statistics- Gather Column Statistics- Gather All Column Statistics- Gather Schema Statistics
24© 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
• Performance Bug #1291292 Fixed In 8.1.6.2
• See Oracle Note 106948.1 For Examples
25© 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
26© 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
27© 2001 Solution Beacon, LLC. All Rights Reserved.
Invoker Rights
• Invoke or execute procedures/pkgs as if youwere the owner
• One Instance/Occurrence of a Package in APPSSchema
• No more Multiple Sets Of Books Architecture(MSOBA) or Multiple Reporting Currencies(MRC) Schema Duplication
28© 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)
29© 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
30© 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_n99on ap_chrg_allocations_all(abs(allocated_amount));
31© 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
32© 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'sGuide and Reference
33© 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
34© 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
35© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features
What do these new features give you?
36© 2001 Solution Beacon, LLC. All Rights Reserved.
Oracle8i – New Features, Summary
• Flexibility• Power• Performance
“These new Oracle 8i features provide flexibility to AppsDBAs and Developers, which gives them more controland power over the environment. By correctly andefficiently applying these features, greater performancecan be obtained.”
Randy Giefer, 2001
• Ladder Commercial“Just because you have the power, doesn’t mean you
should use it.”
37© 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?
38© 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 RegionsDisplayed as Folder Tabs
• For 10.7/11 NCA Installs, no More FloatingToolbar!
New Look & Feel
39© 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
40© 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
41© 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
42© 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
43© 2001 Solution Beacon, LLC. All Rights Reserved.
Conc Program - Screen Changes
44© 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
45© 2001 Solution Beacon, LLC. All Rights Reserved.
New button on the Concurrent Programs screen:
Session Control
Define Concurrent Programs
46© 2001 Solution Beacon, LLC. All Rights Reserved.
Concurrent Program -Screen Changes
47© 2001 Solution Beacon, LLC. All Rights Reserved.
Concurrent Program – Screen Changes
Session Control Dialog
48© 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
49© 2001 Solution Beacon, LLC. All Rights Reserved.
Define Concurrent Manager Screen Changes
Consumer Group: Database Resource Group
Concurrent Manager – Screen Changes
50© 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
51© 2001 Solution Beacon, LLC. All Rights Reserved.
Network Test Screen
52© 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
53© 2001 Solution Beacon, LLC. All Rights Reserved.
§ Admin Utility Used to:
- Add Products
- Add Languages
For UNIX:$ cd COMMON_TOP/admin/assistants/licmgr
$ LicenseMgr
License Manager
54© 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) directorystructures.
Note that this may be different than what youcurrently now as “refreshing” a database.
Cloning 11i Instances
55© 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
56© 2001 Solution Beacon, LLC. All Rights Reserved.
adclone.pl:
§ MetaLink Document: 280896 / Patch 1636653
§ A Supported Method
§ Limitations – Identical Configuration
Overview:
§ Pre-clone, Copy, Post-clone, Wrap-up Tasks
Cloning 11i Instances – adclone.pl
57© 2001 Solution Beacon, LLC. All Rights Reserved.
The Top Ten Reasons to Upgrade to Release 11i are…
Top Ten Reasons to Upgrade
58© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 10 . . .
Needed an excuse to come to OAUG in Atlantato find out more!!!
Top Ten Reasons to Upgrade
59© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 9 . . .
Oracle is live on it!
Top Ten Reasons to Upgrade
60© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 8 . . .
Oracle 8i, Oracle 8i, Oracle 8i!
Top Ten Reasons to Upgrade
61© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 7 . . .
We’re all getting bored with 10.7 / 7.3.4 andneed something new!
Top Ten Reasons to Upgrade
62© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 6 . . .
R10.7 Support Ends on June 30, 2002!
Top Ten Reasons to Upgrade
63© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 5 . . .
Web based GUI interface!
Top Ten Reasons to Upgrade
64© 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
65© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 3 . . .
Locally Managed Tablespaces!
Top Ten Reasons to Upgrade
66© 2001 Solution Beacon, LLC. All Rights Reserved.
Number 2 . . .
Order Management Rewrite
!!!! (No More OEORPC Listener) !!!!
Top Ten Reasons to Upgrade
67© 2001 Solution Beacon, LLC. All Rights Reserved.
and the # 1 reason to upgrade to Release 11i . . .
(drum roll please . . .)
Top Ten Reasons to Upgrade
68© 2001 Solution Beacon, LLC. All Rights Reserved.
and the # 1 reason to upgrade to Release 11i . . .
The TRMs are finally online!!!!!!!!!
Top Ten Reasons to Upgrade
69© 2001 Solution Beacon, LLC. All Rights Reserved.
Questions
Email: [email protected]
Website: www.solutionbeacon.com