Setting A Maximum Catalog Page Size - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Stopping the server

Setting a maximum Catalog page size

—Only those users who can connect to the
UTILITY_DB
can create and drop databases. See "The utility database" on page 18 for
information.
The
option limits the users who can shut down a server to those with a
-gk
certain level of permission in the database.
(default) —Only the DBA can stop the server.
DBA
(default)—Any user can stop the server.
ALL
—No user can shut down the server with the STOP ENGINE
NONE
command.
The database server cache is arranged in pages, which are fixed-size areas of
memory. Since 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 1024, 2048, or 4096 bytes.
Every database page must fit into a cache page.
You use the
option to set the Catalog page size explicitly. By setting
-gp
the maximum size, 4096, you maximize the number of columns per table that
Adaptive Server 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
server starts, you cannot load a database with a larger Catalog page size than
the server. Unless you specify
Catalog page size larger than the databases started on the command line will
fail.
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
option and the page sizes listed here apply to the Catalog Store
-gp
only. You set the page size for the IQ Store in the
the
CREATE DATABASE
information.
CHAPTER 2
Running Adaptive Server IQ
option overrides this default. Once the
-gp
, an attempt to load a database file with a
-gp
command. See "Choosing an IQ page size" for more
database
utility_db
-gp
parameter of
IQ PAGE SIZE
to
37

Advertisement

Table of Contents
loading

Table of Contents