Jan Steemann
22c8b5518e
removed unused function
2015-08-28 10:30:23 +02:00
Jan Steemann
3c6a1cfe66
fix potential leak
2015-08-27 14:05:27 +02:00
Jan Steemann
2b6de5143b
removed unused include
2015-08-27 11:17:07 +02:00
Jan Steemann
fcc748d49c
added slightly faster path for non-array inserts
2015-08-27 10:58:32 +02:00
Jan Steemann
afb342eefd
split big ExecutionBlock file into smaller files
2015-08-27 00:28:20 +02:00
Jan Steemann
1a2449193e
skiplist code cleanup
2015-08-26 22:52:41 +02:00
Jan Steemann
92297c368a
removed unused function
2015-08-26 22:00:40 +02:00
Jan Steemann
1184b7e705
removed unused functions
2015-08-26 21:59:15 +02:00
Jan Steemann
a5a9e74e8b
renamed functions
2015-08-26 21:49:31 +02:00
Jan Steemann
cbd43b3839
renamed files
2015-08-26 21:49:15 +02:00
Jan Steemann
21793ff9f7
cppcheck
2015-08-26 21:36:44 +02:00
Jan Steemann
2a886e6648
some index code cleanup
2015-08-26 21:35:46 +02:00
Jan Steemann
09928c71c1
added common base class for hash and skiplist index
2015-08-26 18:14:24 +02:00
Jan Steemann
473ed2c418
return memory usage for all indexes
2015-08-26 17:13:41 +02:00
Michael Hackstein
2212be29c0
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-08-26 17:10:14 +02:00
Michael Hackstein
7257bf0b9d
Skiplist and HashIndex will now print their figures if requested
2015-08-26 17:10:02 +02:00
Max Neunhoeffer
c0f1b72bab
Add "sensible" madvise calls.
...
Essentially the strategy is: A newly created and a newly opened file
is advised to be "SEQUENTIAL ACCESS", because we will either write to
it or scan it sequentially. As soon as it is sealed, we switch the
advice to "RANDOM ACCESS", because this should be the normal pattern and
aggressive read-aheads tend to be bad. The collector and the compactor
switch a sealed file back to "SEQUENTIAL ACCESS" just before they scan
it and back to "RANDOM ACCESS", when they are done.
Furthermore, all data files in a collection are advised with "WILLNEED"
just before the collection is scanned during loading.
Finally, the actual hash table of AssocMulti is advised to be random
access, although this is an anonymous map given to us by malloc and not
a memory mapped file.
2015-08-26 16:45:26 +02:00
Jan Steemann
d0bd94f4c5
fixed Json
2015-08-26 16:23:26 +02:00
Jan Steemann
a3550e331e
fixed makefiles
2015-08-26 16:17:45 +02:00
Jan Steemann
61243ebb7b
Merge branch 'devel' of https://github.com/arangodb/arangodb into array_indexing
...
Conflicts:
arangod/HashIndex/hash-array-multi.cpp
arangod/Indexes/HashIndex.cpp
2015-08-26 15:01:29 +02:00
Jan Steemann
7329414456
fixed index size calculations
2015-08-26 14:55:58 +02:00
Michael Hackstein
4a3b8007bd
Fixed memory calculation of HashIndexMulti. And added index information for it
2015-08-26 14:38:23 +02:00
Frank Celler
2d45445a10
added additional-threads option
2015-08-26 13:13:47 +02:00
Jan Steemann
e73f546be2
added assertion
2015-08-26 12:51:31 +02:00
Jan Steemann
5bf32095a1
print abortion
2015-08-26 12:02:43 +02:00
Michael Hackstein
4effa2291e
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-26 10:41:27 +02:00
Michael Hackstein
6ac7f83e3d
Fixed rollback and added index information to log.performance
2015-08-26 10:34:42 +02:00
Jan Steemann
b0c12a9d57
added indexFigures
2015-08-26 10:21:36 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Michael Hackstein
c308065eec
Removed obsolete hash index implementation
2015-08-26 09:46:49 +02:00
Jan Steemann
9374a25822
removed unused error code
2015-08-25 19:55:48 +02:00
Jan Steemann
242c706844
use unique_ptr
2015-08-25 19:22:57 +02:00
Jan Steemann
0d0e652bdc
fixed VS compile warnings
2015-08-25 18:02:00 +02:00
Jan Steemann
75ad81401b
slightly improved logging
2015-08-25 17:35:54 +02:00
Jan Steemann
a440d65ee2
fix limits
2015-08-25 16:57:00 +02:00
Michael Hackstein
40c1361244
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-25 16:40:31 +02:00
Max Neunhoeffer
93caabb397
Fix fix.
2015-08-25 16:17:02 +02:00
Max Neunhoeffer
66498a56c3
Fix hash function for AssocMulti usage in hash-multi-index.
2015-08-25 16:13:43 +02:00
Jan Steemann
1911d4086d
forgot to commit
2015-08-25 16:08:46 +02:00
Jan Steemann
7540059f36
uint32_t => uint64_t
2015-08-25 15:08:09 +02:00
Jan Steemann
52af8c5781
added comments
2015-08-25 13:16:07 +02:00
Max Neunhoeffer
7957df9215
Merge branch 'array_indexing' of ssh://github.com/ArangoDB/ArangoDB into array_indexing
2015-08-25 13:04:48 +02:00
Jan Steemann
1af238a6d5
added tests for requireFromIncluded
2015-08-25 12:50:58 +02:00
Max Neunhoeffer
203e9a5195
Make hashcache in AssocMulti switchable-off. Does not work yet.
2015-08-25 12:46:47 +02:00
Michael Hackstein
57c6103458
Revert "The AssocUnique index now requires only an element to insert it. They key is derived"
...
This reverts commit ea70a948e254716905a7619e72b41fbef4f66695.
2015-08-25 09:40:29 +02:00
Jan Steemann
03fa10dad8
less initial syncing when resuming replication
2015-08-24 17:39:11 +02:00
Michael Hackstein
2d6af6e872
The AssocUnique index now requires only an element to insert it. They key is derived
2015-08-24 17:14:39 +02:00
Michael Hackstein
ba8264eada
AssocUnique is now a templated index. Foundation to move primary index to use it
2015-08-24 16:41:16 +02:00
Michael Hackstein
855cc0fc96
Removed all functionality from hash-array. To be removed
2015-08-24 14:55:55 +02:00
Michael Hackstein
f9647962d7
Moved HashIndex/hash-array.h to Basics/AssocUnique.h
2015-08-24 14:17:49 +02:00