The objective of this training course is twofold. Firstly, Architecture & Internals will reveal the underlying architecture of the Oracle database environment. This course is intended to be of benefit to information technology (IT) managers and executives who require an understanding of the technology upon which they and their staff rely.
Secondly, SQL Tuning will equip database administrators and application developers to build efficient SQL statements and to tune database applications. When this effort is complemented by database server and PL/SQL application tuning, then a highly efficient application execution environment is created. You will learn about the internals of SQL statement execution, how to monitor the performance of such execution and how one can influence the behaviour of the database to achieve performance gains.
Duration: 5 days
What You Will Learn: Architecture & Internals covers the following specific topics: • Understanding the broader Oracle enterprise architecture, including the client, middleware and database tiers found within a multi-tiered enterprise environment. SQL Tuning covers the following specific topics: • Consider the unique and differing tuning issues found in online database applications, enterprise resource and data warehouse environments and the important metrics of SQL statement performance.
• Understand key computing concepts such as parallelization, grid-based resource acquisition and clusters.
• Understanding the role of database machines, such as the Exadata database computing machines and storage machines.
• An in-depth exploration of the database architecture, including memory, process and data structures, and the composition of an Oracle database instance.
• Alternative modes of database operation, including dedicated server mode, shared servers mode, parallel execution and how one selects the appropriate mode for each environment.
• Consider the role of the Shared Global Area (SGA) and the various memory caches and subcaches which can be optionally configured within that space.
• Consider the complimentary role of the Program Global Area (PGA), also known as the Process Global Area.
• Discuss the role of the instance background processes, including those which are optional and those which can have additional instances optionally launched.
• Consider physical database storage structures such as tablespaces, data files, blocks and the internal format of rows.
• Consider the alternative row-level storage option of hybrid columnar compression.
• Compare & contrast internal storage of data segments, B-tree and bitmap index segments.
• Review all of the possible database object types which one may find within the logical application database.
• The schema and ownership context in which logical database objects reside.
• The editions context in which database objects can exist in different forms and how hot application upgrades are supported by database editions.
• Learn about the internal mechanisms use for SQL statement execution within a database instance and how these can affect performance for good or bad, including the Optimizer facilities known as the Transformation Engine, Estimator and Plan Generator.
• Use a variety of techniques to examine the details of SQL statement execution, spotting trouble areas and bottlenecks which require tuning.
• Learn about the Auto-Task framework and how to manage the automatic collection of Optimizer statistics and automatic SQL tuning using both the programmatic and Enterprise Manager interfaces.
• Learn how statistic deficiencies can dramatically degrade performance, and how these problems are resolved through customized Optimizer statistics collection procedures using the DBMS_STATS() package, system statistics, histograms, expression statistics and MultiColumn statistics.
• Influence the behavior of the Optimizer by setting database parameters and other SQL tuning techniques.
• Utilize the database advisory framework and the SQL Tuning and SQL Access advisors.
• Use plan management to achieve plan stability which is adaptive and even dynamic.
• Understand the self-tuning infrastructure and the automatic SQL tuning capabilities found within the database.
• Employ SQL hints embedded into the statement text to resolve unique tuning challenges.
• Learn to identify poorly performing SQL statements using real-time SQL monitoring and application tracing techniques such as DBMS_MONITOR(), trcsess and tkprof.
What You Will Learn:
Architecture & Internals covers the following specific topics:
• Understanding the broader Oracle enterprise architecture, including the client, middleware and database tiers found within a multi-tiered enterprise environment.
SQL Tuning covers the following specific topics:
• Consider the unique and differing tuning issues found in online database applications, enterprise resource and data warehouse environments and the important metrics of SQL statement performance.