3 CSQL is a fast, multi-threaded SQL main memory database engine. It is a free software, licensed with the GNU GENERAL PUBLIC LICENSE http://www.gnu.org/
4 It aids in the development of high performance, fault-resilent applications requiring concurrent access to the shared data.
14 Untar the distribution
15 ----------------------
16 Go to the root directory and enter the following commands.
17 $gunzip csql-linux-i686-1.2Beta.tar.gz
18 $tar xvf csql-linux-i686-1.2Beta.tar
20 This will create the following directories,
34 under csql-linux-i686-1.2Beta directory.
36 Available Documentation
37 -----------------------
38 1.User Manual is available under the docs directory
39 2.HTML API Reference for DB API under the docs/html directory (Refer next section to create HTML API Reference)
40 3.DB API, SQL API, JDBC, ISQL example programs under the examples directory
42 Generating API Reference
43 ------------------------
44 Go to the root directory and enter
47 This will create "docs/html" directory under which API Reference html files are stored. Refer index.html in that directory.
51 Note: kernel.shmmax should be set to more than 500 MB before starting the server
53 In linux for setting it to 1GB enter
54 $sysctl -w kernel.shmmax=1000000000
56 Change csql.conf file under the installation root directory if necessary.
57 Set the CSQL_CONFIG_FILE environment variable to absolute path of csql.conf file.
58 Lets say if you have installed csql under /home/csql, then
59 $export CSQL_CONFIG_FILE=/home/csql/csql.conf
61 Set the LD_LIBRARY_PATH variable to lib directory of the installation path
62 $export LD_LIBRARY_PATH=/home/csql/lib:$LD_LIBRARY_PATH
64 You should find csqlserver executable under the bin directory of the installation.
68 This starts the server and creates the database file.
71 Refer UserManual.pdf available in docs folder to know how to work with csql
73 Shutting down the Server
74 ------------------------
75 Pressing Ctrl-C on the terminal where csqlserver is running, is safe and will stop the server gracefully by removing the database file.