GithubHelp home page GithubHelp logo

jprorikon / terark-db Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kraret/terichdb

0.0 2.0 0.0 1.91 MB

TerarkDB, an open source data store based on terark engine

Home Page: http://www.terark.com/

Makefile 0.68% C++ 98.13% Shell 0.51% Python 0.38% C 0.30%

terark-db's Introduction

1.TerarkDB

TerarkDB is an open source NoSQL data store based on terark storage engine.

TerarkDB is:

  • Read optimized, faster than ever.
  • Data is highly compressed and decompressed is not required before read.
  • Use FSA and succinct technologies, totally different from B+ and LSM(Which is widely used in other data stores).
  • Native support for regex expression query.
  • Benchmark

2.Features

  • High Compression Ratio
    • Higher than snappy(2~5 times) and other database products, higher than gzip, sometimes higher than bzip
  • Search Directly on Compressed Data without Decompression
    • Compressed data as index, index as compressed data
  • Fast Access
    • Optimized for SSD and in-memory workloads
  • Flexible Indexing
    • Multiple indexes on one table
    • Unique/non-unique index
    • Composite index(one index on multiple columns)
    • Ordered index (support range query)
  • Native regular expression query
  • Embeddable & Standalone Database
  • Persistent
  • Schema Based, with Rich Data Types
  • Column Group
  • Supported Platforms: Linux, Windows, Mac
  • Transparent foundation for developers to build customized products

3.Installation

3.1.Linux & MacOS

sudo wget https://raw.githubusercontent.com/Terark/terark-db/master/online_install.py && (python online_install.py; rm online_install.py)

3.2.Windows

windows installation guide

4.Compile TerarkDB

4.1.Dependencies

  • libboost_system.so(1.60.0) (boost_1_60_0)
  • libboost_filesystem(1.60.0)(Could be found in boost_1_60_0)
  • libwiredtiger.so(v2.8.0)
  • libtbb.so(tbb44_20160128)

4.2.Compiler Support

  • Linux : g++-4.8, g++-4.9, g++-5.3, g++-6.1
  • Mac OS : g++-4.8, g++-4.9, g++-5.3, g++-6.0, clang++-7.3
  • Windows : vs2015

4.3.dfadb alternative

  1. TerarkDB is open source but our core data structures and algorithms(dfadb) are not yet.
  2. dfadb is supported by a library named fsa_all_* in our released packages.
  3. Developers who want to build their own TerarkDB, should place the fsa_all-* library into their library search path(e.g. /usr/local/lib).
  4. Self compiled TerarkDB can only uses limited APIs, and need to set "TableClass" : "MockDbTable" in dbmeta.json(TerarkDB's schema file).

5. Notes

  • UNIX fork() should not be called in the applications using TerarkDB, this would cause undefined behaviors.

6.License

TerarkDB follows Free Software Foundation's GNU AGPL v3.0

For commercial purposes, please contact us.

terark-db's People

Contributors

rockeet avatar royguo avatar

Watchers

James Cloos avatar LIU ZHAOYU avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.