Release changes for 1.2 Beta
[csql.git] / README.INSTALL
blob1519b0daef6525ddb66a8b3091fc0a35059e8ca2
1 Introduction 
2 ------------
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.
6 Platforms Supported
7 -------------------
8 Linux
10 Compilers Supported
11 -------------------
12 g++ in linux
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,
21   1. include
22   2. lib
23   3. bin
24   4. docs
25   5. examples
26 and following files,
27   1. Doxyfile
28   2. COPYING
29   3. AUTHORS
30   4. ChangeLog
31   5. README 
32   6. csql.conf 
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
45 $doxygen
47 This will create "docs/html" directory under which API Reference html files are stored. Refer index.html in that directory.
49 Starting the Server
50 -------------------
51 Note: kernel.shmmax should be set to more than 500 MB before starting the server
53 In linux for setting 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.
59 $export CSQL_CONFIG_FILE=/tmp/csql.conf
61 You should find csqlserver executable under the bin directory of the installation.
63 $./csqlserver
65 This starts the server and creates the database file.
67 Note:
68 Refer UserManual.pdf available in docs folder to know how to work with csql
70 Shutting down the Server
71 ------------------------
72 Pressing Ctrl-C on the terminal where csqlserver is running, is safe and will stop the server gracefully by removing the database file.