Oracle SQL Tuning with Oracle SQLTXPLAIN (eBook)
XXIII, 408 Seiten
Apress (Verlag)
978-1-4842-2436-6 (ISBN)
Learn through this practical guide to SQL tuning how Oracle's own experts do it, using a freely downloadable tool called SQLTXPLAIN. This new edition has been expanded to include AWR, Oracle 12c Statistics, interpretation of SQL Monitor reports, Parallel execution, and Exadata-related features. Reading this book and using SQL helps you learn to tune even the most complex SQL, and you'll learn to do it quickly, without the huge learning curve usually associated with tuning as a whole.
Firmly based in real-world problems, this book helps you reclaim system resources and avoid the most common bottleneck in overall performance, badly tuned SQL. You'll learn how the optimizer works, how to take advantage of its latest features, and when it's better to turn them off. Best of all, the book is updated to cover the very latest feature set in Oracle Database 12c.
- Identify how and why complex SQL has gone wrong
- Correctly interpret AWR reports generated via SQLTXPLAIN
- Collect the best statistics for your environment
- Know when to invoke built-in tuning facilities
- Recognize when tuning is not the solution
- Spot the steps in a SQL statement's execution plan that are critical to performance of that statement
- Modify your SQL to solve performance problems and increase the speed and throughput of production database systems
Stelios Charalambides has more than 20 years experience working with Oracle databases. He is OCP certified and has worked as a senior Consultant and database administrator (DBA) on both sides of the Atlantic. His experience includes dealing with all aspects of system design, implementation and post production support, solving practical problems in a wide variety of environments. He works as an Exadata Oracle Support Engineer developing time-critical solutions for tier-one customers with high profile performance problems.
Learn through this practical guide to SQL tuning how Oracle's own experts do it, using a freely downloadable tool called SQLTXPLAIN. This new edition has been expanded to include AWR, Oracle 12c Statistics, interpretation of SQL Monitor reports, Parallel execution, and Exadata-related features. Reading this book and using SQL helps you learn to tune even the most complex SQL, and you'll learn to do it quickly, without the huge learning curve usually associated with tuning as a whole.Firmly based in real-world problems, this book helps you reclaim system resources and avoid the most common bottleneck in overall performance, badly tuned SQL. You'll learn how the optimizer works, how to take advantage of its latest features, and when it's better to turn them off. Best of all, the book is updated to cover the very latest feature set in Oracle Database 12c.Covers AWR report integrationHelps with SQL Monitor Report InterpretationProvides a reliable method that is repeatableShows the very latest tuning features in Oracle Database 12cEnables the building of test cases without affecting productionWhat You'll LearnIdentify how and why complex SQL has gone wrongCorrectly interpret AWR reports generated via SQLTXPLAINCollect the best statistics for your environmentKnow when to invoke built-in tuning facilitiesRecognize when tuning is not the solutionSpot the steps in a SQL statement's execution plan that are critical to performance of that statementModify your SQL to solve performance problems and increase the speed and throughput of production database systemsWho This Book Is ForAnyone who deals with SQL and SQL tuning. Both developers and DBAs will benefit from learning how to use the SQLTXPLAIN tool, and from the problem solving methodology in this book.
Stelios Charalambides has more than 20 years experience working with Oracle databases. He is OCP certified and has worked as a senior Consultant and database administrator (DBA) on both sides of the Atlantic. His experience includes dealing with all aspects of system design, implementation and post production support, solving practical problems in a wide variety of environments. He works as an Exadata Oracle Support Engineer developing time-critical solutions for tier-one customers with high profile performance problems.
1. Introduction2. AWR: Your Guide on What to do Next 3. The Cost-Based Optimizer Environment4. How Object Statistics Can Make Your Execution Plan Wrong 5. How Skewness Can Make Your Execution Times Variable 6. Collecting Good Oracle 12c Statistics7. Tracing CBO Decisions, Hints and Query Transformations using 10053 8. Forcing Execution Plans Through Profiles 9. Adaptive Cursor Sharing10. How To Work with Adaptive Plans11. Dynamic Statistics12. Directives and Statistics Feedback13. Parallel Execution14. SQL Monitor Active Reports15. Using SQLTXPLAIN with an Active Data Environment16. Building Good Test Cases17. Using XPLORE to Investigate Unexpected Plan Changes18. Trace Files, TRCANLZR and Modifying SQLT Behavior19. Comparing Execution Plans20. Running a Health Check21. The Final Word22. Appendix A. Installing SQLTXPLAIN23. Appendix B. The CBO Parameters (11.2.0.1)24. Appendix C. Tool Configuration Parameters and the Express Methods
Erscheint lt. Verlag | 5.4.2017 |
---|---|
Zusatzinfo | XXIII, 408 p. 207 illus., 203 illus. in color. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Datenbanken ► Oracle |
Schlagworte | Automated Workload Repository • AWR • Data Guard • Exadata • Execution Plan • Health Check • histogram • Oracle AWR • SQL • SQL Monitor • SQL Profile • SQLT • SQLTEXPLAIN |
ISBN-10 | 1-4842-2436-1 / 1484224361 |
ISBN-13 | 978-1-4842-2436-6 / 9781484224366 |
Haben Sie eine Frage zum Produkt? |
Größe: 25,1 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich