Server limits

Adaptive Server configuration allows page sizes of 2K, 4K, 8K, or 16K bytes. Also, the limit of 255 bytes for char/binary columns has been removed. Adaptive Server supports extended sizes of char, varchar, univarchar, unichar, binary, and varbinary datatypes. The new limit depends on the page size of the server. For various page sizes, the new limits are as follows:

Table 2-1: New limits

Page size

Maximum column size

2048

2048

4096

4096

8192

8192

16384

16384

These sizes are approximate. The basic rule specifies that the limit is the maximum size that still allows a single row to fit on a page. These limits also vary depending on the locking scheme specified when the table is created. It is assumed that the bulk of proxy tables are created with the default locking scheme, which is allpages locking.

Table 2-2: Maximum index width

Page size

Index width

2048

600

4096

1250

8192

2600

16384

5300