Test Script changes
[csql.git] / README
blobd3d9d1d64c99b32726901d049021d7588cb07b44
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 Check www.databasecache.com for more details about its usage.
8 Platforms Supported
9 -------------------
10 Linux 
12 Compilers Supported
13 -------------------
14 g++ in linux
16 Compiling the source
17 --------------------
18 Go to the root directory and enter the following commands.
20 $ export JDK_HOME=<path of jdk home>
21 $ ./configure --prefix=`pwd`/install CXXFLAGS="-I$JDK_HOME/include -I$JDK_HOME/include/linux"
22 $ make
23 $ ./csqlinstall.ksh
25 This will create "install" directory under the current directory and places all the executables created in bin directory and libraries in lib directory.
27 Available Documentation
28 -----------------------
29 1.User Manual is available under the docs directory
30 2.HTML API Reference for DB API under the docs/html directory (Refer next section)
31 3.DB API example programs under the examples directory
33 Generating API Reference
34 ------------------------
35 Go to the root directory and enter
36 $doxygen
38 This will create "docs/html" directory under which API Reference html files are stored. Refer index.html in that directory.
40 Starting the Server
41 -------------------
42 Note: kernel.shmmax should be set to more than 500 MB before starting the server
44 In linux for setting 1GB enter
45 $sysctl -w kernel.shmmax=1000000000
47 You should find csqlserver executable under the bin directory of the installation.
48 Change csql.conf file under the installation root directory if necessary.
49 Set the CSQL_CONFIG_FILE environment variable to absolute path of csql.conf file.
51 For example, if csql.conf is available at /tmp directory, then
52 $export CSQL_CONFIG_FILE=/tmp/csql.conf
54 Start the server using csqlserver executable
55 $./csqlserver
57 This starts the server and creates the database file.
59 Shutting down the Server
60 ------------------------
61 Pressing Ctrl-C on the terminal where csqlserver is running, 
62 is safe and will stop the server gracefully by removing the database file.