Commit Graph

70 Commits

Author SHA1 Message Date
suxunbin 69b527dfd7 Fix the bug of repeated exportDB 2019-08-10 10:55:24 +08:00
suxunbin 54fb001f67 Add gexport and update gmonitor, gshow, ginit. 2019-07-27 22:42:15 +08:00
magicpanda0618 230afa37dc sync commit 115afbc219 2019-03-12 17:49:43 +08:00
suxunbin 8734d190d2 merge 'filter' to 'master' and fix a small bug ofdeleting triples 2019-03-07 16:44:04 +08:00
YuqqiZhou a70becc0f8
Change GetFinalresult() 2019-02-22 19:32:54 +08:00
magicpanda 115afbc219 fix: some bugs when handling leftmost OPTIONAL clause 2019-01-28 15:21:05 +08:00
magicpanda0618 61bcd99845 fix: a bug when handling nonexistent SELECT variables 2018-12-02 16:02:56 +08:00
magicpanda0618 658a756968 fix: changing ASK query return variable to ?_askResult 2018-11-06 10:41:51 +08:00
magicpanda0618 17be9b5415 fix: a bug when handling DISTINCT clause 2018-11-05 18:07:56 +08:00
bookug 2fc9d2a6df docs: change to LF 2018-11-04 15:49:39 +08:00
bookug 7009d0f3e3 docs: remove some nonsense comments 2018-10-19 16:30:45 +08:00
bookug 68ba02cd37 feat: lock query cache;
add files to record unsolved bugs;
getFinalResult is locked in Database::query();
2018-09-19 01:10:10 +08:00
bookug 45cd499110 fix: forbid string buffer from string index 2018-09-07 13:40:22 +08:00
bookug 355b8b0d8c feat: merge qinzongyue branch and forbid trie;
trie does not bring profits but causes several problems;
2018-09-06 14:43:02 +08:00
ZongyueQin 05fab97456 Fix&Add: Fix a bug caused by trie, change the way of parallize,
add test_parallel to test parallize performance
2018-08-09 14:14:33 +08:00
xuxinyi de1fbc36cf fix bug: ToJSON when meet '{"""}' 2018-08-05 19:46:37 +08:00
bookug 4b4ccc8385 feat: forbidden the openmp sort to speed up;
by zengli
2018-04-24 16:45:35 +08:00
bookug bf22f41bd3 Merge branch 'qinzongyue' into dev
merge qinzongyue's optimizations for key-value indices
2018-04-15 15:15:41 +08:00
bookug 66dbee493b feat: merge branch of suxunbin;
add support for parallel sort using openmp;

by suxunbin
2018-03-26 19:26:44 +08:00
suxunbin 3fb748104c Add: add parallel sort using openmp 2018-02-02 19:03:05 +08:00
ZongyueQin 5698851e43 Merge branch 'hulin' into qinzongyue 2018-01-30 15:57:34 +08:00
hulin12138 2048d38588 Merge branch 'bookug' into hulin 2018-01-30 15:24:44 +08:00
hulin12138 e79cd86e11 modify to pre_handler 2018-01-30 14:59:14 +08:00
ZongyueQin 60e36878e0 Fix: optimize calling of string compressing 2018-01-24 23:31:59 +08:00
ZongyueQin cd42d10888 Add: Compress strings when building database 2018-01-22 21:27:46 +08:00
root d9d14f1320 Modify: modify std::sort to parallelsort using openmp 2017-12-24 14:43:25 +08:00
bookug 3719970514 fix: support 12000 query threads now;
merge the modifications of chenjiaqi;
it is the opened socket for each connection that reall matters;

by zengli
2017-10-27 13:58:35 +08:00
bookug 8bc423fb95 feat: add parallism for ghttp;
use C++11 thread, each for a query;
lock teh whole database when load/build/unload;
lock teh database when running update query;
query cache and the whole KVstore not resolved;
debug_lock should be removed later;
A query thread can open file in Util::memoryLeft once, and may also use Stream which will also open several files, so the limits of system must be increased to support high parallism;

by zengli, bugs to do
2017-10-26 21:24:44 +08:00
magicpanda0618 7f3b89587f perf: work better for a large number of results
by chenjiaqi
2017-10-17 20:49:29 +08:00
magicpanda0618 2c64f1f954 fix: a bug when use QueryCache
clear QueryCache after any UPDATE query
by chenjiaqi
2017-09-24 18:01:46 +08:00
magicpanda0618 e498e79983 fix: bugs when use QueryCache
add extra triple pattern for OPTIONAL Group Pattern

by chenjiaqi
2017-09-14 14:41:25 +08:00
magicpanda0618 a697cf7519 fix: a bug when use QueryCache
by chenjiaqi
2017-09-07 17:17:27 +08:00
magicpanda0618 1caf4be04b perf: add QueryCache
determine whether new query and cached query are isomorphism

by cuihao and chenjiaqi
2017-09-06 14:17:20 +08:00
magicpanda0618 aac9638541 fix a bug when occuring OPTIONAL_GROUP_PATTERN; optimize the performance of StringIndex; 2017-07-27 15:58:51 +08:00
hulin12138 029f8cfdf7 add handler for pre vars 2017-07-17 16:27:41 +08:00
bookug 9ca106ca7e refactor: merge code of chenjiaqi;
implement Bind and GroupBy in SPARQL;

by zengli
2017-07-14 16:42:47 +08:00
bookug 9903c3d5cb refactor: adjust vlist and merge signature;
add cache for VList;
use binding in Signature;

by zengli and qinzongyue
2017-05-19 23:05:38 +08:00
bookug f3202ada40 refactor: merge type and value branch;
TODO: bug exists with ISTree;

by zengli
2017-05-17 20:46:02 +08:00
bookug d64358b606 perf: add VList for IVTree; lower the copy cost in KVstore
this work doe not ends

by zengli, maybe conflicates with type branch
2017-03-28 16:56:16 +08:00
bookug 8e74a29f07 fix bug in DEBUG macros;
change int type to unsigned type but Query/* may not be fully changed
2017-03-25 20:08:23 +08:00
bookug 1b939b3a51 change to github to develop 2017-03-24 20:10:43 +08:00
bookug deabdf293f move devGstore to gStore and go on working on github instead of git osc;
improve the init configure file;
 support empty database and indices:you can remove all triples from a db and insert/query;
 change signature struct and generating method in build;
change FIFO to LRU; fix bug in Signature, the int maybe overflow;
test on shape.db, 0.7B triples with 0.42B entities
2017-03-23 21:32:41 +08:00
bookug d35d87eb45 support JSON result 2017-02-28 20:32:01 +08:00
bookug 7d61f6de59 correct the QueryParser place 2017-02-27 19:22:36 +08:00
bookug 836c99d173 test QueryParser.h 2017-02-27 18:11:01 +08:00
bookug e3b09c6529 change memory-disk swap to all-memory in VSTree::LRUCache;
deal with extra () in sparql;
support long string with multiple lines in sparql;
support str(IRI) in sparql;
2017-02-26 17:18:21 +08:00
bookug 74598bf66e fix bugs in api and gclient;
fix bugs in gconsole, pre_var and vstree;
support selected pre vars and parallel edges;
update both en and ch docs
2017-02-17 17:09:47 +08:00
bookug 5e1f5e7a17 version 0.4.0 2017-01-16 14:12:57 +08:00
bookug 37bcc8602b fix bug in General Evaluation 2016-09-28 14:01:39 +08:00
bookug 7303e40611 add postProcessing and stringIndex for getFinalResult;add insertion/deletion;fix bugs 2016-09-25 22:14:36 +08:00