Running the database server outside the current session

When you log on to a computer using a user ID and a password, you establish a session. When you start a database server, or any other application, it runs within that session. When you log off the computer, all applications associated with the session shut down.

If you need the database server to be available all the time, you can run SQL Anywhere for Windows and for Unix so that when you log off the computer, the database server remains running.

  • Windows service   You can run the Windows database server as a service. This configuration can be convenient for running high availability servers. See Windows services.

  • Unix daemon   You can run the Unix database server as a daemon using the -ud option, which enables the database server to run in the background and continue running after you log off. See Database server as a daemon on Unix.

  • Linux service   You can run the Linux database server as a service. This configuration has many convenient properties for running high availability servers. See Service utility (dbsvc) for Linux.

 Programs that can be run as services
 See also

Windows services
Creating Windows services
Deleting Windows services
Configure Windows services
Setting the refresh frequency
Start and stop services
The Windows Service Manager
Service groups overview
Database server as a daemon on Unix