1
0
Fork 0
Commit Graph

24 Commits

Author SHA1 Message Date
Jan 731925080d
Feature 3.3/aql optimizations (#5140) 2018-05-15 14:41:07 +02:00
Jan ae0b99de63
added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5010)
query = "FOR doc IN @@collection FILTER doc.value > @value RETURN doc";
    bind = { value: 42, "@collection": "mycollection" };
    options = { examples: 10, anonymize: true };
    require("@arangodb/aql/explainer").debugDump("/tmp/query-debug-info", query, bind, options);

Entitled users can send the generated file to the ArangoDB support to facilitate
reproduction and debugging.

The data from the generated file can be restored and analyzed via the *inspectDump*
function:

    require("@arangodb/aql/explainer").inspectDump("/tmp/query-debug-info");
2018-04-05 14:06:51 +02:00
Jan 50fef0f430
multiple cluster-related AQL optimizations (#4928)
* multiple cluster-related AQL optimizations

* do not apply single-shard optimization if _includedShards is already set from the outside

* implement changes requested by @mchacki
2018-03-23 14:52:58 +01:00
Jan 5e795da259
Feature 3.3/optimize cluster collect (#4895) 2018-03-22 18:36:15 +01:00
Jan 5230df9f72
Feature 3.3/fulltext optimizations (#3925) 2017-12-19 21:40:12 +01:00
Frank Celler a5a25754ed Feature/reduce extraction to projection (#2792)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule

* cppcheck

* try to fix compile error on MacOS

* bug fix for MacOSX

* missing namespace (in Windows compile)
2017-07-14 08:40:29 +02:00
Frank Celler 40d73d5a8b Revert "[WIP] Feature/reduce extraction to projection (#2735)"
This reverts commit 5bfcff30cd.
2017-07-12 12:52:14 +02:00
Jan 5bfcff30cd [WIP] Feature/reduce extraction to projection (#2735)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule
2017-07-12 11:22:29 +02:00
Michael Hackstein 2cd48e614b Feature/optimizer rule remove filter covered by traversal (#2731)
* Added a first test for remove-filter-covered-by-traverser rule.

* initial try at adding the functions

* Initial try at fixing all cases

* Fixing optimizer rule order

* Changing rule

* excluding quantifier ANY

* Fixing assertion error

* quick fix for some failed traverser cases

* Fixing quantifier related tests

* Adding upper limit for scannedIndex in cluster

* Fixing the mmfiles asserts

* Allow the coordinator to do condition checking on edges again. Used in enterprise.

* Fix naming of optimizer rules (#2739)
2017-07-10 10:15:17 +02:00
Jan e04991ca13 add a few missing options for the HTTP API, some general documentation cleanup (#2549) 2017-06-12 18:18:15 +02:00
Joerg Schad ef7488b216 Updated Optimizer rule documentation. (#2502) 2017-05-26 17:39:32 +02:00
Wilfried Goesgens 81be8b9901 rename .mdpp files to .md so the handling is easier. 2017-05-04 12:04:24 +02:00
jsteemann 624429ec2b fix rules documentation 2017-04-20 08:56:42 +02:00
Dan Larkin 16a5db1c75 Updated documentation with info about RocksDB/MMFiles differences. 2017-04-19 20:50:25 -04:00
jsteemann 238070b477 fixed code of some examples 2017-02-13 08:21:28 +01:00
Simran Brucherseifer e4eeb57e30 Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
Wilfried Goesgens d3df4faba2 explain optimizers with V8 expressions. 2016-09-01 16:42:38 +02:00
Simran Brucherseifer 8f0b512794 Docs: more AQL UDF, note about indexes and HAS() / IS_NULL() 2016-08-04 21:26:57 +02:00
Wilfried Goesgens ed9a34c7d1 Improve descriptions of UDFs in the cluster. 2016-08-04 17:53:29 +02:00
Wilfried Goesgens ecf537af5a Explain clustering impacts in the optimizer chapter. 2016-08-04 13:52:57 +02:00
Simran Brucherseifer 5a3ddc4cb4 Reflect renames of startup options in docs 2016-06-20 11:38:01 +02:00
Simran Brucherseifer 3c9817548e Update links in AQL docs, some reformatting 2016-05-18 22:39:05 +02:00
Simran Brucherseifer cdcd8a5b83 Minor improvements of documentation 2016-05-02 15:53:13 +02:00
Simran Brucherseifer a88551a8d4 Re-organize Users and AQL documentation 2016-05-02 15:53:13 +02:00