Maximum Catalog Page Size

The database server cache is arranged in pages, which are fixed-size areas of memory. Because the server uses a single cache for the catalog store until it is shut down, all catalog pages must have the same size.

A catalog file is also arranged in pages, of size 4096, 8192, 16384, or 32768 bytes. Every database page must fit into a cache page.

You use the -gp option to set the catalog page size explicitly. By setting -gp to the maximum size, 32768, you maximize the number of columns per table that Sybase IQ can support.

By default, the server page size is the same as the largest page size of the databases on the command line. The -gp option overrides this default. Once the server starts, you cannot load a database with a larger catalog page size than the server. Unless you specify -gp, you cannot load a database file with a catalog page size larger than the databases started on the command line.

If you use larger page sizes, remember to increase your cache size. A cache of the same size will accommodate only a fraction of the number of the larger pages, leaving less flexibility in arranging the space.

Note: The -gp option and the page sizes listed here apply to the catalog store only. You set the page size for the IQ store in the IQ PAGE SIZE parameter of the CREATE DATABASE command.
Related concepts
IQ PAGE SIZE Parameter Guidelines