Overview
PREDATOR is a
client-server database system. Most of the database functionality
exists at the server, which accepts SQL queries and returns the
results to the client. Several different kinds of clients have
been implemented (including a Java applet client, a Java application
client, and clients build on ODBC and JDBC). All the examples
presented here work from all the clients, unless explicitly
mentioned.
If you click on the queries in buttons, you can
interactively run them against a sample database
maintained on a server at Cornell. The results of the interactive
version of the tutorial will differ slightly from the text of the
tutorial, because all the tables are pre-created and the data is
pre-loaded. Update, create, delete and drop statements are not
provided with buttons.
In order to try these examples on your local installation,
start a server and then use one of the provided client programs to
connect to the server. Type in any of the sample SQL queries and
commands. Most of the examples in this document are also provided as
part of the regression test scripts in the release. The regression
tests provide more exhaustive examples of various features.
In order to use PREDATOR,
you need to take three steps:
- Establish environment settings. Details are provided
here. You should do this before running
the server or any clients.
- Start the server. Details are provided here.
- Start a client and run queries.
Client-specific functionality is described
in the individual client tutorial pages listed below. This tutorial
will only describe the simplest client, the "Text Client".
- TxtClient: The simple command-prompt client"
- JClient: The Java command-prompt client"
- JGUI: The Java applet client"
- CGIClient: The Forms/CGI based client"