Custom Search
www.rocket99.com : Technical Guides Sybase Oracle UNIX Javascript


Technical Guides
Sybase
Oracle
UNIX
Javascript




Of Interest

Business Intelligence and Analytics



Oracle Training





Sybase » Administration » DBA » Sybase IQ

Sybase IQ: Server Startup Switches

     

The startup switches for IQ can be confusing - as your are affecting to database servers, 1) the SQL Anywhere/ASA Catalog Store, 2) the IQ Database Server. These are sorted in importance, or impact on the overall server. We'd like to see Sybase improve the names of these switches (gm = user connections .. really?)
Connectivity parameters, typically just the port setting.
-x      tcpip{port=5666}

Log file location (this is the server's message log, not the transaction log); zn = number of log files to keep.
 -o      /opt/sybase/iq/msglogs/HELENA.srvlog
 -zn     4
 

The Catalog Store buffer cache / memory pool for the Catalog Store (ASA server).
 -- Set a lower limit of 500mb, and upper limit of 1 GB
 
 -cl     512m
 -ch     1024m
 
 -- Set/pin allocation to 1 GB
 
 -c     1024m
 

The Catalog Store (ASA server) page size.
-gp     4096

Main cache and Temp cache settings, in MB. Avoid allocating more than 75% of the host memory.
 -- Host has 128 GB of memory, so we will allocate 96 GB to IQ.
 
 -iqmc   46000
 -iqtc   50000
 

Number of processes / user connections. Each connection takes about 10mb. Do not over-allocate.
-gm     125

Set number of cache partitions. Note: By default, Sybase IQ computes the number of partitions automatically as #Processors/8, rounded to the nearest power of 2
-iqpartition 4

Limit the number of active queries/processes (processes will queue up as appropriate). This setting should be left for the system to decide; systems with CPU saturation issues typically implement this setting. Default calculation for this parameter is: 2*(#Processors) + 10
-iqgovern 46

Set the number of threads for the IQ server. This setting should be left for the system to decide; systems with CPU saturation issues typically implement this setting. Base calculation for this setting is
60*4 + 50*(#Processors - 4) + 2*(#Connections + 2) + 1
so for an 8 CPU dual Core system, with 100 user connections, the calc would be
60*4 + 50*(16 - 4) + 2*(100 + 2) + 1 = 1045
-iqmt   2500

Threads used by Catalog Store (ASA server) - used when user connection has active query. Rule of thumb: -gn should be => -gm+5 and -iqgovern also should be > -gm.
-gn 300

Stack size, internal execution threads, IQ server
-iqtss  256

Stack size, internal execution threads, (ASA server)
-gss      

Recovery time in minutes, affects checkpoint frequency
 -gc     30
 -gr     30
 

Set the number of CPUs available to IQ. Note that for licensing, it is best to set the CPU count in the BIOS of the host.
 -gt                 8
 -iqnumberofcpus     8
 

Set login allowed to start/stop server & create databases. Best to leave these to DBA.
 -gd     DBA
 -gk     DBA
 -gu     DBA
 

Set login(s) available to run LOAD TABLE
-gl     all

Timeout for idle IQ connections, in minutes
-ti     4400

UNIX/syslog related switch (ID, max files size for server messages)
 -s      none
 -os     1000        # log file related
 

Request-level logging - set these only for brief periods, where troubleshooting is required.
 -zo     /opt/sybase/iq/msglogs/HELENA.monsql.txt
 -zr     SQL
 -zs     10m
 







Sybase : Related Topics

Sybase : Administration : Post-installation check
Sybase : Administration : Device initialization
Sybase : Administration : Database Creation
Sybase : Administration : A backup routine
Sybase : Administration : Striping Dump Devices
Sybase : Administration : Moving the transaction log to another device
Sybase : Administration : Adding a segment to a database
Sybase : Administration : Configuring the cache
Sybase : Administration : Apply multiple transaction dumps
Sybase : Administration : Database maintenance procedure
Sybase : Administration : Database maintenance script
Sybase : Administration : Server configuration
Sybase : Administration : Dealing with a Corrupted Database
Sybase : Administration : Dealing with a Server Failure
Sybase : Administration : DBCC Notes
Sybase : Administration : Create proxy tables and external logins
Sybase : Administration : Renaming a database
Sybase : Administration : Reorg: rebuilding a table
Sybase : Administration : Sybase ASE 15 Enhancements
Sybase : Administration : Setting the thresholds
Sybase : Administration : Apply a transaction dump
Sybase : Administration : Security Tasks
Sybase : Administration : Setting Process Priorities
Sybase : Administration : Sybase ASE Architecture Overview
Sybase : Administration : Drop an alias, with objects linked to login
Sybase : Administration : Display grants, effective rights to objects
Sybase : Administration : Displaying access information from sysprotects
Sybase : Administration : Database Engines: Status and Settings
Sybase : Administration : Replication Server 15 Configuration
Sybase : Administration : Loading data into Sybase IQ from a Remote Server
Sybase : Administration : Sybase IQ Overview
Sybase : Administration : Sybase IQ Functions
Sybase : Administration : Sybase IQ - Remote Access From ASE
Sybase : Administration : Sybase IQ : Procedure Profiling / Monitoring
Sybase : Administration : Sybase IQ: Restoring a Database from Dump Files
Sybase : Administration : Sybase IQ: Minimize Storage option
Sybase : Administration : Sybase IQ: Index Types
Sybase : Administration : Sybase IQ: HUGEPAGE Support
Sybase : Administration : Sybase IQ: Database Creation (Raw Devices)
Sybase : Administration : Sybase IQ : Repairing Problems / Troubleshooting Corruption
Sybase : Administration : Sybase IQ : Moving / Re-allocating / Re-org
Sybase : Administration : Sybase IQ: Sysmon / System Performance Analysis
Sybase : Administration : Sybase IQ: Monitoring Connections / Processes
Sybase : Administration : Sybase ASE: Installing a new server via srvbuildres utility
Sybase : Administration : Sybase IQ: Copying users/logins between databases
Sybase : Administration : Sybase IQ: Managing User Accounts
Sybase : Administration : Sybase ASE: Database Schema Compare
Sybase : Administration : Sybase IQ: Listing tables, ordered by size allocated
Sybase : Administration : Sybase IQ : Comparing grants / permissions between servers
Sybase : Administration : Sybase ASE: Database page size
Sybase : Administration : Sybase ASE: Managing users and roles
Sybase : Administration : Sybase ASE: Setting resource limits for users
Sybase : Administration : Sybase ASE: Setting up user assigned custom tempdbs
Sybase : Administration : Sybase ASE: Setting up the transaction log cache using logiosize
Sybase : Administration : Sybase ASE: Managing Identity Columns
Sybase : Administration : Sybase IQ: Working with options and server settings
Sybase : Administration : Sybase IQ: Monitoring and Troubleshooting via System Procedures

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site



Get the latest Rocket99 news and tech tips via






Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site




Copyright © 2016 Stoltenbar Inc All Rights Reserved.