1
0
Fork 0
Commit Graph

608 Commits

Author SHA1 Message Date
Jan Steemann 60f076de91 removed unused barrier reference 2012-10-31 10:34:52 +01:00
a-brandt 759f00e3d7 Bugfix wrong key length check 2012-10-30 14:44:52 +01:00
a-brandt bfd2239a80 added "blueprints" api to "Under Construction" section 2012-10-30 14:24:41 +01:00
a-brandt 3fb488c3a3 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-30 12:31:50 +01:00
a-brandt 5b77d5c3ad added key length check 2012-10-30 12:31:27 +01:00
a-brandt fff25d5ac3 renamed "blueprint" to "blueprints" and added documentation and tests 2012-10-30 12:29:51 +01:00
Jan Steemann a585b64f79 implementation of global transaction lists 2012-10-30 11:17:54 +01:00
Jan Steemann 665a6d4b7a transaction functionality, very early, not at all working 2012-10-29 18:14:42 +01:00
Jan Steemann b9008cbdd5 removed TRI_voc_did_t, removed some deprecated typedefs 2012-10-29 15:45:52 +01:00
Jan Steemann 21735bb267 minor changes 2012-10-29 15:34:28 +01:00
Jan Steemann a68fff16e2 issue #271: allow very simple optimisations for AQL function usage
This change will create field access hints also for AQL function calls.
Calls to functions will not be optimised, but meaningless usages of functions will not be optimised away.
For example:

FOR p IN PATHS(users, relations, "outbound")
  FILTER LENGTH(p.edges) > 0 && LENGTH(p.edges) < 0
  RETURN p

The FILTER in the above query uses the LENGTH() function two times in a way that no result will be produced.
Before, function calls were excluded from expression collapsing and simplification.
Now, multiple calls to the same function with the same call argument might be optimised away if the calls will
lead to no results being produced. This will only work for functions that are called with exactly one argument
which also must be an attribute name, and when the function calls are used in relational operations.
2012-10-26 13:32:01 +02:00
Jan Steemann 792f57b760 issue #271: simple paths() function optimisations
When an "outbound" query is made with the paths() function, the optimiser will now use an index if a FILTER condition can exploit an index on .source.
Example query:

FOR p IN PATHS(users, relations, "outbound")
  FILTER p.source._id == "some-id"
  RETURN p

The index on p._id was not exploited before, because the optimiser did not know that variable "p" related to collection "users" and that the condition actually would filter on users._id (the variable name in the FILTER statement is "p.source._id).
Now, AQL functions can define callbacks which are called by the optimiser to try some function-specific optimisations.
The optimise callback for PATHS() tries to exploit indexes for filters that filter on the vertex collection (1st parameter to PATHS() call). Indexes can be exploited if the query is an "outbound" query and there are filters on "source", or if the query is an "inbound" query and there are filters on "destination". "anybound" queries will not be optimised
2012-10-26 13:32:01 +02:00
a-brandt 7af1337607 bugfix wrong error message with exit() 2012-10-26 12:59:20 +02:00
a-brandt 7daa018969 removed "reuseID" 2012-10-26 12:36:13 +02:00
a-brandt 58926a145a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-26 12:28:42 +02:00
a-brandt aa265caee2 update 2012-10-26 12:28:22 +02:00
Jan Steemann 4bbdb5a912 fix gcc warning 2012-10-26 08:32:01 +02:00
Jan Steemann 296ad4f5e7 reduce index bloat for edges 2012-10-25 22:02:31 +02:00
Jan Steemann 1576ed4ba0 change result output of bidirectional edges 2012-10-25 18:07:10 +02:00
Jan Steemann 4d79cfd5cb some cleanup 2012-10-25 17:44:38 +02:00
Jan Steemann 2134b17d13 fixed some compile warnings 2012-10-25 17:30:39 +02:00
Jan Steemann f0977e261f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-25 17:19:25 +02:00
Jan Steemann cb6c8c8e7e added bidirectional edges, fixup edges index 2012-10-25 17:18:54 +02:00
a-brandt 26b7f4a996 added datafile upgrade 2012-10-25 11:51:45 +02:00
Jan Steemann d5223968e4 removed some non-used code 2012-10-24 18:39:11 +02:00
Jan Steemann 1151ef2481 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 12:57:16 +02:00
Jan Steemann ac95cc7ff9 documentation for #265 2012-10-24 12:56:52 +02:00
a-brandt 8256985a87 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 12:43:19 +02:00
Jan Steemann 5e89667d4a issue #265 2012-10-24 12:41:29 +02:00
a-brandt 71f1b7c5bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 12:36:39 +02:00
a-brandt e66daf3f43 bugfix unit tests 2012-10-24 12:36:11 +02:00
Jan Steemann 09b14c7e1b updated documentation 2012-10-24 12:29:16 +02:00
a-brandt ba5a98e613 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 10:47:21 +02:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
Jan Steemann 95c9c85608 documentation update 2012-10-24 09:39:39 +02:00
Jan Steemann d4a116525b some documentation and error message updates 2012-10-23 17:02:31 +02:00
a-brandt 9a599e468a added "_key" attribute 2012-10-23 15:58:09 +02:00
Jan Steemann 349316afeb updates docs 2012-10-23 10:25:07 +02:00
Jan Steemann 75c5a660ed made target revision handling more clear 2012-10-23 10:11:06 +02:00
Jan Steemann 4a25b5984c fixed wrong ref target 2012-10-23 10:10:45 +02:00
Jan Steemann a8baadae9e issue #256 2012-10-22 17:27:49 +02:00
Oreste Panaia 56cd3327a6 merge problems 2012-10-22 21:51:23 +08:00
Oreste Panaia 4d8d78e880 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	VisualStudio/Arango Front End Library/Arango Front End Library.vcxproj
	arangod/Actions/RestActionHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	lib/ApplicationServer/ApplicationServer.cpp
2012-10-22 21:04:12 +08:00
Oreste Panaia aad73db128 various changes for windows 2012-10-22 20:51:31 +08:00
Frank Celler 20cf93a125 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel 2012-10-22 11:34:23 +02:00
Frank Celler 884917e0a0 fixed paths of repo
Conflicts:
	CHANGELOG
2012-10-22 11:33:27 +02:00
Jan Steemann edb332ed87 issue #251: added --javascript.v8-options command line argument 2012-10-22 10:19:49 +02:00
Jan Steemann 8d6c2e38bd issue #251: added --javascript.v8-options command line argument 2012-10-22 10:17:57 +02:00
Jan Steemann 6d1201b2ec issue #248: allow AQL optimiser to pull out completely uncorrelated subqueries to the top level, resulting in less repeated evaluation of the subquery 2012-10-22 09:23:58 +02:00
Jan Steemann d117f2916a issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00