Objectivity/DB Query Server

This section provides answers to the most commonly asked questions related to Objectivity/DB services.







What is the Objectivity Query Server?

A query server can service multiple parallel queries, which may belong to different querying applications. Each parallel query assigns its tasks to a query server. These tasks are accumulated in the query server’s task queue and then executed by the query threads in the order the tasks were received. Consequently, the query threads are shared among the various parallel queries.


How do I run the query server?

You may start a query server at any time after installation. On Windows NT, you may need to install the query server as a system server before you start it. For information on installing servers as system servers, see Appendix A, “Running Objectivity Servers on Windows,” in Objectivity Administration book.

On Windows, you can start the query server in two ways:
➤ using the Objectivity Network Services tool that is provided with Objectivity/DB
➤ using ooqueryserver tool with the -start option to start a query server. You can
only use this tool if the query server is installed as a system server.

On UNIX, you can start the query server by using ooqueryserver with the -start option. If you plan to specify options, you can do so when you start the query server.


How do I check if the query server is running?

On Windows, to check the status of a query server on the current workstation:
➤ Click Start and point to Programs (or All Programs). In the Objectivity submenu, select Objectivity Network Services.
The status of a query server is listed next to the server’s name. To check the status of a query server on a particular workstation hostname :
➤ Enter the following command:
ooqueryserver -check hostname

On UNIX, to check the status of a query server on a particular workstation
hostname:
➤ Enter the following command:
ooqueryserver -check hostname

Return to top