Commit Graph

67 Commits

Author SHA1 Message Date
bookug 7b2792bbd4 style: remove bug info 2017-07-17 22:58:13 +08:00
bookug 72526284fd Merge branch 'hulin' into bookug
merge hulin's code to deal with special pre vars structure in Join
2017-07-17 21:07:47 +08:00
hulin12138 029f8cfdf7 add handler for pre vars 2017-07-17 16:27:41 +08:00
ZongyueQin cc0ea8a803 <fix> <add "pointer = NULL" after delete a pointer>
The files modified include Database.cpp ISTree.cpp ISStorage.cpp IVTree.cpp IVTree.h IVStorage.cpp KVstore.cppSITree.cpp SIStorage.cpp ClassForVlistCache.h Vlist.cpp
2017-07-17 14:04:35 +08:00
qinzongyue aa9569a643 <fix> <fix bugs in get_candiate_preID, get_important_subID, get_important_objID> 2017-07-16 15:47:21 +08:00
bookug d0bf0ac6a0 fix: bugs in update queries;
after abandoning vstree, the calling of vstree in insert/delete must be removed;

by zengli
2017-07-15 20:03:43 +08:00
qinzongyue 45e87ce393 <feat> <add Vlist's cache in preID2values>
I added Vlist's cache in preID2values. Notice the members' name, they mey be confusing.
2017-07-15 15:12:32 +08:00
ZongyueQin b51281dedf Add Vlist's cache to preID2values
Add functions to load Vlist's cache in p2values
2017-07-15 14:08:39 +08:00
ZongyueQin 599a6d072c Fix bug
fix redefinition of ClassForVlistCache
2017-07-15 11:27:00 +08:00
ZongyueQin c5a3f979fc add cache for Vlist
Add functions and members to load cache of Vlist
2017-07-15 10:47:45 +08:00
ZongyueQin a641c2a500 Add cache for Vlist
Add functions and members to load cache of Vlist
2017-07-15 10:45:44 +08:00
ZongyueQin 32020bdaca Add cache for Vlist
Add functions and members used to add cache for Vlist
2017-07-15 10:38:59 +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 ae5e610acc fix: bug in KVstore and Join;
mess code in KVstore due to read after request() release the pointer;
lack of empty judgement in Join::pre_handler;

by zengli
2017-07-12 20:33:44 +08:00
bookug 09a30931d4 refactor: use KVstore as filter instead of VSTree;
mmeory is saved, as well as stablity;
TODO: deal with pre var,a nd consider multiple same pres;

by hulin
2017-07-02 21:39:35 +08:00
bookug 670093e42a feat: add monitor for Http server
not finished, just a start

by zengli, no changes to others
2017-06-15 21:22:03 +08:00
bookug 38575b16e6 fix: forbid vlist cache 2017-06-13 15:24:00 +08:00
bookug fa147526f1 feat: use multithreading to load;
fix type bugs in string index;

by zengli
2017-06-06 18:56:46 +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 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