Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 18 tempdb Performance
Issues [Table of Contents] Chapter 20 Advanced Optimizing Tools

Performance and Tuning Guide Volumes 1 - 3 (Online Only)

[-] Chapter 19 Adaptive Server Optimizer

Chapter 19

Adaptive Server Optimizer

This chapter introduces the Adaptive Server query optimizer and explains the steps performed when you run queries.

This chapter explains how costs for individual query clauses are determined.

Chapter 22, "Access Methods and Query Costing for Single Tables,"explains how these costs are used to estimate the logical, physical, and total I/O cost for single table queries.

Chapter 23, "Accessing Methods and Costing for Joins and Subqueries," explains how costs are used when queries join two or more tables, or when queries include subqueries.

[-] Definition
Steps in query processing
Working with the optimizer
Object sizes are important to query tuning
Query optimization
Factors examined during optimization
[-] Preprocessing can add clauses for optimizing
Converting clauses to search argument equivalents
Converting expressions into search arguments
Search argument transitive closure
[+] Join transitive closure
[+] Predicate transformation and factoring
Guidelines for creating search arguments
[-] Search arguments and useful indexes
[+] Search argument syntax
[+] How statistics are used for SARGS
Using statistics on multiple search arguments
Default values for search arguments
SARGs using variables and parameters
[-] Join syntax and join processing
How joins are processed
When statistics are not available for joins
Density values and joins
Multiple column joins
Search arguments and joins on a table
[-] Datatype mismatches and query optimization
[+] Overview of the datatype hierarchy and index issues
[+] Datatypes for parameters and variables used as SARGs
[+] Compatible datatypes for join columns
Suggestions on datatypes and comparisons
Forcing a conversion to the other side of a join
Splitting stored procedures to improve costing
Basic units of costing


Chapter 18 tempdb Performance
Issues [Table of Contents] Definition