Create a sybsystemdb database

In version 11.9.2, the sybsystemdb database was required only for servers using two-phase commit transactions. Starting in version 12.0, all servers must have a sybsystemdb database. Adaptive Server uses this database for tracking transactions and during recovery. In addition, it is used for applications using two-phase commit and distributed transaction management (DTM).

sybsystemdb does not need to be located on the master device.


If you have a sybsystemdb database

If you have a sybsystemdb and the database is at least 4 MB, you do not need to make any changes. If the database is smaller than 4MB, increase the size with alter database.


If you do not have a sybsystemdb database

If you do not have a sybsystemdb, and will not be using two-phase commit or DTM applications, create a sybsystemdb with a minimum of 4MB.

If you will be using two-phase commit or DTM, you can either:

The following example initializes data and log devices, and creates a 20MB sybsystemdb:

1> disk init name = "sybsystemdb_data",
2> physname = "/sybase/data/sybsystemdb_data",
3> vdevno = 8,
4> size = 2560
1> disk init name = "sybsystemdb_log",
2> physname = "/sybase/data/sybsystemdb_log",
3> vdevno = 9,
4> size = 7680
1> create database sybsystemdb on sybsystemdb_data=5
2> log on sybsystemdb_log = 15