Quick Start Sybase IQ 15.4

Similar documents
Quick Start SAP Sybase IQ 16.0 SP08

Quick Start SAP Sybase IQ 16.0

Sybase IQ Quick Start

Sybase IQ Quick Start

Getting Started Tutorial - Eclipse Edition. Sybase Unwired Platform 1.2

Introduction to Sybase IQ. Sybase IQ 15.4

New Features Summary PowerDesigner 15.2

New Features Summary. SAP Sybase Event Stream Processor 5.1 SP02

MSMQ Adapter Guide. Sybase CEP Option R4

Release Bulletin Sybase Mobile Workflow for SAP Business Suite 1.2.1

Distribution Partner Portal User Manual. Sybase Money Mobiliser 5.1

Oracle Database Express Edition

New Features Summary PowerDesigner 15.3

Device Users Guide Sybase Mobile Sales for SAP CRM 1.2

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

WebSphere Adapter Guide. Sybase CEP Option R4

Overview Guide. Mainframe Connect 15.0

Replication Server Heterogeneous Edition

SAP Sybase IQ 16.0 SP08 PL1 Point-in-Time Recovery. July 2014

New Features Guide. Appeon for PowerBuilder

Tutorial: Mobile Workflow Package Development. Sybase Unwired Platform 1.5.2

ER/Studio Enterprise Portal User Guide

ER/Studio Enterprise Portal User Guide

Appeon Installation Guide for WebSphere

Ephesoft Transact. Version Release Notes. September Ephesoft Transact Release Notes Version Pre - release Draft

ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE SERVICE PACK 1 PART NO. E

SAS Data Integration Studio 3.3. User s Guide

Samples. Sybase WorkSpace 2.0.2

Unstructured Data Analytics in Sybase IQ. Sybase IQ 15.3

Appeon Installation Guide for WebLogic

Installation Guide for Runtime Sybase Unwired Platform 2.1 ESD #1

Release Bulletin Enterprise Connect Data Access 15.7

Cluster Resource Monitor

Oracle Hospitality Simphony Venue Management Installation Guide Release 3.10 E March 2018

Utility Guide. Sybase IQ 15.3

Veritas NetBackup for Microsoft SQL Server Administrator's Guide

One Identity Active Roles 7.2. Azure AD and Office 365 Management Administrator Guide

SAP BusinessObjects Live Office User Guide SAP BusinessObjects Business Intelligence platform 4.1 Support Package 2

Introducing Rational ClearQuest

BEAWebLogic. Portal. MobileAware Interaction Server Installation Guide

Release Notes. Ephesoft Enterprise Version

Release Notes. Ephesoft Transact Version

Feature Guide. Sybase mbanking

Product Documentation. ER/Studio Portal. Installation Guide. Version 1.5 Published October 8, 2009

Using SAP NetWeaver Business Intelligence in the universe design tool SAP BusinessObjects Business Intelligence platform 4.1

NTP Software File Auditor for Windows Edition

SAP BusinessObjects Integration Option for Microsoft SharePoint Getting Started Guide

BMC Remedy Action Request System Using a BIRT Editor to Create or Modify Web Reports

Installation Guide Enterprise Connect Data Access 15.7

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP03

Contents Overview... 5 Upgrading Primavera Gateway... 7 Using Gateway Configuration Utilities... 9

Installation Guide Enterprise Connect Data Access 15.7

Nimsoft Monitor Server

ER/Studio Enterprise Portal 1.1 Installation Guide

SPECTRUM Web Operator

Oracle Communications Performance Intelligence Center

FAS Asset Accounting FAS CIP Accounting FAS Asset Inventory Installation & Administration Guide Version

FAS Asset Accounting FAS CIP Accounting FAS Asset Inventory SQL Server Installation & Administration Guide Version

Oracle Test Manager. Test Manager User s Guide Release E

Performance and Tuning Guide. Sybase IQ 15.3

Embarcadero All-Access Client User Guide. Last Updated: 7/11/09

Symantec Ghost Solution Suite Web Console - Getting Started Guide

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E

External Data Connector for SharePoint

