Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
9Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Performance Coding Standards

Performance Coding Standards

Ratings: (0)|Views: 2,177 |Likes:
Published by Abhijit Ray
This document covers performance aspects on all Oracle technical aspects
This document covers performance aspects on all Oracle technical aspects

More info:

Categories:Topics, Art & Design
Published by: Abhijit Ray on May 26, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

08/01/2013

pdf

text

original

 
Applications Performance Group
Doc Type:
Standards & Guidelines
Subject:
Performance StandardsRecommendations for theOracle Applications
Coverage:
-SQL
-
Views
-
PL/SQL
-
 Java
-
Forms
-
Reports
-
PRO*C
-
Discoverer
-
Data Modeling
-
Concurrent Manager Jobs
Author(s):Contributor(s):Creation Date:Last Updated:Version:1Status:
1
 
Functional Specification Table of Contents
1. Overview___________________________________________________________________________42. Performance Standards_______________________________________________________________5
2.1. SQL__________________________________________________________________________________5
2.1.1. Bind Variables_________________________________________________________________________________52.1.2. nvl() and decode() ______________________________________________________________________________62.1.3. IN vs. EXISTS_________________________________________________________________________________82.1.4. Sharable Memory______________________________________________________________________________102.1.5. Outer-Joins___________________________________________________________________________________112.1.6. Execution plans_______________________________________________________________________________112.1.7. Deadlock and Locking Order_____________________________________________________________________142.1.8. General Guidelines_____________________________________________________________________________16
2.2. Views________________________________________________________________________________17
2.2.1. Creating Views________________________________________________________________________________172.2.2. Using Views__________________________________________________________________________________172.2.3. View Merging_________________________________________________________________________________17
2.3. PL/SQL______________________________________________________________________________18
2.3.1. Layers of pl/sql-java "objects" ____________________________________________________________________182.3.2. PL/SQL table usage____________________________________________________________________________182.3.3. Bulk________________________________________________________________________________________192.3.4. Shared pool pinning ___________________________________________________________________________202.3.5. General PL/SQL performance guidelines ___________________________________________________________21
2.4. Java_________________________________________________________________________________22
2.4.1. Object Creation_______________________________________________________________________________222.4.2. Strings and StringBuffers________________________________________________________________________222.4.3. Coding Best Practices___________________________________________________________________________242.4.4. Synchronization_______________________________________________________________________________252.4.5. Collections___________________________________________________________________________________252.4.6. Garbage Collection_____________________________________________________________________________262.4.7. Weak & Soft References________________________________________________________________________262.4.8. JDBC Guidelines______________________________________________________________________________272.4.9. Memory Footprint_____________________________________________________________________________292.4.10. Reducing Database Trips_______________________________________________________________________292.4.11. Deployment_________________________________________________________________________________292.4.12. Green Threads versus Native Threads_____________________________________________________________29
2.5. Forms_______________________________________________________________________________30
2.5.1. Forms Blocks_________________________________________________________________________________302.5.2. Use of bind variables___________________________________________________________________________302.5.3. LOVs_______________________________________________________________________________________302.5.4. Record Groups________________________________________________________________________________312.5.5. Caching______________________________________________________________________________________312.5.6. Item Properties________________________________________________________________________________31
2.6. Reports______________________________________________________________________________31
2.6.1. Reports SQL__________________________________________________________________________________312.6.2. Initialization Values____________________________________________________________________________322.6.3. Break Groups_________________________________________________________________________________322.6.4. Computed Columns____________________________________________________________________________322.6.5. Lexical Parameters_____________________________________________________________________________322.6.6. Defaulting Report Parameters____________________________________________________________________32
2.7. PRO*C ______________________________________________________________________________34
2.7.1. Arrays processing______________________________________________________________________________342.7.2. Linking with the shared library ___________________________________________________________________352.7.3. PRO*C Compile options________________________________________________________________________35
 
2Oracle Confidential Version:
 
2.7.4. Parallel processing using PRO*C_________________________________________________________________352.7.5. Object Cache _________________________________________________________________________________362.7.6. DML RETURNING ___________________________________________________________________________362.7.7. The MAKE FILE _____________________________________________________________________________36
2.8. Discoverer___________________________________________________________________________372.9. Materialized Views____________________________________________________________________372.10. Data Modeling_______________________________________________________________________38
2.10.1. Data Modeling for OLTP_______________________________________________________________________382.10.2. Arrange most used/accessed columns first in a new table______________________________________________382.10.3. Primary Keys________________________________________________________________________________392.10.4. NULL columns_______________________________________________________________________________392.10.5. Indexes_____________________________________________________________________________________392.10.6. Attribute Type _______________________________________________________________________________402.10.7. Views______________________________________________________________________________________402.10.8. General Guidelines____________________________________________________________________________41
2.11. Concurrent Manager Jobs_____________________________________________________________42
2.11.1. Concurrent Manager Management_______________________________________________________________422.11.2. Queue Management __________________________________________________________________________422.11.3. Concurrent processing Guidelines _______________________________________________________________43
2.12. Who Should Tune ____________________________________________________________________442.13. Performance Measurement ____________________________________________________________442.14. Administrative Interfaces______________________________________________________________442.15. Configuration Parameters_____________________________________________________________44
3

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
subbu38 liked this
firefoze liked this
ashishprak liked this
Maurya Brijesh liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->