Login connection limitations

Although Adaptive Server allows you to define more than two billion logins per server, the actual number of users that can connect to Adaptive Server at one time is limited by the:

StepsAllowing the maximum number of logins and simultaneous connections

  1. Configure the operating system on which Adaptive Server is running for at least 32,000 file descriptors.

  2. Set the value of number of user connections to at least 32,000.

    NoteBefore Adaptive Server can have more than 64K logins and simultaneous connections, you must first configure the operating system for more than 64K file descriptors. See your operating system documentation for information about increasing the number of file descriptors.

Table 3-12: Global variables for logins, users, and groups

Name of variable

What it displays

Value

@@invaliduserid

Invalid user ID

-1

@@minuserid

Lowest user ID

-32768

@@guestuserid

Guest user ID

2

@@mingroupid

Lowest group or role user ID

16384

@@maxgroupid

Highest group or role user ID

1048576

@@maxuserid

Highest user ID

2147483647

@@minsuid

Lowest server user ID

-32768

@@probesuid

Probe server user ID

2

@@maxsuid

Highest server user ID

2147483647

To issue a global variable, enter:

select variable_name

For example:

select @@minuserid
----------- 
-32768