Overview of memory use
432
Use the following guideline to determine
BLOCK FACTOR
:
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
BLOCK FACTOR
can improve load
performance.
Optimizing for large numbers of users
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
start_asiq
server
parameters.
IQ command line option changes:
-gm
#_connections_to_support
-iqgovern
#_ ACTIVE_ queries_to_support
-gn
#_Catalog_Store_front_end_threads
-c
-gm
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.
-iqgovern
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
-iqgovern
value places
a ceiling on the maximum number of queries to execute at once. If more users
than the
-iqgovern
limit have submitted queries, new queries will be queued
until one of the active queries is finished.
The optimal value for
-iqgovern
depends on the nature of your queries, number
of CPUs, and size of the IQ buffer cache. The default value is 2*numcpus + 10.
-gn
The correct value for
-gn
depends on the value of
-gm
. Setting
-gn
too low can
result in a hung server. Setting
-gn
above 480 is not recommended. For this
reason, for 500 users an
-iqgovern
value of 40 is required.
Summary of Contents for Adaptive Server IQ 12.4.2
Page 1: ...Administration and Performance Guide Adaptive Server IQ 12 4 2 ...
Page 16: ...xvi ...
Page 20: ...Related documents xx ...
Page 40: ...Compatibility with earlier versions 20 ...
Page 118: ...Troubleshooting startup shutdown and connections 98 ...
Page 248: ...Importing data by replication 228 ...
Page 306: ...Integrity rules in the system tables 286 ...
Page 334: ...Cursors in transactions 314 ...
Page 396: ...Users and permissions in the system tables 376 ...
Page 438: ...Determining your data backup and recovery strategy 418 ...
Page 484: ...Network performance 464 ...
Page 500: ...System utilities to monitor CPU use 480 ...
Page 514: ...Characteristics of Open Client and jConnect connections 494 ...
Page 536: ...Index 516 ...