Optimizing For Large Numbers Of Users - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Overview of memory use

Optimizing for large numbers of users

IQ command line option changes:
-gm
-iqgovern
-gn
432
Use the following guideline to determine
record size * BLOCK FACTOR = memory required
You need extra memory for this option, in addition to the memory for the
buffers. If you have a lot of memory available, or if no other users are active
concurrently, increasing the value of
performance.
Adaptive Server IQ, running on Tru64-UNIX, Solaris/32, and Solaris/64,
handles up to 500 user connections. In order to support this greater number of
users you must adjust both operating system parameters and
parameters.
#_connections_to_support
-gm
#_ ACTIVE_ queries_to_support
-iqgovern
#_Catalog_Store_front_end_threads
-gn
-c
This is the total number of connections the server will support. Statistically,
some of these are expected to be connected and idle while others are connected
and actively using the database.
Although 500 users can be connected to IQ, for best throughput it is
recommended that far fewer users are allowed to query at once in order to allow
each of them sufficient resources to be productive. The
a ceiling on the maximum number of queries to execute at once. If more users
than the
limit have submitted queries, new queries will be queued
-iqgovern
until one of the active queries is finished.
The optimal value for
-iqgovern
of CPUs, and size of the IQ buffer cache. The default value is 2*numcpus + 10.
The correct value for
-gn
result in a hung server. Setting
reason, for 500 users an
BLOCK FACTOR
BLOCK FACTOR
depends on the nature of your queries, number
depends on the value of
above 480 is not recommended. For this
-gn
value of 40 is required.
-iqgovern
:
can improve load
server
start_asiq
value places
-iqgovern
. Setting
too low can
-gm
-gn

Advertisement

Table of Contents
loading

Table of Contents