Jan
fda4eea43f
make index selection more deterministic ( #9735 )
...
* make index selection more deterministic
* serialize indexes used by traversal with their estimates
* serialize selectivity estimates for shortest path nodes too
* fix assertion that doesn't hold true in unit tests
* fix test
2019-08-20 14:45:13 +02:00
Jan
fe19b8aaae
don't unfairly favor the edge index when comparing it to more specialized indexes on `_from`/`_to` plus other attributes ( #9362 )
2019-07-01 16:32:42 +02:00
Jan
6f0c116130
clean up usage costs ( #9237 )
2019-06-26 17:01:22 +02:00
Jan
3364ea6273
refactor index APIs ( #9145 )
2019-05-31 11:12:39 +02:00
Simon
2f1cfa40e0
Fix tick overflow ( #8840 )
2019-04-26 11:07:04 +02:00
Jan
1798036ea0
Bug fix/optimizations 18022019 ( #8180 )
2019-02-19 19:24:04 +01:00
Frank Celler
ac9f375fb5
big reformat
2018-12-26 00:54:03 +01:00
Jan
8c8472be48
Bug fix/issue 7522 ( #7556 )
2018-11-29 19:25:49 +01:00
Jan
45f2110cfe
take over selectivity estimates ( #6505 )
2018-09-17 16:41:32 +02:00
Jan
d7e631eddf
Bug fix/more sparsung ( #6177 )
2018-08-17 08:47:45 +02:00
Jan
1c6ded6724
use sparse indexes in more cases ( #5790 )
2018-07-09 09:01:10 +02:00
Dan Larkin
96dbc693db
Speed up condition normalization (DNF conversion) ( #4574 )
2018-02-13 22:13:52 +01:00
Jan
720e6df82e
Bug fix/fixes 1910 ( #3471 )
...
* properly initialize all properties
* use faster comparison
* properly detect and handle "method not allowed"
* code-style
* remove unused variable
* narrow variable scope
* handle non-existance of AuthenticationFeature
* remove dead code
* replace some C string handling with std::strings
* moved assertion to the correct place
* honor number of array members for IN operator
* slightly adjust error messages
* slighty adjust some error messages
* try to fix issue with lingering replication contexts on shutdown
* clean up heartbeat thread a little bit
* small fixes
2017-10-23 09:17:36 +02:00
jsteemann
fb7490edb2
don't increase number of index results for unique indexes
2016-11-15 10:29:02 +01:00
jsteemann
ecaf2fd16b
when querying edge index selectivity, pass attribute name (i.e. _from, _to) so the selectivity of the correct index part can be returned
2016-11-11 11:01:04 +01:00
Jan Steemann
9f101ae20f
do not prefer primary indexes in that many situations
2016-11-03 17:40:17 +01:00
jsteemann
36f49d7f2c
prefer user-defined unique indexes on multiple attributes over primary index
2016-11-02 23:20:26 +01:00
jsteemann
2fdf65c3a4
a bit of index cleanup
2016-11-02 22:44:06 +01:00
jsteemann
d67c6372aa
fixed issue #2086
2016-10-06 14:04:15 +02:00
jsteemann
528ebdf573
slightly prefer primary index
2016-09-07 11:42:13 +02:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Jan Steemann
8781c2d05d
added tests
2015-12-23 14:38:48 +01:00
Jan Steemann
887e93babc
index handling fixes
2015-12-23 14:01:14 +01:00
Jan Steemann
36eac6ffd0
fixed index selection in some queries
2015-12-18 20:16:09 +01:00
Jan Steemann
82eddeb120
allow using array indexes without specifying the `[*]` extension
2015-11-17 14:03:58 +01:00
Jan Steemann
56ea700546
fixed parse error
2015-10-23 13:27:36 +02:00
Michael Hackstein
0a175a4271
Removed getOne in SimpleAttribute Matcher. All of the attributes are in sorted order rendering getOne and getAny useless
2015-10-23 12:49:57 +02:00
Jan Steemann
5a190d1110
fixed leaks, index speedup
2015-10-22 17:03:05 +02:00
Jan Steemann
0fee6fd856
attempt to speed up index queries
2015-10-22 14:11:54 +02:00
Michael Hackstein
383912a221
Added failure tests for SimpleAttributeEqualityMatcher
2015-10-21 15:16:55 +02:00
Michael Hackstein
e828984837
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-10-21 15:05:53 +02:00
Michael Hackstein
afa7f8a2e3
Added failure tests for HashIndex. Now start with AttributeEqualityMatcher.
2015-10-21 15:00:58 +02:00
Jan Steemann
0d2197e77f
changed documentation for index creation methods
2015-10-21 14:59:45 +02:00
Michael Hackstein
f181f62b9d
Fixed usage of IN operator
2015-10-20 15:54:38 +02:00
Jan Steemann
81cd1e9f62
fixed Windows compile issues
2015-10-19 12:43:11 +02:00
Jan Steemann
197be68f7d
removed IndexRange*
2015-10-13 15:12:32 +02:00
Jan Steemann
deb0a132ae
rewrite of optimizer rule `use-index-for-sort`
2015-10-13 15:00:09 +02:00
jsteemann
29b3741156
reworked cost calculations
2015-10-12 22:23:03 +02:00