RelationalDBDesign
SiteMap
Advanced Tuning
SQL Tuning
Perform Tuning
Tuning Instance
Tuning Basics
External Environment
Shared Pool
«Prev
Next»
Tuning Oracle Instance
Instance Tuning
Main Components SGA
Shared Pool Tuning
Oracle Library Cache
Query Dictionary Cache
Global Area Session
Data Buffer Cache
Redo Log Buffer
Instance Tuning Conclusion
Shared Pool Tuning
Shared Pool Optimal Tuning
Pin Packages Shared Pool
Reserved Size
Identifying High Use Packages
IIdentify Swapped out Items
Statistics gathered from Startup
Detecting Library Cache Contention
Library Cache Statistics
Reuse SQL Library Cache
Tuning Shared Pool
Data Buffer Cache
Tuning Data Buffer
Calculate buffer Hit Ratio
Non- Full table Scan
Full table Scan
Impact Adding Data Buffers
Predict Amount Spare Memory
Create multiple Buffer Pools
Configure Multiple Buffer Pools
Size Buffer Pools
Monitor Buffer Cache
Use Table Caching
Databuffer Cache Conclusion
Redo Log Tuning
Oracle Redo Logs
Tuning Techniques
View RedoLog Activity
Redo Log Parameters
RedoLog Wait Statistics
RedoLogs Online Size Determination
size Archived RedoLog FileSystem
Tune redo Log Operations
log_checkpoint_interval
RedoLog Tuning Conclusion
Sorting Operations
Oracle Sorting Basics
Sorting Parameters
SQL Join Operations
Monitor for Disk Sorts
Sorting Direct Writes
Temporary Sorting Space
Monitoring Temp Tablespace
Remove SQL Sorts
Sorting Operations Conclusion
Intro Tuning Oracle Locks
Oracle Locking Scheme
Shared Exclusive Locks
Oracle Lock Modes
Database Deadlocks
Preventing Database Deadlocks
Dictionary Lock Views
Lock Utility Scripts
DBMS Lock Package
Tuning Oracle Locks Conclusion
Shared Pool Concepts - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which is the best way to reduce contention on your library cache?
Please select the best answer.
A.
Pin all SQL statements in the shared pool.
B.
Always use host variables in all SQL.
C.
Place all SQL into packages.
D.
Place frequently used objects into packages and pin them into the shared pool.
2.
What is the best way to identify frequently used packages and procedures?
Please select the best answer.
A.
Query the V$DB_OBJECT_CACHE view.
B.
Use Oracle auditing.
C.
Query the Oracle data dictionary views.
D.
Query the V$SGASTAT view.
3.
Which is a valid reason to place all SQL in packages? (Please select all that apply.)
Please select all the correct answers.
A.
The SQL can be pinned in the shared pool.
B.
The SQL will be uniform in syntax with identical host variables.
C.
The SQL can be extracted from the dictionary and tuned at any time.
D.
The SQL will run faster when inside a package.
4.
Which of the following are residents of the library cache? (Choose all that apply.)
Please select all the correct answers.
A.
SQL source
B.
Dictionary objects rows
C.
SQL cursors
D.
V$ views
5.
What is the best init.ora remedy for problems in the library cache?
Please select the best answer.
A.
Increase the shared_pool_size init.ora parameter.
B.
Set cursor_space_for_time to TRUE.
C.
Increase session_cached_cursors.