SequoiaDB is a document-oriented NoSQL Database
C++ HTML C Java C# JavaScript Other
Latest commit a33b1d5 Apr 16, 2016 @wangzhonnew wangzhonnew Merge pull request #15 from DavidLi2010/master
Fix compilation error.
Permalink
Failed to load latest commit information.
SequoiaDB Fix compilation error. Mar 15, 2016
client Revision: 21213 Feb 16, 2016
conf Revision: 20268 Oct 19, 2015
doc/manual Revision: 17824 Jul 19, 2015
driver Revision: 21213 Feb 16, 2016
java/jdk_linux64 revision 16438 Dec 7, 2014
misc Revision: 21213 Feb 16, 2016
package/conf/rpm Revision: 16603 Dec 19, 2014
script Revision: 17824 Jul 19, 2015
site_scons Initial Submit Nov 26, 2014
thirdparty Revision: 17300 Jun 12, 2015
tools Revision: 20268 Oct 19, 2015
.gitignore Initial commit Jun 3, 2014
GNU-AGPL-3.0.txt revision 16438 Dec 7, 2014
NOTICE Revision: 16720 Jan 3, 2015
README.md Revision: 16877 Jan 17, 2015
SConstruct Revision: 20268 Oct 19, 2015
build.py Revision: 16594 Dec 18, 2014
gitbuild Initial Submit Nov 26, 2014

README.md

SequoiaDB README

Welcome to SequoiaDB!

SequoiaDB is a distributed document-oriented NoSQL Database.

Engine:

sequoiadb       -- SequoiaDB Engine
sdbstart        -- SequoiaDB Engine start
sdbstop         -- SequoiaDB Engine stop
sdblist         -- SequoiaDB Engine list
sdbfmp          -- SequoiaDB fenced mode process

Shell:

sdb             -- SequoiaDB client
sdbbp           -- SequoiaDB client backend process

Cluster Manager:

sdbcm           -- SequoiaDB cluster manager
sdbcmart        -- SequoiaDB cluster manager start
sdbcmtop        -- SequoiaDB cluster manager stop
sdbcmd          -- SequoiaDB cluster manager daemon

Tools:

sdbdpsdump      -- SequoiaDB log dump
sdbexprt        -- SequoiaDB export
sdbimprt        -- SequoiaDB import
sdbinspt        -- SequoiaDB data inspection
sdbrestore      -- SequoiaDB restore
sdbtop          -- SequoiaDB TOP
sdbperfcol      -- SequoiaDB performance collection
sdbwsart        -- SequoiaDB web service start
sdbwstop        -- SequoiaDB web service stop

Drivers:

C Driver:
    libsdbc.a
    libsdbc.so
C++ Driver:
    libsdbcpp.a
    libsdbcpp.so
PHP Driver:
    libsdbphp-x.x.x.so
JAVA Driver:
    sequoiadb.jar
PYTHON Driver:
    lib.linux-x86_64-2.6
.NET Driver:
    sequoiadb.dll
Python Driver:
    pysequoiadb.tar.gz

Connectors:

Hadoop Connector:
    hadoop-connector.jar
Hive Connector:
    hive-sequoiadb-apache.jar
Storm Connector:
    storm-sequoiadb.jar

Building Prerequisites:

scons ( 2.3.0 )
ant ( 1.8.2 )
Python ( 2.7.3 )
PostgreSQL ( 9.3.4 )
Linux x86-64:
    g++ ( 4.3.4 )
    gcc ( 4.3.4 )
    make ( 3.81 )
    kernel ( 3.0.13-0.27-default )
Linux PPC64:
    g++ ( 4.3.4 )
    gcc ( 4.3.4 )
    make ( 3.81 )
    kernel ( 3.0.13-0.27-ppc64 )
Windows:
    Windows SDK 7.1 ( Installation path must be C:\Program Files\Microsoft SDKs\Windows\v7.1 or
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1 )
Note:
    The utility and kernel version are for recommendation only.
    Users may use different version but may need to deal with any incompatibility issues.

Building Engine:

Engine Only:
    scons --engine
C/C++ Client:
    scons --client
Shell:
    scons --shell
Tools:
    scons --tool
Testcase:
    scons --testcase
FMP:
    scons --fmp
All ( except drivers ):
    scons --all
Note:
    adding option "--dd" for debug build

Building Drivers:

C/C++ Client:
    scons --client
PHP Client:
    cd driver/php5
    scons --phpversion=5.4.6
    Note:
        PHP source code is located in thirdparty/php directory
        The dir name must be "php-<version>"
Python Client:
    <python-devel package is required>
    cd driver/python
    scons
Java Client:
    cd driver/java
    scons
.Net Client:
    cd driver/C#.Net
    scons

Building Connectors:

Hadoop Connector:
    cd driver/java
    scons
    cd driver/hadoop/hadoop-connector
    ant -Dhadoop.version=2.2
Hive Connector:
    cd driver/java
    scons
    cd driver/hadoop/hive
    ant
Storm Connector:
    cd driver/storm
    ant
PostgreSQL FDW:
    cd driver/postgresql
    make local
    # Make sure pg_config is in PATH
    make install

Package RPM Prerequisites:

    rpmbuild ( 4.8.0 )
    scons ( 2.3.0 )
    ant ( 1.8.2 )
    Python ( 2.7.3 )
    PostgreSQL ( 9.3.4 )
    Linux x86-64:
            g++ ( 4.3.4 )
            gcc ( 4.3.4 )
            make ( 3.81 )
            kernel ( 3.0.13-0.27-default )

Package RPM:

    # root permission is required
    # for RHEL and CentOS only
    python script/package.py
    # the RPM-package will output in package/output/RPMS/

Running:

For command line options to start SequoiaDB, invoke:
    $ ./sdbstart --help
For command line options to stop SequoiaDB, invoke:
    $ ./sdbstop --help
For command line options to start cluster manager, invoke:
    $ ./sdbcmart --help
For command line options to stop cluster manager, invoke:
    $ ./sdbcmtop --help


To run in standalone mode:
    $ mkdir /sequoiadb/data
    $ cd /sequoiadb/data
    $ /opt/sequoiadb/bin/sdbstart -p 11810 --force
    $ # sequoiadb start successful
    $ # start sequoiadb shell
    $ /opt/sequoiadb/bin/sdb
    > var db = new Sdb() ;
    > db.help() ;


To run in cluster mode, please refer SequoiaDB Information Center.

Documentation:

SequoiaDB Home Page

Restrictions:

- SequoiaDB officially supports x86_64 and ppc64 Linux build on CentOS, Redhat, SUSE and Ubuntu.
- Windows build and 32 bit build are for testing purpose only.

License:

Most SequoiaDB source files are made available under the terms of the
GNU Affero General Public License (AGPL). See individual files for details.
All source files for clients, drivers and connectors are released
under Apache License v2.0.