The Cego database system consists of the database server program called cego with several database files
and a number of programs for using and administrating the database. The cego server program can be invoked in creation mode, batch mode ( single threaded ) or daemon mode ( multi threaded ) to serve client requests.
cgclt is the database client program for accessing the database as a database user.
The client program can be invoked in batch mode to process a sql script or interactive mode to use it as an interactive shell.In both modes, several database information queries and any kind of query SQL queries are sent to the server
daemon and the corresponding result is received.
The following picture illustrates the general client/server architecture of cego.
To enable applications to access Cego, four API's are provided by the framework.
The Cego JDBC driver can be used as the standard database access for any Java applications. For Perl applications, a DBD interface is provided
which must be used in combination with the DBI driver. As third ( and more sophisticated ),
Cego provides a C++ and a plain C library which can be used for plain and direct access.
All four techniques are introduced in the corresponding section of this user guide.
cgadm is a database administration program for accessing the database as a database administrator.
Tablesets can be defined and created or dropped and removed.
Furthermore, any registered tableset in the database can be started and stopped, recovered, expanded and so on.
cgadm provides management of distributed tablesets among several nodes ( tableset switch, copy and relocation features ).
Another administration frontend for GUI users is the CegoAdm program. In fact, it implements the same functionality as the cgadm console program but offers a intuitive user interface. A dedicated user documentation is available soon.