1
0
Fork 0
Commit Graph

3536 Commits

Author SHA1 Message Date
Jan Steemann 203560d30b moved transactions into javascript object 2012-11-06 14:42:52 +01:00
Jan Steemann 0ed1f985fe create private copies of other write transactions 2012-11-06 12:56:51 +01:00
Jan Steemann aee9599baa introduced write-locks 2012-11-05 18:22:24 +01:00
Heiko Kernbach a10ec9f22d fixed new manual urls 2012-11-02 13:35:24 +01:00
Jan Steemann 4276215251 some cleanup 2012-10-31 18:20:22 +01:00
Jan Steemann d9f34fd88e refactored and simplified document CRUD methods 2012-10-31 18:04:12 +01:00
Jan Steemann 6e22aef697 parameter reduction 2012-10-31 15:06:58 +01:00
Jan Steemann d1bc1513aa moved creation of primary index into index.c 2012-10-31 13:55:57 +01:00
Jan Steemann 42206c990c moved functions from primary to document collection 2012-10-31 13:29:07 +01:00
Jan Steemann 8cb8f2ce0e removed unused collection functions 2012-10-31 13:18:57 +01:00
Jan Steemann 07a9f35572 pass vocbase to trx 2012-10-31 13:18:36 +01:00
Jan Steemann d9f8219bd6 added --enable-trx option 2012-10-31 11:21:06 +01:00
Jan Steemann 824a317bd3 removed unused line 2012-10-31 10:52:49 +01:00
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 597b54b1fc added documentation of "blueprints" 2012-10-30 13:37:13 +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
Jan Steemann 1359d93924 fixed uninitialised bytes in call to write 2012-10-25 16:04:57 +02:00
a-brandt b1e24ca6bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-25 11:52:32 +02:00
a-brandt 26b7f4a996 added datafile upgrade 2012-10-25 11:51:45 +02:00
Jan Steemann a701d2b784 updated CHANGELOG 2012-10-25 11:05:37 +02:00
Jan Steemann bbd3dc8e23 issue #262 2012-10-25 10:57:26 +02:00
Jan Steemann d5223968e4 removed some non-used code 2012-10-24 18:39:11 +02:00
Jan Steemann c53cd0b408 added TRI_SizeFile() plus test 2012-10-24 18:37:40 +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 23647b7b04 updated CHANGELOG 2012-10-24 12:42:23 +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