Database servers management

Database servers management

D2000 system uses SQL databases, that are accessible via ODBC interface, as data storage. By default, the following databases are supported:

  • PostgreSQL

  • SQL Adaptive Server Anywhere from the Sybase company

  • Microsoft SQL Server respectively its freeware version Microsoft Desktop Engine (MSDE)

The following table displays the number of connections to the database server:

Proces

Connection name

Number

D2000 Server

Configuration

3

 

Log database depository

+3

 

Backup (triggered externally)

+1

Archive

Archive database

3 (and more, depending on performance configuration)

 

Archive depository

+3

 

Backup

+1

DBManager

(configuration dependent)

 

The table above shows, that any simple application with enabled both the log database depository and the process Archive can use as many as 14 connections to the database server. Selecting the option DB Engines in the process D2000 Application Manager, the window has looks like this one:

Clicking the right mouse button on an existing server, you can carry out the following operations:

New Server

Creates a new DB server

Edit

Allows to modify the selected DB server

Delete

Deletes the selected DB server

Run

Runs the selected DB server

Stop

Stops the selected DB server

Creating new MSDE database servers (engines) through the D2000 Application Manager process is not supported, because the servers are created by the MSDE installation.

Creating a new PostgreSQL through the D2000 Application Manager process is not supported, because the servers are created by the PostgreSQL installation.

Sybase database server parameters:

The following dialog box will appear after selecting the New Server item in the pop-up menu:

Service Name

The name of a system service,  used for the database server. The server name is appended automatically according to Service Name, but it may be changed - it is a word placed after the parameter -n in the input field Parameters.

Service Type

If the Sybase Network server is installed, it is possible to configure it. The network server is not limited to a number of connections.

Version

Selection of a version.

Path for executable

Path to an exe file representing the database server. The file is different according to the selected Service Type.

Startup

Definition of the server start-up. In this case, if the radio button Automatic is not selected, the service will be started automatically by the process D2Start that starts the process D2000 Server, too.

Parameters

Server start parameters:

 

 

-c 8M

cache size

 

 

-nD2000_X

name of the database server (Engine Name)

 

 

-m

deleting the log file after finishing the use of the database

 

 

-gp 4096

page size

 

 

-gd ALL

the setting of database access level