Muutke küpsiste eelistusi

E-raamat: Oracle PL/SQL Performance Tuning Tips & Techniques

  • Formaat: 336 pages
  • Ilmumisaeg: 29-Aug-2014
  • Kirjastus: McGraw-Hill Professional
  • Keel: eng
  • ISBN-13: 9780071822183
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 68,33 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 336 pages
  • Ilmumisaeg: 29-Aug-2014
  • Kirjastus: McGraw-Hill Professional
  • Keel: eng
  • ISBN-13: 9780071822183
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

In Oracle PL/SQL Performance Tuning Tips & Techniques, Oracle ACE authors with decades of experience building complex production systems for government, industry, and educational organizations present a hands-on approach to enabling optimal results fromPL/SQL. The book begins by describing the discovery process required to pinpoint performance problems and then provides measurable and repeatable test cases. In-depth coverage of linking SQL and PL/SQL is followed by deep dives into essential Oracle Database performance tuning tools. Real-world examples and best practices are included throughout this Oracle Press guide-- Proven PL/SQL Optimization SolutionsIn Oracle PL/SQL Performance Tuning Tips & Techniques, Oracle ACE authors with decades of experience building complex production systems for government, industry, and educational organizations present a handson approach to enabling optimal results from PL/SQL. The book begins by describing the discovery process required to pinpoint performance problems and then provides measurable and repeatable test cases. In-depthcoverage of linking SQL and PL/SQL is followed by deep dives into essential Oracle Database performance tuning tools. Real-world examples and best practices are included throughout this Oracle Press guide.Follow a request-driven nine-step process to identify and address performance problems in web applicationsUse performance-related database tools, including data dictionary views, logging, tracing, PL/SQL Hierarchical Profiler, PL/Scope, and RUNSTATSInstrument code to pinpoint performance issues using call stack APIs, error stack APIs, and timing markersEmbed PL/SQL in SQL and manage user-defined functionsEmbed SQL in PL/SQL using a set-based approach to handle large volumes of dataProperly write and deploy data manipulation language triggers to avoid performance problemsWork with advanced datatypes, including LOBs and XMLUse caching techniques to avoid redundant operationsEffectively use dynamic SQL to reduce the amount of code needed and streamline system managementManage version control and ensure that performance fixes are successfully deployed
Foreword xv
Acknowledgments xix
Introduction xxiii
Part I Core Ideas and Elements of PL/SQL Performance Tuning
1 The Role of PL/SQL in Contemporary Development
3(14)
Typical Web Application Process Flow
4(1)
Web Application Performance Problem Areas
5(3)
Step 1: Client Machine Performance Problems
5(1)
Step 2: Client Machine to Application Server Transmission Problems
6(1)
Step 3: Application Server Performance Problems
6(1)
Step 4: Application Server to Database Transmission Problems
6(1)
Step 5: Database Performance Problems
7(1)
Step 6: Database to Application Server Transmission Problems
7(1)
Step 7: Application Server Processing Performance Problems
8(1)
Step 8: Application Server to Client Machine Transmission Problems
8(1)
Step 9: Client Machine Performance Problems
8(1)
Finding the Cause of Slowly Performing Web Applications
8(5)
Using Timers to Gather Data About Performance
9(1)
Measuring Performance
10(3)
Solving Web Application Performance Problems
13(1)
Solving Client Machine Performance Problems (Steps 1 and 9)
13(2)
Resolving Performance Issues Between the Client Machine and Application Server (Step 2)
13(1)
Solving Performance Problems in the Application Server (Steps 3 and 7)
13(1)
Solving Performance Problems in the Client Machine (Step 9)
13(1)
Lessons Learned
14(1)
Summary
15(2)
2 DBA/Developer Borderline: Tools and Features
17(30)
Data Dictionary Views
19(3)
Oracle Logging and Tracing
22(5)
Logging Basics
22(1)
Tracing Basics
23(2)
Logging/Tracing Example
25(2)
PL/SQL Hierarchical Profiler
27(5)
RU NSTATS
32(1)
PL/SQL Environment Settings
33(9)
PLSQL_OPTIMIZE_LEVEL
34(2)
PLSQL_CODE_TYPE
36(2)
PLSQL_WARNINGS
38(3)
PLSQL_CCFLAGS
41(1)
PL/Scope
42(2)
Summary
44(3)
3 Code Instrumentation in PL/SQL
47(20)
Is the Problem Really in the Database?
48(1)
Application Logging
49(9)
Built-in Code Navigation APIs
50(3)
User-Driven Logging
53(5)
Code Instrumentation Best Practices
58(5)
Placing Process Markers
60(2)
Placing Error Markers
62(1)
Summary
63(4)
Part II Linking SQL and PL/SQL
4 Expanding the SQL Horizons
67(36)
Stepping Outside the SQL Box
69(9)
Making Life Simpler by Switching to PL/SQL
69(4)
Using PL/SQL to Fill Functionality Gaps
73(5)
Calling Functions Within SQL
78(5)
Single-Table Problems
78(4)
Multi-Table Problems
82(1)
PL/SQL-Related Statistics and Their Impact on Execution Plans
83(14)
Hardware Costs of PUSQL Functions
84(7)
Cardinality of PL/SQL Functions
91(3)
Selectivity of PL/SQL Functions
94(3)
Oracle Database 12c-Only Features
97(3)
PRAGMA UDF Clause
98(1)
Adding Functions Inside the WITH Clause
99(1)
Summary
100(3)
5 Thinking in Sets
103(28)
Cursors
104(2)
Loading Sets from SQL to PL/SQL
106(13)
Oracle Database 12c: Implicit Pagination vs. Continuous Fetch
112(2)
Merging Sets Using PL/SQL
114(5)
"...And Justice FORALL!"
119(9)
Staying Up to Date with Syntax: Sparse Collections
121(3)
Direct Inserts
124(2)
FORALL and Table Triggers
126(2)
Summary
128(3)
6 Pulling the Trigger
131(24)
DML Triggers
132(11)
Data Protection: Constraints vs. Triggers
133(3)
Default Values
136(4)
Cost of Denormalization
140(3)
INSTEAD OF Triggers
143(8)
Basic DML Operations
143(3)
Dangers of Logical Primary Keys
146(1)
Handling UPDATE Statements
147(4)
Summary
151(4)
Part III Tuner's Toolkit
7 Going Beyond Scalar Datatypes
155(30)
Managing LOBs
156(16)
Access to LOBs
157(1)
Storage Mechanisms
158(3)
I/O Tuning Considerations
161(7)
SecureFile-Only Features
168(4)
Managing XML
172(11)
Storing XML
173(6)
Manipulating XML
179(4)
Summary
183(2)
8 Keeping the Cache
185(24)
Built-in Caching Techniques
186(17)
Deterministic Functions
186(5)
Scalar Subquery Caching
191(2)
PL/SQL Function Result Cache
193(10)
Manual Caching Techniques
203(4)
PL/SQL Collections
203(2)
Oracle Context
205(2)
Summary
207(2)
9 Shooting at a Moving Target
209(24)
Expanding the Knowledge Base
210(8)
CLOB Input
211(1)
Cursor Transformation
212(1)
PL/SQL Function Result Cache Integration
213(2)
Support for Complex Datatypes
215(3)
Digging Deeper
218(5)
More About Search
218(3)
IN-LIST Trap
221(2)
Challenging Dynamic SQL Myths
223(6)
Myth #1: Dynamic SQL Is Always a Security Risk
224(1)
Myth #2: Dynamic SQL Is Always Slower Than Regular SQL
225(1)
Myth #3: Dynamic SQL Always Causes Parsing
226(2)
Myth #4: DDL Statements Are Only for DBAs
228(1)
Summary
229(4)
Part IV PL/SQL in Daily Life
10 Tales from the Trenches
233(18)
Third-Party Wrapped Code
234(3)
Stateless Issues
237(3)
Unknown UNDO
240(4)
The Curse of Recursion
244(4)
Recursion and Cursors
245(2)
Recursion and Variables
247(1)
Summary
248(3)
11 Code Management in Real-World Systems
251(20)
The Problem of Code Management
252(8)
Versioning "Lite" for DBAs
253(3)
Homegrown Versioning
256(4)
Edition-Based Redefinition and Performance Tuning
260(6)
Understanding Edition-Based Redefinition
261(1)
Important Changes to EBR Introduced in Oracle Database 12c
262(4)
System Environment Differences and Performance-Related Code Management
266(2)
Summary
268(3)
12 Extra Tips, Tricks, and Ideas
271(20)
Back to Basics
272(5)
VARCHAR R2 Memory Allocation
272(2)
The Cost of Current Date
274(2)
BINARY Datatypes
276(1)
Text Manipulation
277(7)
Checking Text Strings for Valid Characters
278(2)
Similarity of Words
280(2)
VARCHAR2 and Views
282(2)
Increasing Processing Complexity
284(5)
NOCACHE Optimization
284(2)
ACCESSIBLE BY Clause
286(2)
More About Pipelined Functions
288(1)
Summary
289(2)
Index 291
Dr. Paul Dorsey is the founder and President of Dulcian, Inc. Dulcian specializes in Oracle client-server and web custom application development including developing new projects, auditing existing efforts, and rescuing failed projects. Paul is the Executive Editor of SELECT Magazine. He is the President of the New York Oracle Users Group. Paul and Peter Koletzke shared the Pinnacle Publishing Technical Achievement Award at ECO 95 for their work on a Forms template. Paul has won best presentation awards at both ECO and IOUW conferences and speaks at numerous Oracle conferences and user group meetings