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:
Partial support for NULL values has been added; NULL values can be stored
and created, but the specification of certain fields as "NOT NULL" is not
supported. Further, indexes may not work correctly on NULL values.
This tool is at an early stage of development. We plan to enhance it
to visualize the query optimization process and query execution as well.
Currently, it behaves well with Netscape 4.0, but oddly with IE 4.0
(we'll try to find out why and fix it).