Git Product home page Git Product logo

sequoiadb / sequoiadb Goto Github PK

View Code? Open in Web Editor NEW
316.0 23.0 117.0 698.11 MB

SequoiaDB 巨杉数据库是一款分布式文档型数据库,自研的原生分布式存储引擎支持完整ACID,具备弹性扩展、高并发和高可用特性,并以文档型 JSON 的半结构化数据格式为基础,兼容S3对象数据引擎接口,进一步形成Multi-Model多模数据处理能力,可支持跨结构化、半结构化和非结构化的多模数据处理。适用于历史数据平台、全量数据平台、实时数据中台和内容数据管理平台等各类应用场景。

Home Page: http://www.sequoiadb.com/cn/

License: GNU Affero General Public License v3.0

sequoiadb database

sequoiadb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sequoiadb's Issues

Compile error: Failed to compile Java driver!

I download the code and run python build.py --dd. But then, I get one error as follows:

Install file: "build/linux2/dd/tool/engine/sdbload2" as "tools/sdbload2"
Install file: "build/linux2/dd/tool/engine/sdbmemcheck" as "tools/sdbmemcheck"
Install file: "build/linux2/dd/tool/engine/sdbrepair" as "tools/sdbrepair"
Install file: "build/linux2/dd/engine/sqlTest2" as "tests/sqlTest2"
scons: done building targets.

scons: *** No SConstruct file found.
File "xxxxxxxxxx/python2.7/site-packages/SCons/Script/Main.py", line 920, in _main
Failed to compile Java driver!

So, any ideas?

OM添加已有数据库实例,出现报错。执行命令: discover business, 错误码: -152, failed to notify agent,detail:uncaught exception: SdbError: Failed to connect database, detail: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) , errcode=1,rc=-152。需要重试吗

执行命令: discover business, 错误码: -152, failed to notify agent,detail:uncaught exception: SdbError: Failed to connect database, detail: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) , errcode=1,rc=-152。需要重试吗?
这个OM添加已有数据库实例弹框我输入的是IP地址,但是返回的错误提示切实localhost,请问这个要怎么样处理呢?(其中,集群的添加也是添加已有的,部署方式为单机部署)

关于巨杉数据库的k8s部署疑问

版本:v5.0.1
部署方式:K8s
镜像ID:ccf6d83aab08

在运行mysql的实例pod中,一直重复出现找不到init_depoly.sh,请问该怎么解决呢?错误如下:
/bin/bash: /opt/init_depoly.sh:No such file or directory

如何杀掉后台的查询线程以及如何释放集合空间

问题一:
如何杀掉后台查询线程,比如有个查询进行了全表查询,占用大量cpu 我想杀掉他,我查询文档只有一个杀进程的api,但我应该如何获取pid呢
问题二:
当我删除集合后,应该使用什么命令释放磁盘。

无法通过mysql或mongodb查询一条存在的数据

由于没有机器测试,我使用了一台3个固态硬盘的物理机和一个vm虚拟机搭建了一个只有主节点的4节点集群,虚拟机意外被杀掉重启后出现无法通过mysql或mongodb查询一条存在的数据
执行update 会出现

Got error 40029 from storage engine

一查本条数据不存在,但通过sac和原生的驱动确可以查出本条数据。

后来在网上查询 说虚拟机可能锁文件
就将虚拟机的 *.lck文件删除 重启了节点
再次执行update
结果提示我

> 40353 - Global transaction is not available

但我事务已通过

db.updateConf({mvccon:true},{globtranson:true})

配置了

望解答

The relationship between sequoiadb and mysql

看了官网文档,有点疑问。sequoiadb 有自己的CURD,可以使用insert()向集合插入记录。mysql引擎可以用mysql命令行创建数据库,写入数据。 到目前为止,根据操作得出,sequioaDB可以使用execUpdate等操作,来操作mysql数据库。
但还是不太明白两者之间有什么关系。
另外,mysql命令行不能读写表,提示错误ERROR 1015 (HY000): Can't lock file (errno: 40159 - Unknown error 40159),该如何解决?

CentOS7版本兼容问题

CentOS7 (3.10.0-957.el7.x86_64) 安装SAC 添加主机 报错
*ERROR]: Failed to ssh to host[XXXX], rc: -6, detail: Username/PublicKey combination invalid(scanHost.js:_scanHost)
在centos6 可以添加
数据库版本 3.4 3.2.4 都试过都不行

setup.sh and unset.sh by default clean all the sequoiadb-3.4 files

Each time when run setup.sh or unset.sh, all the sequoiadb-3.4 files are cleaned.

Shouldn't the files be kept? or give a option to user to decide whether remove those files is much better.

The issue is after setup done, then got failure with quickDeploy.sh, the guideline says to execute unset.sh, but the unset.sh was gone/removed after setup.

Collection save() remove "_id" field from the original given data dict

Problem:

The save() method remove the "_id" field from the original doc, and because in python the given parameter: doc is a kind of byref, so the original doc is modified.

code proof:

if "_id" in doc:
oid = doc.pop("_id")
return self.upsert({"$set": doc}, condition={"_id": oid})

Suggestoin:

use doc.copy() instead of directly refer doc.

Compile error

After running python build.py, it shows a compiling error:

rcgen.cpp:547:14: error: no match for 'operator==' (operand types are 'std::ofstream {aka std::basic_ofstream<char>}' and 'long int')
    if ( fout == NULL )

SAC端创建主机失败

我部署的是独立模式,SAC创建主机时提示如下信息,检查错误码是超时,但是按照官方提示用setSessionAttr()延长超时时间,还是没有解决问题,请问怎么检查和排除这个问题?

”获取数据失败
执行命令: scan host, 错误码: -13, send message to agent failed:rc=-13。需要重试吗?”

quickDeploy.sh failed on starting coord group!

Step1: install sdb via following
http://doc.sequoiadb.com/cn/sequoiadb-cat_id-1519612914-edition_id-304

Step2: run quickDeploy.sh on the single node, try twice and always get this error.

    sdbadmin@dbserver:/home/guang$ cd /opt/sequoiadb
    sdbadmin@dbserver:/opt/sequoiadb$ ./tools/deploy/quickDeploy.sh
    Execute command: /opt/sequoiadb/./tools/deploy/../../bin/sdb -f /opt/sequoiadb/./tools/deploy/quickDeploy.js -e ''

    ************ Deploy SequoiaDB ************************
    Create catalog: dbserver:11800
    Create coord:   dbserver:11810
    Unexpected error[-156] when starting coord group!
    shell:1 uncaught exception: -156
    /opt/sequoiadb/tools/deploy/quickDeploy.js:836 uncaught exception: -156
    Failed to start the node:
    Do command[active group, targe:SYSCoord] failed, detail: { "HostName": "dbserver", "svcname": "11810", "errno": -2 }

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.