Coder Social home page Coder Social logo

kraret / terichdb Goto Github PK

View Code? Open in Web Editor NEW
373.0 60.0 64.0 2.79 MB

TerichDB, an open source data store based on terark engine

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

License: GNU Affero General Public License v3.0

Makefile 1.17% Shell 0.40% Python 0.30% C++ 98.00% C 0.13%

terichdb's Issues

Any plans to make `dfadb` open source?

Are there any plans to publish sources of dfadb core under some some permissive license (e.g. MIT)? If yes, what is the ETA?

I'm asking, because I'm working on a mid-size fully open-source project, which would leverage the compelling features of terark db, but only in case it's fully open source.

lack of file 'terark-base/src/terark/util/truncate_file.hpp'

which is included by 'src/terark/db/db_segment.cpp'.

Building steps (On Ubuntu 14.04, with GCC 4.8.4):

WORK_DIR=/path/to/work/dir
mkdir -p $WORK_DIR
cd $WORK_DIR

# install boost-1.60.0
wget https://github.com/boostorg/boost/archive/boost-1.60.0.tar.gz
tar xfz boost-1.60.0.tar.gz
cd boost-boost-1.60.0
./bootstrap.sh --prefix=`pwd`/output --with-libraries=system,filesystem,date_time
./b2
./b2 install
cd ..

# install tbb-4.4
wget https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20160128oss_src_0.tgz
tar xfz tbb44_20160128oss_src_0.tgz
cd tbb44_20160128oss
make -j8
cd ..

# install wiredtiger-2.7.0
wget https://github.com/wiredtiger/wiredtiger/releases/download/2.7.0/wiredtiger-2.7.0.tar.bz2
tar xfj wiredtiger-2.7.0.tar.bz2
cd wiredtiger-2.7.0
sh autogen.sh
./configure --prefix=`pwd`/output
make -j8
make install
cd ..

# build terark-db
# firstly, add the following two lines to the head of 'terark-db/Makefile'
#   INCS := -I$WORK_DIR/tbb44_20160128oss/include -I$WORK_DIR/wiredtiger-2.7.0/output/include
#   LIBS := -L$WORK_DIR/tbb44_20160128oss/build/linux_intel64_gcc_cc4.8_libc2.19_kernel3.13.0_release -L$WORK_DIR/wiredtiger-2.7.0/output/lib
#
export BOOST_INC=$WORK_DIR/boost_1_60_0/output/include
make

it's hard to install dependencies

i spend all the day to try install them on debian wheezy & jessie, but failed
i saw your offical website said in 0.13.9 have resolved this problem
but where is it?
thx

非法指令 (core dumped)

[root@server37 table1]# terark-db-schema-compile.exe dbmeta.json DbTest RowData
非法指令 (core dumped)

export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
[root@server37 table1]# g++ --version
g++ (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@server37 table1]# gcc --version
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Specify license for the published terark db code

I was unable to find any notion of licensing neither in documentation nor in source code nor any license file in the repository. Could you please clearly state under which license is the source code?

ZipIntStore::zipValues suggestion

terak::db::ZipIntStore::zipValues takes a const void* argument, and later then static cast it to const Int*. So maybe we can just modify the signature a little bit for better readability.
Before:

template<class Int>
void ZipIntStore::zipValues(const void* , size_t)

After:

template<class Int>
void ZipIntStore::zipValues(const Int* , size_t)

Clarify persistence guarantees (fault tolerance)

I've walked through the benchmarks and asked me one question - how is this DB fault tolerant? Does it use just mmap with populate? Concurrent writes to mmaped space do not provide any guarantees. And how about long writes (e.g. when the data to be written are huge - hundreds of MB)?

some questions about terichdb

您好!Terichdb的技术非常值得期待。我这里有几个问题,不知道您是否能够回答一下。

  1. 在Terichdb中,key与value是使用不同的压缩技术进行存储的,key是使用nlt_build,value是使用zbs_build?
  2. 我看文中提到了与RocksDB的对比,对比的过程中,Terichdb是在full compact之后测试的QPS,是否有在读写混合的场景下,TerakDB的QPS的变化情况?

我最近也在研究一些关于succinct的技术,持续关注与研究中!!!

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.