Matej Ferencevic
6a1f083370
Added parameters to query logging.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D757
2017-09-06 16:48:09 +02:00
florijan
51ba4727bf
Gbench plot tool added
...
Summary: See script docs.
Reviewers: buda, teon.banek, mislav.bradac
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D755
2017-09-06 15:51:49 +02:00
Matej Ferencevic
f848394e5d
Fixed bolt chunked encoder buffer for big data.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D756
2017-09-06 15:36:24 +02:00
Matej Ferencevic
642c2f07bb
Added PostgreSQL support to harness client.
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D753
2017-09-06 15:22:25 +02:00
florijan
cd0d8eb543
Harness - dense expand group added, more tests on bench
...
Summary: It turns out trivial if I use unwind for vertex creation, MATCH for edge creation and UNWIND for test duration. It took hours to converge to this :(
Reviewers: mislav.bradac, buda
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D747
2017-09-06 14:58:50 +02:00
Matej Ferencevic
4d4dbc245d
Reduced libs/setup.sh wget verbosity.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D754
2017-09-06 13:39:54 +02:00
Matej Ferencevic
8cf69738bf
Fixed bolt decoder chunked buffer implementation.
...
Summary:
Bolt client now uses new chunked decoder.
Fixed bolt session to use new chunked decoder.
Fixed chunked decoder buffer test.
Fixed bolt session test.
Removed debug message from client.
Fixed bolt encoder to comply with specification.
Reviewers: buda, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D751
2017-09-06 13:19:42 +02:00
florijan
4975743f35
Assert function added
...
Summary: `assert` function added. Useful to us for asserting DB state in harness tests. Potentially useful to the client for breaking out of a query as soon as a predicate fails, as opposed to collecting result and checking them client-side.
Reviewers: buda, mislav.bradac, teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D750
2017-09-05 13:57:56 +02:00
Matej Ferencevic
21eba052ae
Added link to memgraph to macro benchmark parent run.
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D749
2017-09-05 10:22:25 +02:00
Matej Ferencevic
70d9f3f6f1
Refactored harness and added PostgreSQL support.
...
Summary:
Moved Neo4j config to config dir.
Neo4j and PostgreSQL are now downloaded to libs.
Renamed metadata flags in memgraph.
Changed apollo generate for new harness.
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D741
2017-09-05 09:45:41 +02:00
Marko Budiselic
b30e3252e2
A python script that visualizes latency results from LDBC.
...
Summary:
* extension of run_benchmark script
* tools/plot_latency.py
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: mislav.bradac, pullbot
Differential Revision: https://phabricator.memgraph.io/D743
2017-09-04 16:36:42 +02:00
Mislav Bradac
c56621682e
Parse utf16 surrogate codepoints correctly
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D745
2017-09-04 16:03:45 +02:00
Teon Banek
d584a7b18b
Test ExpandVariable reverses on Direction::BOTH
...
Summary: Add `is_flipped` to `Expansion`
Reviewers: florijan, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D744
2017-09-04 15:35:17 +02:00
Matej Ferencevic
65c6b50ade
Removed query logging in release mode.
...
Reviewers: mislav.bradac, buda
Reviewed By: mislav.bradac, buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D742
2017-09-04 13:37:20 +02:00
florijan
f68bac922f
Map indexing added
...
Reviewers: mislav.bradac, buda
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D739
2017-09-04 09:12:46 +02:00
Matej Ferencevic
9eac85c9fb
Crash with a meaningful message when the snapshot directory is a file.
...
Reviewers: buda, florijan
Reviewed By: buda, florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D728
2017-09-03 20:39:19 +02:00
florijan
75ccdc8dca
TypedValue refactor
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Differential Revision: https://phabricator.memgraph.io/D738
2017-09-02 14:25:46 +02:00
florijan
21550d3bb1
LDBC queries checked
...
Summary:
- checked existing queries and added new ones
- minor changes to LDBC setup
Reviewers: teon.banek, buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D737
2017-09-02 10:36:02 +02:00
Teon Banek
7294f7812e
csv_to_snapshot: Treat empty csv field as null
...
Reviewers: florijan, mislav.bradac, buda
Reviewed By: florijan
Differential Revision: https://phabricator.memgraph.io/D736
2017-09-01 14:30:59 +02:00
florijan
0a5e9256f1
ExpandBreadthFirst can also have optional input
...
Reviewers: teon.banek
Reviewed By: teon.banek
Differential Revision: https://phabricator.memgraph.io/D735
2017-09-01 14:14:23 +02:00
Teon Banek
77e574fcc5
Cleanup some errors in ldbc setup scripts
...
Summary:
Don't require setup_system to run as root, nor apt-get
Implement command_fail for ldbc/setup_dependencies
ldbc.setup_dataset: Find Java on ArchLinux
Reviewers: buda, mferencevic
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D729
2017-09-01 14:13:34 +02:00
Teon Banek
26297ca641
ldbc: Extract update queries
...
Summary:
Convert update queries to oC supported by MG
Ignore ve2 in ldbc
Reviewers: buda, mislav.bradac, florijan
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D733
2017-09-01 14:13:04 +02:00
Mislav Bradac
2111612fc8
Run Neo on ramdisk in harness
...
Reviewers: mferencevic
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D734
2017-09-01 12:04:42 +02:00
florijan
7f40607dd3
TypedValue test and implementation improvements
...
Summary: Some TypedValue arithmetic ops threw exceptions for the wrong reasons, the op applicability type checks were wrong. Also the tests for that behavior were wrong. These are the fixes.
Reviewers: mislav.bradac, buda
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D724
2017-09-01 11:21:32 +02:00
Mislav Bradac
bba5d134c0
Refactor harness
...
Reviewers: mferencevic
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D732
2017-08-31 11:23:11 +02:00
Matej Ferencevic
24b52270e4
Converted macro benchmark summary from seconds to milliseconds.
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D730
2017-08-31 11:12:05 +02:00
Teon Banek
1e87f888ae
Correctly transform exists
to is not null
check
...
Reviewers: buda, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D731
2017-08-31 09:01:21 +02:00
Teon Banek
52709ad04c
Inline filter inside ExpandVariable
...
Summary:
Reorder class definition in ast.hpp.
Test inlining filters in ExpandVariable.
Reviewers: florijan, mislav.bradac
Reviewed By: florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D726
2017-08-30 16:23:16 +02:00
Mislav Bradac
e68f7ea536
Use median instead of avg in harness
...
Reviewers: mferencevic
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D725
2017-08-30 15:28:30 +02:00
Teon Banek
fe6d64066b
Plan Filter at the end of With clause
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D727
2017-08-30 15:21:28 +02:00
Mislav Bradac
d40319c111
Use 1 worker in benchmarks
...
Reviewers: mferencevic
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D722
2017-08-29 12:35:34 +02:00
Mislav Bradac
9a39a125b2
Remove rand from dba
...
Reviewers: florijan, buda
Reviewed By: florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D721
2017-08-29 12:28:32 +02:00
Matej Ferencevic
30ff78bf93
Reverted server messages.
...
Reviewers: teon.banek
Reviewed By: teon.banek
Differential Revision: https://phabricator.memgraph.io/D719
2017-08-28 12:58:56 +02:00
Mislav Bradac
3e793fb8ac
Add single_create group to harness
...
Reviewers: mferencevic, buda
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D714
2017-08-28 11:45:12 +02:00
Teon Banek
7fc821ad25
Setup basic interactive planner testing
...
Summary:
Add basic InteractiveDbAccessor.
Add printing logical operator tree.
Cache some InteractiveDbAccessor vertex counts.
Reviewers: florijan, mislav.bradac, buda
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D707
2017-08-28 10:25:17 +02:00
Mislav Bradac
409c9200e2
Remove unnecessary requirements
...
Reviewers: mferencevic, buda
Reviewed By: mferencevic
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D717
2017-08-28 10:19:14 +02:00
Marko Budiselic
a8e0792609
LDBC
...
Summary: Add LDBC helper scripts.
Reviewers: teon.banek, mferencevic, mislav.bradac
Reviewed By: teon.banek
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D563
2017-08-28 09:34:22 +02:00
Matej Ferencevic
f677da46ce
Added missing build parameter for daily debug.
...
Reviewers: buda, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D718
2017-08-27 16:52:57 +02:00
Goran Zuzic
ac6e08c78e
Distributed Memgraph with Reactors (first queries)
...
Summary:
1. added logging
2. added common transactions
3. added a hardcoded transaction
Reviewers: sasa.stanko
Reviewed By: sasa.stanko
Subscribers: pullbot, buda, lion
Differential Revision: https://phabricator.memgraph.io/D715
2017-08-25 15:26:10 +02:00
Mislav Bradac
7628084ccf
Add no-strict option to harness
...
Reviewers: mferencevic
Reviewed By: mferencevic
Differential Revision: https://phabricator.memgraph.io/D716
2017-08-25 15:07:21 +02:00
Mislav Bradac
148348defa
Document string operators
...
Reviewers: buda, teon.banek
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D712
2017-08-25 14:18:56 +02:00
Matej Ferencevic
a31a628da1
Fixed parent build for new harness client.
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D713
2017-08-25 14:18:30 +02:00
florijan
ca8fb55ac5
Collect Map added
...
Summary:
Tests are on the way. Please first comment if you're OK with this implementation, some points are discussable.
What works now:
```
bash:MEMGRAPH_ROOT/build/>./tests/manual/console 10
MG>MATCH (n) RETURN COLLECT("age_" + n.age, n.height)
+-----------------------------------------------------------------------------------------------------------------------------------+
| COLLECT("age_" + n.age, n.height) |
+-----------------------------------------------------------------------------------------------------------------------------------+
| {age_10: 176, age_13: 180, age_24: 172, age_25: 179, age_32: 123, age_33: 186, age_37: 147, age_43: 162, age_49: 126, age_6: 170} |
+-----------------------------------------------------------------------------------------------------------------------------------+
```
Reviewers: mislav.bradac, teon.banek, buda
Reviewed By: mislav.bradac, buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D695
2017-08-25 12:51:18 +02:00
Matej Ferencevic
0914c5a941
Migrate harness to use our bolt client
...
Reviewers: mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D711
2017-08-25 11:10:15 +02:00
Mislav Bradac
19bec4acc8
Fix expansion benchmark
...
Reviewers: florijan, mferencevic, teon.banek, buda
Reviewed By: florijan
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D708
2017-08-25 10:09:21 +02:00
Matej Ferencevic
5a2086b18f
Libraries are now downloaded from our local cache server.
...
Summary:
Improved libs cleanup script.
The root init script now downloads everything.
Removed obsolete init scripts.
Reviewers: buda, mislav.bradac
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D710
2017-08-25 09:58:39 +02:00
Matej Ferencevic
c507e74384
First version of bolt cpp client.
...
Reviewers: buda, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D689
2017-08-24 17:44:44 +02:00
Goran Zuzic
a6b8d6b4cf
Make Distributed Memgraph Stub
...
Summary:
* main file (copied distributed_test.cpp), start_main.py, config
Made a dedicated client and memgraph file (stubs) + code structure changes
Reviewers: sasa.stanko
Reviewed By: sasa.stanko
Subscribers: pullbot, lion, buda
Differential Revision: https://phabricator.memgraph.io/D709
2017-08-24 16:58:35 +02:00
Matej Ferencevic
9d1265f41f
Initial version of macro benchmark summary script.
...
Summary:
Changed harness output to be compatible with script.
Changed cppcheck message formatting.
Changed qa message formatting.
Changed macro benchmark summary icons.
Fixed newlines in status generators.
Added group name to harness summary.
Macro benchmark summary now handles different files.
Added more output options to summary script.
Diff builds now build parent for performance comparison.
Reviewers: buda, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D706
2017-08-24 15:11:36 +02:00
Teon Banek
fdc389f1eb
Templatize CostEstimator on DbAccessor
...
Summary:
This allows for inserting dummy DbAccessor in tests. Unfortunate side
effect of this change is that the whole implementation had to be moved
from cpp to hpp.
Also templatize remaining RuleBasedPlanner implementation
Reviewers: florijan, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D704
2017-08-24 14:27:14 +02:00