1
0
Fork 0
Commit Graph

64 Commits

Author SHA1 Message Date
Jan Steemann ed6a55abb9 specialized primary index for faster comparisons and less datafile lookups 2014-05-29 03:35:37 +02:00
Jan Steemann d5200f26d7 moved magic number to function 2014-05-16 19:05:54 +02:00
Jan Steemann 2e17f4bcd7 cppcheck 2014-05-09 00:21:17 +02:00
Jan Steemann 0a5e641f97 added index memory usage statistics
this also adds index memory usage to the output of the `figures` method
2014-05-02 22:05:29 +02:00
Jan Steemann 182344f7d3 renamed 2014-04-07 12:02:04 +02:00
Jan Steemann 87af8420fe cpp 2014-04-07 11:25:11 +02:00
Jan Steemann 629348d696 properly acquire shape write locks 2014-02-28 18:43:09 +01:00
Max Neunhoeffer 8d37c937bf Fix a memory leak introduced by the skip list index cleanup. 2013-11-22 11:37:59 +01:00
Max Neunhoeffer 0284c3712a Fix an off by one error at right end. 2013-11-21 16:16:30 +01:00
Max Neunhoeffer 58aad69289 Remove old Multi skip list index code. 2013-11-21 15:47:44 +01:00
Max Neunhoeffer be00fbed46 Sort out return type of NextIterator for skiplist indices. 2013-11-21 15:47:00 +01:00
Max Neunhoeffer 5b4354b991 Fix another bug in skiplist indices. 2013-11-21 15:26:51 +01:00
Max Neunhoeffer f57ba87c61 Fix bug with initialisation of _cursor. 2013-11-21 15:22:10 +01:00
Max Neunhoeffer 7d039be0a4 Remove old skiplist code. 2013-11-21 15:08:08 +01:00
Max Neunhoeffer 79a475d2d4 Fix first bug. 2013-11-21 14:52:18 +01:00
Max Neunhoeffer f98d07b02f Compiles again, untested. 2013-11-21 13:54:02 +01:00
Max Neunhoeffer fbb24948ac Snapshot for transport, still not compiling. 2013-11-20 16:47:28 +01:00
Max Neunhoeffer a2947ff18e Snapshot, arangod/SkipLists/skiplistIndex.* is unfinished.
--> Does not compile.
Still need to rework the iterator code.
2013-11-20 16:10:30 +01:00
Jan Steemann 72aaacbb54 removed priority queues
this feature was never advertised nor documented nor tested.
2013-11-18 11:12:36 +01:00
Max Neunhoeffer aeb98abf7f More cleanup of skiplist indices.
Get rid of only partially used constants in skiplist.h.
Streamline multi skiplist code.
Finish removal of skiplistEx code.
Remove further unused static function.
Remove unused default argument in comparison function.
2013-11-14 14:22:20 +01:00
Max Neunhoeffer 3e9fb1dc2f Remove comparison callbacks for skiplist index. 2013-11-14 14:22:20 +01:00
Max Neunhoeffer 709dbbda78 Export element count for skiplist indices. 2013-11-13 11:20:21 +01:00
Max Neunhoeffer 606bfdd71c Add counting of number of entries in skiplist index. 2013-11-13 10:41:50 +01:00
Max Neunhoeffer dd70073b7e Fix a typo in a comment. 2013-11-12 16:46:33 +01:00
Max Neunhoeffer a2bce313b4 Speed up skiplist removal if many keys are equal. 2013-11-07 14:10:38 +01:00
Max Neunhoeffer 4e5778ddd8 Correct comments a bit. 2013-11-07 14:10:28 +01:00
Jan Steemann b8236bc218 replaced numFields 2013-09-20 08:27:03 +02:00
Jan Steemann fe667646c0 less memory usage 2013-09-19 12:29:29 +02:00
Jan Steemann 370a1bc5a4 less memory usage 2013-09-19 11:46:21 +02:00
Jan Steemann 5c0fd200f7 more OOM awareness 2013-09-19 08:44:12 +02:00
Jan Steemann 2eb0871813 updated TODOs 2013-09-12 18:46:19 +02:00
Jan Steemann 9f804ed83d typos 2013-06-21 19:41:43 +02:00
Oreste Panaia 081ad862a6 CAS modifications 2013-03-18 19:52:53 +08:00
Oreste Panaia 8333858eac CAS modifications 2013-03-18 19:11:18 +08:00
Frank Celler 7908f2b26d cleanup of indexes, fix for compaction (hash, cap, geo, skiplist, pq, bit-array)
Conflicts:
	arangod/Ahuacatl/ahuacatl-tokens.c
	arangod/BitIndexes/bitarray.c
	arangod/BitIndexes/bitarray.h
	arangod/BitIndexes/bitarrayIndex.c
	arangod/BitIndexes/bitarrayIndex.h
	arangod/BitIndexes/masterblocktable.h
	arangod/GeoIndex/geo-index.c
	arangod/HashIndex/hash-index.c
	arangod/PriorityQueue/pqueueindex.c
	arangod/PriorityQueue/pqueueindex.h
	arangod/PriorityQueue/priorityqueue.c
	arangod/PriorityQueue/priorityqueue.h
	arangod/SkipLists/compare.h
	arangod/SkipLists/skiplist.c
	arangod/SkipLists/skiplist.h
	arangod/SkipLists/skiplistIndex.c
	arangod/SkipLists/skiplistIndex.h
	arangod/V8Server/v8-query.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/index.c
	arangod/VocBase/index.h
	arangod/VocBase/synchroniser.c
	arangod/VocBase/voc-shaper.c
	arangod/VocBase/vocbase.c
	lib/BasicsC/hashes.h
	lib/BasicsC/memory.c
	lib/ShapedJson/json-shaper.h
	lib/ShapedJson/shaped-json.h
	utils/cleanupCFiles
2013-03-15 15:45:39 +01:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
Frank Celler c501d2e0b4 fixed rollback 2013-03-12 14:26:16 +01:00
Frank Celler 1803f409b2 fixed skip list index
Conflicts:
	arangod/SkipLists/skiplistIndex.c
2013-03-12 11:13:22 +01:00
Jan Steemann 206681159f fixed memory zone mismatches 2013-03-11 11:10:08 +01:00
Frank Celler c915bfa5ff cleanup of indexes, fix for compaction (hash, cap, geo)
Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann 99630450c2 removed checks for TRI_HAVE_ICU because ICU is a prerequisite for using ArangoDB 2013-03-08 16:03:54 +01:00
Frank Celler 2553b572ab fixed mode 2013-02-21 14:14:20 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +01:00
Oreste Panaia 83ded3fc1f windows fixes 2012-12-20 17:17:30 +08:00
Jan Steemann 669fe4275a cppcheck 2012-12-18 16:44:06 +01:00
Jan Steemann 6e781f9e1c cppcheck 2012-12-18 15:24:20 +01:00
Jan Steemann b5d0457f3a fixed some issues reported by cppcheck 2012-12-12 18:42:11 +01:00
Oreste Panaia 857b66c490 windows version 2012-12-06 20:44:01 +08:00
Jan Steemann 242a16d6f5 proper naming of ICU functions 2012-12-06 12:27:22 +01:00
Jan Steemann 21fa3ed616 small stuff, oom handling etc. 2012-12-04 21:21:26 +01:00