Oracle Enterprise Manager. 1 Introduction. System Monitoring Plug-in for Oracle Enterprise Manager Ops Center Guide 11g Release 1 (

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition

Oracle Fusion Middleware

Oracle SQL Developer TimesTen In-Memory Database Support

Upgrading to Act! v20 from ACT! 3.x, 4.x, 5.x (2000), or 6.x (2004)

Topaz for Java Performance Installation Guide. Release 16.03

ER/Studio Enterprise Portal 1.1 User Guide

Information Design Tool User Guide SAP BusinessObjects Business Intelligence platform 4.0 Support Package 4

HP OpenView Service Desk

MapMarker Plus Developer Installation Guide

HP Service Health Reporter

Installation Guide. . All right reserved. For more information about Specops Command and other Specops products, visit

Sage Fixed Assets Network Installation Guide

OnWeb IIS Plug-in: Installation Guide

Java SDK Guide. Sybase Event Stream Processor 5.0

Veritas NetBackup OpsCenter Reporting Guide. Release 8.0

External Data Connector for SharePoint

SAS Model Manager 2.3

Embarcadero Change Manager 5.1 Installation Guide. Published: July 22, 2009

Upgrading the Procura Database

Rapid SQL 7.6 Installation Guide

Symantec ediscovery Platform

Introduction to Data Modeling and the Aleri Studio Sybase Aleri Streaming Platform 3.1

COGNOS (R) ENTERPRISE BI SERIES COGNOS REPORTNET (TM)

Installation Guide for Sybase Mobile SDK Sybase Unwired Platform 2.1

Oracle Enterprise Single Sign-on Provisioning Gateway

Oracle Service Bus. 10g Release 3 (10.3) October 2008

Nimsoft Service Desk. Single Sign-On Configuration Guide. [assign the version number for your book]

Oracle Hospitality Simphony First Edition Venue Management (SimVen) Installation Guide Release 3.8 Part Number: E

End User s Guide Release 5.0

Overview of the Plug-In. Versions Supported

Oracle Standard Management Pack

Partner Information. Integration Overview. Remote Access Integration Architecture

DBArtisan 8.6 Installation Guide

Rapid SQL Developer Debugger 2.0 User Guide

Symantec Enterprise Security Manager Baseline Policy Manual for CIS Benchmark. For Red Hat Enterprise Linux 5

Transcription:

Quick Start Sybase IQ 15.4 UNIX/Linux

DOCUMENT ID: DC01687-01-1540-02 LAST REVISED: February 2012 Copyright 2012 by Sybase, Inc. All rights reserved. This publication pertains to Sybase software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement. Upgrades are provided only at regularly scheduled software release dates. No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Sybase, Inc. Sybase trademarks can be viewed at the Sybase trademarks page at http://www.sybase.com/detail?id=1011207. Sybase and the marks listed are trademarks of Sybase, Inc. indicates registration in the United States of America. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. Java and all Java-based marks are trademarks or registered trademarks of Oracle and/or its affiliates in the U.S. and other countries. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. All other company and product names mentioned may be trademarks of the respective companies with which they are associated. Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies. Sybase, Inc., One Sybase Drive, Dublin, CA 94568.

Contents Getting Started...1 Create a Single Server...1 Setting the Environment Variables...2 Creating the Demo Database...2 Running a Sample Query...3 Convert the Server to Multiplex...4 Starting the Sybase IQ Agent...4 Starting Sybase Central...5 Defining the Multiplex Server...5 Loading Data into the Multiplex...9 Distribute the Workload...10 Adding Shared Temporary Storage...10 Increasing the iq_main File Size...11 Running a Distributed Query...11 Reviewing the Query Plan...12 Index...15 Quick Start iii

Contents iv Sybase IQ

Getting Started The Sybase IQ Quick Start shows you how to deploy a single server, convert the server to multiplex, and run a query that distributes processing across all nodes in the multiplex. Tasks in this guide are sequential and progressive. Complete the tasks in one sequence before you progress to the next. The time required to complete all tasks is about 20 minutes. 1. Create a Single Server The first set of tasks describes how to deploy the demo database in a single-server environment. 2. Convert the Server to Multiplex Convert the demo database to multiplex. 3. Distribute the Workload In a multiplex environment, the query optimizer breaks complex queries into fragments and distributes the fragments to different nodes for processing. Create a Single Server The first set of tasks describes how to deploy the demo database in a single-server environment. 1. Setting the Environment Variables Sybase IQ environment variables point to different directories and file locations. Normally, the installer automatically sets many of these variables, but if you work in a new terminal or console, you must manually set these variables. 2. Creating the Demo Database Sybase IQ includes a demo database that includes sample data about a fictional company that sells athletic clothing. Scripts that create and load the demo database are installed as part of Sybase IQ Server Suite. 3. Running a Sample Query Interactive SQL is a utility that ships with Sybase IQ. Use Interactive SQL to connect to the server and run a sample query. See also Convert the Server to Multiplex on page 4 Quick Start 1

Setting the Environment Variables Sybase IQ environment variables point to different directories and file locations. Normally, the installer automatically sets many of these variables, but if you work in a new terminal or console, you must manually set these variables. 1. Open a console or terminal. 2. Set the $SYBASE variable to the parent installation directory. Shell tcsh or C (csh) Korn (ksh), Bash, or Bourne (sh) Command setenv SYBASE <directory name> SYBASE=<directory name>; export SYBASE 3. Set the $IQDIR15 variable to the Sybase IQ product directory. Shell tcsh or C (csh) Korn (ksh), Bash, or Bourne (sh) Command source $SYBASE/IQ-15_4/ IQ-15_4.csh $SYBASE/IQ-15_4/IQ-15_4.sh Note: For additional information about environment variables, see Reference: Building Blocks, Tables, and Procedures > File Locations and Installation Settings > Environment Variables. Creating the Demo Database Sybase IQ includes a demo database that includes sample data about a fictional company that sells athletic clothing. Scripts that create and load the demo database are installed as part of Sybase IQ Server Suite. These instructions differ from those in the Installation and Configuration Guide. This task creates the demo database with an absolute path in a temporary directory named myiqdemo. 1. Change to the $SYBASE directory. 2. Create a subdirectory named myiqdemo. This is the temporary directory for the demo database. The full path to this directory is:. $SYBASE/myiqdemo 3. Change to myiqdemo. 4. Create a subdirectory named w1. This directory is used later for the multiplex conversion. The full path to this directory is: 2 Sybase IQ

$SYBASE/myiqdemo/w1 5. Enter: $IQDIR15/demo/mkiqdemo.sh -absolute The -absolute switch creates the demo database with an absolute path, which is required to convert the demo database to multiplex. For other options, enter: $IQDIR15/demo/mkiqdemo.sh -help 6. Start the demo database: start_iq @iqdemo.cfg iqdemo.db Running a Sample Query Interactive SQL is a utility that ships with Sybase IQ. Use Interactive SQL to connect to the server and run a sample query. 1. Enter: dbisql Interactive SQL starts and opens a connection dialog. 2. Use these connection parameters: Tab Name Identification Field Authentication User ID Password Action Value Database DBA or dba (case-insensitive) sql (case-sensitive) Connect to a running database on this computer 3. In the SQL Statements window, enter: SELECT SalesOrders.ID, SalesOrders.OrderDate, Customers.CompanyName FROM SalesOrders KEY JOIN Customers WHERE OrderDate > '1994/01/01' ORDER BY OrderDate Other query options are available. See Installation and Configuration > Testing Installed Products > Demo Database > Table Names for a list of tables and owners. 4. Press F9 to run the query. 5. Click File > Exit to exit Interactive SQL. Quick Start 3

Convert the Server to Multiplex Convert the demo database to multiplex. Although there are command line equivalents, all server-related tasks in this sequence use Sybase Central, which is an administrative console for Sybase products. Sybase Central lets you administer your server in a graphical environment. Using Sybase Central to convert the demo database to multiplex lets you see the changes to your processing environment as they occur. 1. Starting the Sybase IQ Agent Sybase IQ Agent provides a communication channel between Sybase IQ and Sybase Central. Sybase Central requires an active Sybase IQ Agent to perform server-related tasks. 2. Starting Sybase Central Start Sybase Central and connect to your server. 3. Defining the Multiplex Server Use the Create Server wizard to convert a single server to multiplex. 4. Loading Data into the Multiplex Use the coordinator and writer to load the multiplex to make the best use of multiplex resources. See also Create a Single Server on page 1 Distribute the Workload on page 10 Starting the Sybase IQ Agent Sybase IQ Agent provides a communication channel between Sybase IQ and Sybase Central. Sybase Central requires an active Sybase IQ Agent to perform server-related tasks. 1. In a console, change to $IQDIR15/bin64, and enter: S99SybaseIQAgent15 This command starts the Sybase IQ Agent and sets the port to 1099. 2. Verify that the agent is running: stop_iq -agent Note: Sybase IQ writes the agent log file to $IQDIR15/logfiles/ SybaseIQAgentNNNN.MMM.log, where NNNN is the port number and MMM is a sequential number. If the environment variable $IQLOGDIR15 is set, the agent log files are in the $IQLOGDIR15 directory. 4 Sybase IQ

Starting Sybase Central Start Sybase Central and connect to your server. 1. Change to: $IQDIR15/bin64 2. Enter: scjview 3. Close the Tips and Welcome windows, if necessary. 4. From the View menu, choose Folders. 5. From the Connections menu, choose Connect with Sybase IQ. 6. On the Connect dialog, enter: Tab Name Identification Field Authentication User ID Password Action Value Database DBA or dba (case-insensitive) sql (case-sensitive) Connect to a running database on this computer Defining the Multiplex Server Use the Create Server wizard to convert a single server to multiplex. The Quick Start uses the placeholder <localhost> to identify the host. When you see this placeholder in any instruction, substitute your host name. 1. In Folders, right-click the <localhost>_iqdemo server icon, choose Agent > Properties. 2. Update the Agent Properties, as necessary: Field Name Username Password Port Timeout Value DBA or dba (case-insensitive) sql (case-sensitive) 1099 (default) 5 (default in minutes) 3. Click OK to return to Sybase Central. 4. In Folders, right-click <localhost>_iqdemo server, choose Convert to Multiplex. The Multiplex Server Conversion wizard includes several parts: Quick Start 5

Title Node Configuration Database Path Temporary Dbspace Configuration Description Configuration settings for a new multiplex node An absolute path to a database file on the new multiplex secondary server Size and path to a temporary dbspace file Review of Settings 5. Follow the instructions on the screen. See also Loading Data into the Multiplex on page 9 Summarizes multiplex configuration settings Sample Conversion Values The Server Creation wizard derives some default field values from the single server you are converting. Refer to these sample conversion values for the Quick Start. Node Configuration The Node Configuration dialog sets the multiplex node configuration properties. Field Name Description Multiplex Server Name Server Name Host Information Agent The wizard derives the default value for this field from the name of the single server you are converting: <localhost>_iqdemo Change to: <localhost>_iqdemo_mpx This is the name of the first secondary server in your multiplex. This value must be different from server you are converting, which becomes the coordinator server for the multiplex. Use this value: <localhost>_iqdemo_w1 For the Quick Start, use the default Host Name and Port Number provided by the wizard. Using these values lets you set up the multiplex with multiple servers on the same host. For the Quick Start use these values to bind the multiplex to the Sybase IQ Agent: Port Username Password 1099 (default) DBA (case-insensitive) sql (case-sensitive) 6 Sybase IQ

Field Name Mode Create administrative shell scripts. Description Change from Reader to Writer. You will use this node later to load data. Generates scripts for starting, stopping, and synchronizing servers. Database Path Database Path dialog sets an absolute path to database stores. The <pathname> placeholder refers to the path. When you see this placeholder, substitute the full path name. Field Description Database Path For the Quick Start, use the <pathname>/myiqdemo/w1 subdirectory and identify the secondary server database file as iqdemo_w1.db. Although you can browse to the path, you must enter the database file name (iqdemo_w1.db). The full field value should read: <pathname>/myiqdemo/w1/iqdemo_w1.db Coordinator s configuration options Select the Use Coordinator s configuration options to copy the params.cfg options for the existing database to the new multiplex server s database directory. Temporary Dbspace Configuration Temporary Dbspace Configuration dialog sets the path to the temporary dbspace file. As in the previous section, substitute the full path for the <pathname> placeholder. Field Description Temporary dbspace file path For the Quick Start, set the path to <pathname>/myiqdemo/ w1/iqdemo_w1.iqtmp. Although you can browse to the path, you must enter the database file name (iqdemo_w1.iqtmp). The full field value should read: <pathname>/myiqdemo/w1/iqdemo_w1.iqtmp RAW device option Unselect the This is a RAW device option to display the default File size and Reserve size values. For the Quick Start, do not change these values. Quick Start 7

Review of Settings Review the conversion values. Multiplex Views Converting a single server to multiplex adds different views to Sybase Central. Folders View The new multiplex becomes part of the Multiplex folder. Expand the new Multiplex folder to see the objects in the multiplex. View Multiplex Server Description The name of the new multiplex is: <localhost>_iqdemo_mpx Coordinator The coordinator manages multiplex resources. The name of the coordinator is: <localhost>_iqdemo Writer The writer can run read-only and read-write operations against shared IQ objects. The name of the writer is: <localhost>_iqdemo_w1 Multiplex Properties Multiplex properties appear in the right pane. Select the multiplex server or one of its member objects in the Folders view to display its properties. View Servers Description The Servers tab identifies the servers in the multiplex: <localhost>_iqdemo (coordinator) <localhost>_iqdemo_w1 (writer) Topology The Topology tab provides a graphical view of the multiplex. Right-click any object in the multiplex topology to display command options for that object. Performance Monitor The Performance Monitor tab lets you monitor performance statistics at multiplex and server levels. At the multiplex level, you can monitor one statistic at a time across multiple servers. At the server level, you can simultaneously monitor as many as 10 statistics. 8 Sybase IQ

Loading Data into the Multiplex Use the coordinator and writer to load the multiplex to make the best use of multiplex resources. Because we want to load the same data we used to create the demo database, the sample LOAD scripts include a TRUNCATE statement, which deletes all rows in the target table before loading the data. 1. In Folders, right-click <localhost>_iqdemo > Open Interactive SQL. This starts Interactive SQL with a connection to the coordinator. 2. In Interactive SQL, enter: TRUNCATE TABLE Contacts; LOAD TABLE Contacts (ID, Surname,GivenName, Title, Street, City, State, Country, PostalCode, Phone, Fax, CustomerID) USING FILE '../IQ-15_4/demo/adata/contact.dat' ROW DELIMITED BY ' ' ESCAPES OFF; COMMIT; Enter the full path to the data file on a single line. 3. Press F9 to load the Contacts table on the coordinator. 4. Close Interactive SQL. 5. In Folders, right-click <localhost>_iqdemo_w1 > Open Interactive SQL. This starts Interactive SQL with a connection to the writer. 6. In Interactive SQL, enter: TRUNCATE TABLE SalesOrderItems; LOAD TABLE SalesOrderItems (ID, LineID, ProductID, Quantity, ShipDate) USING FILE '../../IQ-15_4/demo/adata/sales_oi.dat' ROW DELIMITED BY ' ' ESCAPES OFF; COMMIT; Enter the full path to the data file on the single line. 7. Press F9 to load the SalesOrderItems Table on the writer. 8. Close Interactive SQL. See also Defining the Multiplex Server on page 5 Quick Start 9

Distribute the Workload In a multiplex environment, the query optimizer breaks complex queries into fragments and distributes the fragments to different nodes for processing. Distributing a query involves a leader node and one or more worker nodes. A query originates on the leader node. A worker node can be any node in the multiplex that can accept some of the query processing work. Any multiplex node type (reader, writer, or coordinator) can be a leader or a worker node. The query optimizer determines whether to distribute the query. To distribute the query, the leader node breaks the query into parallel fragments and assigns the fragments to the worker nodes. The workers process the fragments and return the intermediate results. Queries that are unlikely to scale appropriately or degrade performance are not distributed; they are executed on a single node in the multiplex. This part of the Quick Start shows how to change the multiplex to accommodate a large volume of data and run a distributed query. 1. Adding Shared Temporary Storage Distributed Query Processing (DQP) requires temporary storage that all multiplex nodes can share. This task creates a resource on the coordinator that provides temporary storage for the coordinator and writer. 2. Increasing the iq_main File Size Before you run a distributed query, increase the file size in user dbspace iq_main. 3. Running a Distributed Query The query engine is more likely to distribute a query that processes a large number of rows than those that require fewer resources. 4. Reviewing the Query Plan Check the multiplex node directories to review the query plan. The comprehensive query plan is in the leader node directory, and each distributed work unit has an HTML file generated by the node that received it. See also Convert the Server to Multiplex on page 4 Adding Shared Temporary Storage Distributed Query Processing (DQP) requires temporary storage that all multiplex nodes can share. This task creates a resource on the coordinator that provides temporary storage for the coordinator and writer. 1. In Folders, expand <localhost>_iqdemo_mpx > iqdemo > Dbspaces. 10 Sybase IQ

2. In the Dbspaces folder, right-click IQ_SHARED_TEMP, choose New > File. 3. On the Add File(s) dialog, click Add. 4. Update the File Detail(s) dialog: Option Logical File Name Physical File Path Value Use shared_temp as the logical file name. Set the path to the $SYBASE/myiqdemo subdirectory and identify the secondary server database file as shared_temp.iqtmp. You can unselect This is a raw device to browse to the path, but you must manually enter the file name. The full field value should read: $SYBASE/myiqdemo/shared_temp.iqtmp Raw device option File Sizes Unselect This is a raw device to display the default File size and Reserve size values. Update with these values: File Size Reserve Size 300MB 90MB 5. Click OK to return to the Add File(s) dialog, then click OK > Next > Finish. 6. On the Files tab, right-click shared_temp, and choose Properties. 7. Change the Mode to Read/Write. 8. Click Apply > OK. Increasing the iq_main File Size Before you run a distributed query, increase the file size in user dbspace iq_main. 1. In Folders, expand <localhost>_iqdemo_mpx > iqdemo > Dbspaces. 2. In the Dbspaces folder, click iq_main. 3. On the Files tab, right-click iq_main, and choose Properties. 4. On the Properties sheet, change the Modify File Size to 200. 5. Click Apply > OK. Running a Distributed Query The query engine is more likely to distribute a query that processes a large number of rows than those that require fewer resources. This task includes two scripts that load and query a significant amount of sample data (10 million rows). The first script creates and loads a Fact table and a Dimension table. The second script runs a query that fetches 3 rows, and generates a query plan in the coordinator and write server directories. Quick Start 11

Note: Depending on your system configuration and amount of data, the Sybase IQ query engine may choose a query plan that does not distribute to the write server. 1. Choose Tools > Sybase IQ 15 > Open Interactive SQL. 2. On the Connect dialog, click Advanced, enter: Tab Name Identification Network Field Authentication User ID Password Action Server name Database name TCP/IP protocol options Value Database DBA or dba (case-insensitive) sql (case-sensitive) Connect to a running database on this computer <localhost>_iqdemo iqdemo Host <localhost> Port 2638 3. In Interactive SQL, click File > Open. 4. Browse to $IQDIR15/demo, and choose dqpdata.sql 5. Press F9 to create and load the Dimension table and Fact table. 6. Click File > Open. 7. Browse to $IQDIR15/demo, and choose dqpquery.sql 8. Press F9 to run the script that runs the query and generates the query plan. Reviewing the Query Plan Check the multiplex node directories to review the query plan. The comprehensive query plan is in the leader node directory, and each distributed work unit has an HTML file generated by the node that received it. To open the query plan in a Web browser, double-click the leader node directory. The query plan is represented visually by a structure called the query tree. 12 Sybase IQ

Figure 1: Sybase IQ Sample Query Plan Query Tree A query tree represents the query s data flow, and the query tree consists of nodes that represent a stage of work. Each node has a name and a data flow operator (DFO) number. All nodes in the tree are hyperlinked to more detailed information. The lowest nodes on the tree are leaf nodes. Each leaf node represents a table or a prejoin index set in the query. At the top of the plan is the root of the operator tree. Information flows up from the tables and through any operators representing joins, sorts, filters, stores, aggregation, and subqueries. The three vertical bars that connect the query operators indicate distribution. For example, between the group by node and the join, the three bars indicate that this operation occurs over parallel threads and is distributed over multiple servers. The operation between the join and leaf #01 is also distributed. Note: For additional information about query plans, see the Performance and Tuning Guide. Quick Start 13

14 Sybase IQ

Index Index D Database path 6 Demo database creating 2 Distributed queries 10 adding shared temporary storage 10, 11 iq_main file size 11 query plan 12 running distributed queries 11 G Getting Started 1 single servers 1 M Multiplex conversion 4 defining the multiplex server 5 loading data 9 Multiplex views 8 sample conversion values 6 Sybase Central 5 Sybase IQ Agent 4 Multiplex queries See Distributed queries Multiplex views Folders 8 Multiplex properties 8 N Node configuration 6 Q Queries distributed 10 Query plan 12 S Sample conversion values database path 6 node configuration 6 temporary dbspace configuration 6 Sample queries running 3 Shared temporary storage adding 10 Single servers creating 1 demo database 2 environmental variables 2 Sample query 3 Sybase Central starting 5 Sybase IQ Agent multiplex conversion 4 starting 4 T Temporary dbspace configuration 6 V Variables $IQDIR15 2 $SYBASE 2 setting 2 Quick Start 15

Index 16 Sybase IQ