Pro Oracle SQL [electronic resource] /
Morton, Karen.author.
Osborne, Kerry.author.
Sands, Robyn.author.
Shamsudeen, Riyaj.author.
Still, Jared.author.
Pro Oracle SQL, Second Edition unlocks the power of SQL in the Oracle database-one of the most potent SQL implementations on the market today. To master it requires a multi-pronged approach: learn the language features, learn how and why the language features work, learn the supporting features that Oracle provides to help use the language effectively, and learn to think and work in sets. Karen Morton has updated the content for Oracle version 12c and helps you master powerful aspects of Oracle SQL from the inside-out. You'll learn analytic functions, the MODEL clause, and advanced grouping syntax-features that will help in creating good queries for reporting and business intelligence applications. Pro Oracle SQL, Second Edition also helps you minimize parsing overhead, read execution plans, test for correct results, understand performance management, and exert control over SQL execution in your database. You'll learn when to create indexes, how to verify that they make a difference, how to use SQL Baselines and Profiles to optimize and stabilize SQL execution plans, and much more. You'll also understand how SQL is optimized for working in sets, and that the key to getting accurate results lies in making sure that queries ask clear and precise questions. Pro Oracle SQL, Second Edition helps you work at a truly professional level in the Oracle dialect of SQL. You'll master the language, the tools to work effectively with the language, and the right way to think about a problem in SQL. Endorsed by the OakTable Network, a group of Oracle technologists well-known for their rigorous and scientific approach to Oracle Database performance Comprehensive-goes beyond the language with a focus on what you need to know to write successful queries and data manipulation statements. Performance focused-teaches you how to measure the performance of your SQL statements and not just the syntax.
""Contents at a Glance""; ""Contents""; ""About the Authors""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Chapter 1: Core SQL""; ""The SQL Language""; ""Interfacing to the Database""; ""Review of SQL*Plus""; ""Connect to a Database""; ""Configuring the SQL*Plus Environment""; ""Executing Commands""; ""The Five Core SQL Statements""; ""The SELECT Statement""; ""The FROM Clause""; ""The WHERE Clause""; ""The GROUP BY Clause""; ""The HAVING Clause""; ""The SELECT List""; ""The ORDER BY Clause""; ""The INSERT Statement""; ""Single-Table Inserts""; ""Multitable Inserts""
""The UPDATE Statement""""The DELETE Statement""; ""The MERGE Statement""; ""Summary""; ""Chapter 2: SQL Execution""; ""Oracle Architecture Basics""; ""SGA: The Shared Pool""; ""The Library Cache""; ""Identical Statements""; ""SGA: The Buffer Cache""; ""Query Transformation""; ""Query Blocks""; ""View Merging""; ""Subquery Unnesting""; ""Join Elimination""; ""ORDER BY Elimination""; ""Predicate Pushing""; ""Query Rewrite with Materialized Views""; ""Determining the Execution Plan""; ""Executing the Plan and Fetching Rows""; ""SQL Execution: Putting It All Together""; ""Summary""
""Chapter 3: Access and Join Methods""""Full Scan Access Methods""; ""How Full Scan Operations Are Chosen""; ""Full Scans and Throwaway""; ""Full Scans and Multiblock Reads""; ""Full Scans and the High-Water Mark""; ""Index Scan Access Methods""; ""Index Structure""; ""Index Scan Types""; ""Index Unique Scan""; ""Index Range Scan""; ""Index Full Scan""; ""Index Skip Scan""; ""Index Fast Full Scan""; ""Join Methods""; ""Nested Loops Joins""; ""Sortâ€?Merge Joins""; ""Hash Joins""; ""Cartesian Joins""; ""Outer Joins""; ""Summary""; ""Chapter 4: SQL Is about Sets""; ""Thinking in Sets""
""Moving from Procedural to Set-Based Thinking""""Procedural vs. Set-Based Thinking: An Example""; ""Set Operations""; ""UNION and UNION ALL""; ""MINUS""; ""INTERSECT""; ""Sets and Nulls""; ""NULL s and Unintuitive Results""; ""NULL Behavior in Set Operations""; ""NULL s and GROUP BY and ORDER BY""; ""NULL s and Aggregate Functions""; ""Summary""; ""Chapter 5: Itâ€?s about the Question""; ""Asking Good Questions""; ""The Purpose of Questions""; ""Categories of Questions""; ""Questions about the Question""; ""Questions about Data""; ""Building Logical Expressions""; ""Summary""
""Chapter 6: SQL Execution Plans""""Explain Plan""; ""Using Explain Plan""; ""The Plan Table""; ""Breaking Down the Plan""; ""Understanding How EXPLAIN PLAN Can Miss the Mark""; ""Reading the Plan""; ""Access and Filter Predicates""; ""Reading the Plan as a Narrative""; ""Execution Plans""; ""Viewing Recently Generated SQL""; ""Viewing the Associated Execution Plan""; ""Collecting the Plan Statistics""; ""Identifying SQL Statements for Later Plan Retrieval""; ""Understanding DBMS_XPLAN in Detail""; ""Using SQL Monitor Reports""; ""Using Plan Information for Solving Problems""
""Determining Index Deficiencies""
Includes index.
Pro Oracle SQL, Second Edition unlocks the power of SQL in the Oracle database-one of the most potent SQL implementations on the market today. To master it requires a multi-pronged approach: learn the language features, learn how and why the language features work, learn the supporting features that Oracle provides to help use the language effectively, and learn to think and work in sets. Karen Morton has updated the content for Oracle version 12c and helps you master powerful aspects of Oracle SQL from the inside-out. You'll learn analytic functions, the MODEL clause, and advanced grouping syntax-features that will help in creating good queries for reporting and business intelligence applications. Pro Oracle SQL, Second Edition also helps you minimize parsing overhead, read execution plans, test for correct results, understand performance management, and exert control over SQL execution in your database. You'll learn when to create indexes, how to verify that they make a difference, how to use SQL Baselines and Profiles to optimize and stabilize SQL execution plans, and much more. You'll also understand how SQL is optimized for working in sets, and that the key to getting accurate results lies in making sure that queries ask clear and precise questions. Pro Oracle SQL, Second Edition helps you work at a truly professional level in the Oracle dialect of SQL. You'll master the language, the tools to work effectively with the language, and the right way to think about a problem in SQL. Endorsed by the OakTable Network, a group of Oracle technologists well-known for their rigorous and scientific approach to Oracle Database performance Comprehensive-goes beyond the language with a focus on what you need to know to write successful queries and data manipulation statements. Performance focused-teaches you how to measure the performance of your SQL statements and not just the syntax.
Database management.
Data structures (Computer science).
Database Management.
Data Structures and Information Theory.