scidb
CrestinaCherry
计算机
展开
-
SciDB PartitioningSchema
/** * Partitioning schema shows how an array is distributed among the SciDB instances. * * Guidelines for introducing a new partitioning schema: * - Add to enum PartitioningSchema (right abo原创 2016-12-10 15:20:22 · 325 阅读 · 0 评论 -
再次安装scidb初始化失败
先将scidb节点关掉,编译scidb,将scidb.py stopall mydb。sudo rm -rf /opt/scidb/15.7/bin/sudo mkdir -p /opt/scidb/15.7/bin/将编译好的分到各个节点。scidb_prepare原创 2016-12-15 19:42:55 · 304 阅读 · 0 评论 -
查询词
enum child{ // abstraction abstractionArgBindings = 0, abstractionArgBody, // application applicationArgOperator = 0, applicationArgOperands,原创 2016-12-22 09:10:52 · 306 阅读 · 0 评论 -
project
case namedExpr: { LOG4CXX_TRACE(logger, "Item is named expression"); // If reference is attribute, we must do PROJECT bool doProject原创 2016-12-21 21:48:29 · 434 阅读 · 0 评论 -
PullSGArrayBlocking::pullChunk
PullSGArrayBlocking::pullAttributesPullSGArrayBlocking::pullChunkPullSGArrayBlocking::pullChunk: trying to consume chunk for attId=113WriteChunkToArrayFunc: trying to consume chunk for a原创 2016-12-11 16:30:37 · 145 阅读 · 0 评论 -
属性ID
include\array\Metadata.hprivate: AttributeID _id; std::string _name; std::set _aliases; TypeId _type; int16_t _flags; uint16_t _defaultCompressionMethod; int16_t原创 2016-12-22 14:53:03 · 391 阅读 · 0 评论 -
_resultsMap
/** * Class which associating active queries with warnings queues on client, so it easy to add new * warning from anywhere when it received from server */class SciDBWarnings: public Singleton原创 2016-12-23 10:23:25 · 187 阅读 · 0 评论 -
error:multiple definition of x
问题描述:在一个头文件a.h中定义一些变量x,在其他.c文件中(b.c,c.c)要用到。用一般的全局变量的方法,编译时总是提示error:multiple definition of x问题分析:orz,我找了好久,具体原因到现在还不知道,只是有人说全局变量的定义不要放在头文件里面。看来回头要好好学习一下基础了。解决方法:1.给每一个头文件加上条件编译:原创 2016-12-23 14:48:23 · 454 阅读 · 0 评论 -
database "mydb" is being accessed by other users
ERROR: database "mydb" is being accessed by other usersDETAIL: There are 6 other session(s) using the database.sudo ps aux | grep scidb | xargs sudo kill -9原创 2016-12-18 16:25:37 · 1568 阅读 · 0 评论 -
pull指定属性
std::shared_ptr redistributeWithCallback(std::shared_ptr& inputArray, PullSGArrayBlocking::ChunkHandler& chunkHandler,原创 2016-12-24 20:59:12 · 327 阅读 · 0 评论 -
scidb编译
先不关闭scidb编译 不要preparesudo rm -rf /opt/scidb/15.7/bin/sudo mkdir -p /opt/scidb/15.7/bin/将编译好的分到各个节点。不要prepare 直接打开就好。原创 2016-12-18 16:59:02 · 294 阅读 · 0 评论 -
查询执行完成
src\network\ClientMessageHandleJob.cpp:921 查询执行完成void ClientMessageHandleJob::completeQuery(){ const scidb::SciDB& scidb = getSciDBExecutor(); const QueryID queryID = _messageDesc->ge原创 2016-12-25 10:00:07 · 259 阅读 · 0 评论 -
join on
SELECT P.objID,P.u,P.g,P.r, P.i,P.z FROM Galaxy$num AS P JOIN Star$num AS S ON P.parentID=S.parentIDWHERE P.parentID>0;for (size_t i = 0; pureDDJoin && (i { LOG4CXX_TRACE(原创 2016-12-22 10:31:38 · 207 阅读 · 0 评论 -
结果数组
ConstChunk const*MultiStreamArray::nextChunk(AttributeID attId, MemChunk& chunk){ static const char *funcName = "MultiStreamArray::nextChunk: "; ASSERT_EXCEPTION( (attId assert原创 2016-12-27 19:00:13 · 354 阅读 · 0 评论 -
readyPos
src\array\StreamArray.cpp:390MultiStreamArray::nextChunkConstChunk const*MultiStreamArray::nextChunk(AttributeID attId, MemChunk& chunk){ static const char *funcName = "MultiStreamArray::n原创 2016-12-28 15:34:28 · 265 阅读 · 0 评论 -
一个数组有多少个属性
const ArrayDesc& desc = arrayToPull->getArrayDesc();for (AttributeID a = 0, n = desc.getAttributes().size(); a原创 2016-12-25 21:17:45 · 639 阅读 · 0 评论 -
Error description: Error during query execution. Operation 'setPosition' failed.
[scidb@co96 bin]$ iquery -q "SELECT P.objID,P.u,P.g,P.r, P.i,P.z FROM Galaxy$num AS P JOIN Star$num AS S ON P.parentID=S.parentID WHERE P.parentID>0;"UserException in file: src/query/ops/filter原创 2016-12-28 15:59:30 · 445 阅读 · 0 评论 -
语法树
scidb::parser::Translator::passGeneralizedJoinscidb::parser::Translator::passGeneralizedJoinOnClausescidb::OperatorLibrary::createLogicalOperatorInferred schema for operator scan原创 2016-12-15 17:07:09 · 2023 阅读 · 0 评论 -
join左右数组
LQPNPtr Translator::passGeneralizedJoin(const Node* ast, size_t depthOperator){ checkDepthOperator(depthOperator); LOG4CXX_TRACE(logger, "Translating JOIN-ON clause..."); LQPN原创 2016-12-21 16:53:18 · 542 阅读 · 0 评论 -
ast
br scidb::parser::Translator::Translatorbr scidb::parser::translatePlan(gdb) p n->_where->begin->column$27 = 1(gdb) p *n$24 = {_vptr.Node = 0x24aa1d0, _type = scidb::parser::selectArray,原创 2016-12-13 13:42:53 · 235 阅读 · 0 评论 -
scidb CONFIG_MEM_ARRAY_THRESHOLD
/home/scidb/data/scidbtrunk/install/installer/common/config.ini:[single_server]server-0=localhost,3install_root=/opt/scidb/VERSIONpluginsdir=/opt/scidb/VERSION/lib/scidb/pluginslogconf原创 2016-12-09 09:44:07 · 358 阅读 · 1 评论 -
SINGLE_PASS
/** * The array interface provides metadata about the array, including its handle, type and * array descriptors. * To access the data in the array, a constant (read-only) iterator can be request原创 2016-12-11 16:01:43 · 981 阅读 · 0 评论 -
iquery -t -aq
scidb.py startall mydb/home/scidb/script/mkdir.shinterval=10path=1GB # define varnum= /home/scidb/script/query$num/CreateArray$num.shiquery -t -aq "load(Neighbors$num, '/home/sci原创 2016-12-11 15:34:00 · 208 阅读 · 0 评论 -
chunk.size
PhotoObjAll100000(gdb) p chunk.size$20 = 800072800072=0.76300811767578125MB5.2. Chunk Size SelectionThe selection of chunk size in a dimension plays an important role in原创 2016-12-11 16:43:17 · 558 阅读 · 0 评论 -
LruMemChunk SharedMemCache::getLru().end()
scidb::LruMemChunk::pushToLru (this=0x4f45aa0) at /home/scidb/data/scidbtrunk/src/array/MemChunk.cpp:402402 assert(isEmpty());(gdb) sscidb::LruMemChunk::isEmpty (this=0x4f45aa0) at /原创 2016-12-11 19:38:49 · 193 阅读 · 0 评论 -
MAX 24 vcpus allowed per VM on this node
TASK ERROR: MAX 24 vcpus allowed per VM on this node原创 2016-12-11 21:58:40 · 3149 阅读 · 0 评论 -
join连接
_id = 58, _name = "psfMagErr_g" _id = 59, _name = "psfMagErr_r"只涉及1个属性,为什么把所有的属性都pull?原创 2016-12-11 22:29:48 · 183 阅读 · 0 评论 -
currentResultArray
#8 0x00000000014772d8 in scidb::QueryProcessorImpl::execute (this=0x43285d0, query=std::shared_ptr (count 10) 0x41dc230) at /home/scidb/data/scidbtrunk/src/query/QueryProcessor.cpp:269269原创 2016-12-12 10:19:46 · 241 阅读 · 0 评论 -
SimiJoin
SimiJoinis the semi-join [11] computing the matching rows in S. That is, according to the above formula the left outer join of S and L can be computed as the union of the inner join of原创 2016-12-12 11:22:21 · 283 阅读 · 0 评论 -
hash
scidb::CrossJoinChunkIterator::operator++ void CrossJoinChunkIterator::operator ++() { if (!hasCurrent) throw USER_EXCEPTION(SCIDB_SE_EXECUTION, SCIDB_LE_NO_CURRENT_ELEMEN原创 2016-12-12 17:04:23 · 164 阅读 · 0 评论 -
_outputIters
/** * The volatile iterator can also write chunks to the array */class ArrayIterator : public ConstArrayIterator std::vector > _outputIters;原创 2016-12-12 21:17:40 · 196 阅读 · 0 评论 -
psReplication
DBArray::DBArray ID=2, UAID=1, ps=1, desc=foo@1 [x=1:10 (4611686018427387903:-4611686018427387903),10,0] ArrayId: 2 UnversionedArrayId: 1 Version: 1 Flags: 0 PartitioningSchema: 1 enum PartitioningS原创 2016-12-10 16:13:04 · 214 阅读 · 0 评论 -
join breakpoint
br scidb::LruMemChunk::writebr scidb::PullSGArrayBlocking::pullChunkbr scidb::PullSGArrayBlocking::pullAttributesbr scidb::sg::redistributeWithCallbackbr scidb::redistributeToRandomAcces原创 2016-12-12 22:20:59 · 225 阅读 · 0 评论 -
join执行
LQPNPtr Translator::passJoins(const Node *ast, size_t depthOperator){ checkDepthOperator(depthOperator); // Left part holding result of join constantly but initially it empty LQPNPtr lef原创 2016-12-15 22:34:50 · 189 阅读 · 0 评论 -
语法解析
scidb::parser::Translator::passJoinsbr scidb::parser::Translator::passFilterClausescidb::parser::Translator::passSelectList原创 2016-12-21 12:02:48 · 259 阅读 · 0 评论 -
psHashPartitioned
/** * @file ArrayDistribution.h * * This file contains code needed by by several components: the Operators, * the Arrays and Storage, the query compiler and optimization, and probably others.原创 2016-12-19 15:06:22 · 216 阅读 · 0 评论