This book presents performance and tuning recommendations.
This guide is for system and database administrators who need to understand performance issues. Familiarity with relational database systems and introductory user-level experience with Sybase IQ is assumed. Use this guide in conjunction with other manuals in the documentation set.
The following list shows which chapters fit a particular interest or need. To read about
Structure SELECT statements, see Chapter 1, “Selecting Data from Database Tables.”
Composing joins, see Chapter 2, “Joining Tables.”
Optimizing queries, see Chapter 3, “Optimizing Queries and Deletions.”
Adjusting memory, disk I/O and CPUs, see Chapter 5, “Managing System Resources.”
Performance, see Chapter 6, “Monitoring and Tuning Performance.”
Windows performance, see Chapter 7, “Tuning Servers on Windows Systems.”
The Sybase IQ document set consists of these documents:
Introduction to Sybase IQ – contains information and exercises for users unfamiliar with Sybase IQ and with the Sybase Central™ database management tool.
New Features in Sybase IQ 12.7 – includes a brief description of new features in Sybase IQ.
Sybase IQ Performance and Tuning Guide – describes query optimization, design, and tuning issues for very large databases.
Sybase IQ System Administration Guide – describes administrative concepts, procedures and performance tuning recommendations supported by Sybase IQ, including how to manage the IQ Store.
Sybase IQ Troubleshooting and Recovery Guide – Shows how to solve problems and perform system recovery and database repair.
Sybase IQ Error Messages – refers to Sybase IQ error messages referenced by SQLCode, SQLState, and Sybase error code, and SQL preprocessor errors and warnings.
Sybase IQ Utility Guide – contains Sybase IQ utility program reference material, such as available syntax, parameters, and options.
Large Objects Management in Sybase IQ – describes storage and retrieval of Binary Large Objects (BLOBs) and Character Large Objects (CLOBs) within the Sybase IQ data repository. You need a separate license to install this product option.
Sybase IQ Installation and Configuration Guide – contains platform-specific instructions on installing Sybase IQ, migrating to a new version of Sybase IQ, and configuring Sybase IQ for a particular platform.
Sybase IQ Release Bulletin – contains last-minute changes to the product and documentation.
Encrypted Columns in Sybase IQ – describes the use of user encrypted columns within the Sybase IQ data repository. You need a separate license to install this product option.
Sybase IQ and Adaptive Server Anywhere Because Sybase IQ is an extension of Adaptive Server® Anywhere, a component of SQL Anywhere® Studio, Sybase IQ supports many of the same features as Adaptive Server Anywhere. The Sybase IQ documentation set refers you to SQL Anywhere Studio documentation where appropriate.
Documentation for Adaptive Server Anywhere:
Adaptive Server Anywhere Programming Guide – Intended for application developers writing programs that directly access the ODBC, Embedded SQL™, or Open Client™ interfaces, this book describes how to develop applications for Adaptive Server Anywhere.
Adaptive Server Anywhere Database Administration Guide – Intended for all users, this book covers material related to running, managing, and configuring databases and database servers.
Adaptive Server Anywhere SQL Reference Manual – Intended for all users, this book provides a complete reference for the SQL language used by Adaptive Server Anywhere. It also describes the Adaptive Server Anywhere system tables and procedures.
You can also refer to the Adaptive Server Anywhere documentation in the SQL Anywhere Studio 9.0.2 collection on the Sybase Product Manuals Web site. To access this site, go to Product Manuals.
Use the Sybase Getting Started CD, the SyBooks CD, and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD contains release bulletins and installation guides in PDF format, and may also contain other documents or updated information not included on the SyBooks CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
The SyBooks CD contains product manuals and is included with your software. The Eclipse-based SyBooks browser allows you to access the manuals in an easy-to-use, HTML-based format.
Some documentation may be provided in PDF format, which you can access through the PDF directory on the SyBooks CD. To read or print the PDF files, you need Adobe Acrobat Reader.
Refer to the SyBooks Installation Guide on the Getting Started CD, or the README.txt file on the SyBooks CD for instructions on installing and starting SyBooks.
The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Infocenter is an online version of SyBooks that you can view using a standard Web browser. To access the Infocenter Web site, go to Sybooks Online Help.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Click Certification Report.
In the Certification Report filter select a product, platform, and timeframe and then click Go.
Click a Certification Report title to display the report.
Finding the latest information on component certifications
Point your Web browser to Availability and Certification Reports.
Either select the product family and product under Search by Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Creating a personalized view of the Sybase Web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
This documentation uses the following syntax conventions in syntax descriptions:
Keywords SQL keywords are shown in UPPER CASE. However, SQL keywords are case insensitive, so you can enter keywords in any case you wish; SELECT is the same as Select which is the same as select.
Placeholders Items that must be replaced with appropriate identifiers or expressions are shown in italics.
Continuation Lines beginning with … are a continuation of the statements from the previous line.
Repeating items Lists of repeating items are shown with an element of the list followed by an ellipsis (three dots). One or more list elements are allowed. If more than one is specified, they must be separated by commas.
Optional portions Optional portions of a statement are enclosed by square brackets. For example:
RELEASE SAVEPOINT [ savepoint-name ]
It indicates that the savepoint-name is optional. The square brackets should not be typed.
Options When none or only one of a list of items must be chosen, the items are separated by vertical bars and the list enclosed in square brackets. For example:
[ ASC | DESC ]
It indicates that you can choose one of ASC, DESC, or neither. The square brackets should not be typed.
Alternatives When precisely one of the options must be chosen, the alternatives are enclosed in curly braces. For example:
QUOTES { ON | OFF }
It indicates that exactly one of ON or OFF must be provided. The braces should not be typed.
Table 1 lists the typographic conventions used in this documentation.
Item |
Description |
---|---|
|
SQL and program code is displayed in a mono-spaced (fixed-width) font. |
|
Text entered by the user is shown in bold serif type. |
emphasis |
Emphasized words are shown in italic. |
file names |
File names are shown in italic. |
database objects |
Names of database objects, such as tables and procedures, are shown in bold, san-serif type in print, and in italic online. |
Sybase IQ includes a sample database used by many of the examples in the Sybase IQ documentation.
The sample database represents a small company. It contains internal information about the company (employees, departments, and financial data), as well as product information (products), sales information (sales orders, customers, and contacts), and financial information (fin_code, fin_data).
The sample database is held in a file named asiqdemo.db, located in the directory $ASDIR/demo on UNIX systems and %ASDIR%\demo on Windows systems.
This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.
Sybase IQ 12.7 and the HTML documentation have been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.
For information about accessibility support in the Sybase IQ plug-in for Sybase Central, see “Using accessibility features” in Introduction to Sybase IQ. The online help for this product, which you can navigate using a screen reader, also describes accessibility features, including Sybase Central keyboard shortcuts.
Configuring your accessibility tool You might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool and see “Using screen readers” in Introduction to Sybase IQ.
For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
For a Section 508 compliance statement for Sybase IQ, go to Sybase Accessibility.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.