Jan Steemann
db078f1554
changed some APIs of AssocMulti
2015-11-25 15:40:01 +01:00
Jan Steemann
9ef5b4746a
removed several includes from Common.h
2015-11-25 12:21:55 +01:00
Jan Steemann
bf71cdecdb
noexcept
2015-10-08 16:35:28 +02:00
Jan Steemann
0ea2247eb0
scan-build
2015-09-30 17:28:52 +02:00
Michael Hackstein
1afd19e550
Fixed the resizing of AssocUnique. It was different from AssocMulti which cased the nonUnique index to be faster than the unique one
2015-09-08 11:48:57 +02:00
Michael Hackstein
481cb1b7dd
Removed const in AssocMulti batch insert. It was non-const casted internally...
2015-09-03 10:16:15 +02:00
Michael Hackstein
9001e88a89
Added a general batch inserter for AssocUnique. Not used in any index yet
2015-09-03 10:16:14 +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
Jan Steemann
8f2df77c30
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-26 16:59:40 +02:00
Jan Steemann
249627e21b
fixed VS build
2015-08-26 16:59:27 +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
a3550e331e
fixed makefiles
2015-08-26 16:17:45 +02:00
Michael Hackstein
4a3b8007bd
Fixed memory calculation of HashIndexMulti. And added index information for it
2015-08-26 14:38:23 +02:00
Michael Hackstein
40c1361244
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-25 16:40:31 +02:00
Jan Steemann
18f231f666
do not read memory for comparisons
2015-08-25 16:09:12 +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
2dd0f7cf7f
Continued @neunhoef 's on simplification of hash-index. The index itself will never free anything, calling class is responsible for freeing now.
2015-08-24 13:14:35 +02:00
Michael Hackstein
d43c515b56
Fixed a bug in hash index buckets. When resizing the table was not nulled correctly.
2015-08-24 11:22:53 +02:00
Jan Steemann
a1d0c4e431
fixed g++5.1 compile error, added tests
2015-08-13 11:14:50 +02:00
Jan Steemann
99ac624ab0
declare differently
2015-08-13 00:17:37 +02:00
Jan Steemann
2a88c76e0e
fix parallel insertion
2015-08-05 15:16:07 +02:00
Jan Steemann
38227a81f8
speed up initial edge index creation
2015-08-03 18:27:50 +02:00
Max Neunhoeffer
c87575ce33
Fix bug in AssocMulti lookupByKeyContinue if batchSize==1.
2015-06-29 16:32:00 +02:00
Jan Steemann
ff7a00d6e4
fixed edge index selectivity estimates and added tests
2015-06-11 21:22:01 +02:00
Max Neunhoeffer
8ae33e04e7
Fix selectivity estimate by casting to double before division.
2015-06-11 11:50:51 +02:00
Jan Steemann
88198767dd
logging
2015-05-29 09:49:22 +02:00
Max Neunhoeffer
e426ca9205
Fix bug in edge index.
2015-05-18 13:57:32 -07:00
Jan Steemann
8670f2a36d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-18 10:33:53 +02:00
Jan Steemann
30a9f44e64
please the VisualStudio compiler
2015-05-18 10:33:37 +02:00
Jan Steemann
96648678aa
prevent memleak, disable debug output
2015-05-18 10:32:11 +02:00
Max Neunhoeffer
13204298d9
Make number of buckets in edge index configurable.
2015-05-17 19:04:47 -07:00
Max Neunhoeffer
ead85dfd7c
Use multiple buckets in AssocMulti hash.
2015-05-17 11:32:58 -07:00
Max Neunhoeffer
fe7eb0d1ad
Use high water mark 66% and low water mark 33% in edge index.
2015-05-16 13:58:44 -07:00
Max Neunhoeffer
a2f9eee8fc
Add performance logging to edge index resizing.
2015-05-16 10:02:41 -07:00
Max Neunhoeffer
78bf0d2de3
Improve performance of edge index resize.
2015-05-15 17:16:14 -07:00
Max Neunhoeffer
ca17b07dca
C++-ify associative-multi and add hashCache, adapt edge index.
2015-05-15 16:37:56 -07:00