Commit Graph

49 Commits

Author SHA1 Message Date
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 c11088ee3e feat: merge wlb branch;
support backup in gserver but not in HttpConnector;

by zengli
2017-05-18 23:27:58 +08:00
bookug 77499f990e feat: merge http branch 2017-05-18 22:56:41 +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 3bca240151 feat: add http branch 2017-05-16 21:16:40 +08:00
bookug a0e470727c refactor: to use hash instead of sort for candidates in Join
by zengli
2017-04-13 20:01:17 +08:00
bookug 2da666757d feat: add recovery function
if load a db and quit on accidents, you can start the gconsole in native mode on the db server,
and use restore command to recover to teh latest db (backup function will be auto started when you connect to gserver and load
a db)
in addition, gserver stablity is improved to deal with query fails

by wanglibo, no modifications to others
2017-04-11 15:26:35 +08:00
bookug 9d760ed643 refactor: use different lrucache size for build and query
by zengli, no influence on others
2017-04-06 23:48:45 +08:00
bookug 80080d1bca refactor: add VList for IVTree
also, lower the copy cost in KVstore

by zengli, all changes closed in KVstore, using new/delete for all instead of malloc/free
2017-04-01 16:03:05 +08:00
bookug 2f7a7a8b69 refactor: move id_tuples to disk in build
to run large datasets like freebase

by zengli, no changes to others
2017-03-29 13:48:39 +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 464d994ba4 use constexpr for c++11 2017-03-26 21:10:37 +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 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 b7532bcb7d fix bugs in gclient 2017-02-08 16:29:53 +08:00
bookug 5e1f5e7a17 version 0.4.0 2017-01-16 14:12:57 +08:00
bookug ea36218626 print time in build process 2016-10-25 15:10:52 +08:00
bookug 7303e40611 add postProcessing and stringIndex for getFinalResult;add insertion/deletion;fix bugs 2016-09-25 22:14:36 +08:00
bookug 5ecf86c282 Merge branch 'distribute'
Conflicts:
	Database/Database.cpp
	Database/Database.h
	Database/Join.cpp
	Database/Strategy.cpp
	KVstore/ISTree/storage/Storage.h
	KVstore/KVstore.cpp
	KVstore/KVstore.h
	KVstore/SITree/storage/Storage.h
	KVstore/SSTree/storage/Storage.h
	LICENSE
	Main/gadd.cpp
	Main/gclient.cpp
	Main/gconsole.cpp
	Main/gload.cpp
	Main/gquery.cpp
	Main/gserver.cpp
	Main/gsub.cpp
	Query/BasicQuery.cpp
	Query/IDList.cpp
	Server/Operation.cpp
	Server/Operation.h
	Server/Server.cpp
	Server/Server.h
	Server/Socket.cpp
	Signature/Signature.cpp
	Util/Bstr.cpp
	Util/Util.cpp
	Util/Util.h
	VSTree/EntryBuffer.h
	VSTree/LRUCache.cpp
	VSTree/LRUCache.h
	VSTree/VNode.cpp
	VSTree/VNode.h
	VSTree/VSTree.cpp
	VSTree/VSTree.h
	api/cpp/src/GstoreConnector.cpp
	api/cpp/src/GstoreConnector.h
	api/java/src/jgsc/GstoreConnector.java
	api/php/GstoreConnector.php
	data/small_p2.sql
	data/small_q0.sql
	data/small_q1.sql
	data/small_q2.sql
	data/small_q3.sql
	docs/MAIL.md
	docs/latex/dbpedia2014_comparison.tex
	makefile

	this is to use distributed gstore to produce a new release
	version
2016-09-18 20:20:15 +08:00
bookug 52b600d44c add distributed gstore by pengpeng 2016-09-18 20:01:57 +08:00
bookug b26105b111 add insertion and deletion;move new version here 2016-09-16 16:56:18 +08:00
bookug 7bd3d5145c move the oldest gStore to the backup branch 2016-09-16 15:19:28 +08:00
bookug 9da8953769 fix bug in preFilter 2016-06-17 16:28:56 +08:00
bookug bafcf4f565 fix bugs in build() 2016-06-15 16:35:50 +08:00
bookug ab233a19e2 fix bugs in Database::s2po... 2016-06-09 01:26:36 +08:00
bookug 5aedbcd3aa remove wasteful so2p;use p2s or p2o instead of s2p s2o sometimes 2016-05-20 21:57:15 +08:00
bookug 02e54e2c17 merge newest devGstore 2016-05-16 03:16:22 +08:00
bookug a91c71574a fix bug in add_literal_candidate 2016-05-05 23:04:04 +08:00
bookug bf1c5614b8 remove almost all debug info;move time and size to end 2016-05-04 15:36:17 +08:00
bookug 8f4fe83b18 improve join; add not-bgp;fix and better stream;add gconsole;use -O3 2016-04-01 20:58:15 +08:00
bookug 78ad6760d5 not using lfs now 2016-03-12 01:52:18 +08:00
bookug ae9f604a11 remove docs and test 2016-03-12 01:50:36 +08:00
zengli 43f5f38aa1 result direction 2016-01-25 01:43:18 -05:00
Bookug Lobert d03c79ad8c help develop 2016-01-20 15:39:36 +08:00
bookug 59d98adaaa merge several classes;
remove most warnnings;
adjust debug system;
add Stream for ResultSet;
cant add Stream for IDlist and maybe not need;
add redirection for gquery console;
add realpath for soft links but not enable;

author: zengli
2015-11-06 19:13:39 +08:00
Caesar11 4db4bb651c restore the output information.
author:hanshuo
2015-10-20 02:33:15 +00:00
qzxx 87731c7286 update README;remove debugging information
author: zengli
2015-10-19 23:58:46 +08:00
qzxx da5a84b23a fix log bug;better the gquery console;add test
author:zengli
2015-10-19 16:48:02 +08:00
Caesar11 50d6c495e4 implement the new version of BTree, and replace the old one.
author: zengli
2015-09-25 07:05:59 +00:00
Caesar11 cda9e29e86 1. fix "exit(0)" bug when open RDF file failed.
2. update api example code.

author: hanshuo
2015-05-28 02:25:06 -04:00
Caesar11 8e94ac6b9d fix memory leak in Database::only_pre_filter_after_join().
bugs was found by jialonghan@RUC.

author: hanshuo
2015-04-22 22:13:14 -04:00
zengli 57a89e57e4 fix bugs in Database::join() and Database::only_pre_filter_after_join().
bugs was found by jialonghan@RUC.

author: hanshuo
2015-04-15 15:38:51 +08:00
Caesar11 3cdffdc7b2 1. use the new encode function encodeRDF_new() to replace the old one;
2. implement the inserting triple parts of the triple store updating feature;
3. fix some bugs in LRUCache.cpp and CBteeFunc.cpp.

author: hanshuo
2015-02-02 02:53:47 -05:00
Caesar11 6b5bf3fea5 1. delete some debug codes in Database.cpp, which may lead to segmentation fault.
2. update several connection classes(in Server folder) to support configurable gserver listening port.
2015-01-17 02:52:44 -05:00
Caesar11 7297b07868 add all source file and libs from local subversion
author: hanshuo
2014-11-20 23:46:37 -05:00