Comments (3)
Interesting ... we are experiencing occasional slow queries using MERGE where we create a relationship to parent node and also on MATCH where we update a property in a node .... it randomly takes over a second and this time increases linearly with the number of nodes in the graph. On the updated node we have 1 index
for example this query :
MATCH (ma:Parent {id:$id}) -[]- (m:Child {id:$id}) SET m.status = $status
occasionally takes a second and more and increases linearly with the number of nodes .... status does not have an index, Child id and Parent id both are indexed.
Till date I have no % of how many requests are slow but I would say around 5% at least. For us is really important to have consistent times
Sure it probably depends on the graph structure and the may not be the same as mentioned in this ticket. But the interesting part is that the insert time increases linearly as the graph keeps getting bigger.
Let's say that 90 percentile of the queries execute in 4 ms average but the 95 percentile is a second and more.
Currently we have around 1 million nodes in graph 2 million relationships 36 indexes and 10 constrains ... there are 14 different type of nodes/labels.
We are using Memgraph 2.13.0 and java 21 on Quarkus. for the driver we use
<dependency>
<groupId>io.quarkiverse.neo4j</groupId>
<artifactId>quarkus-neo4j</artifactId>
<version>3.4.1</version>
</dependency>
from memgraph.
Hi @SimonCigoj, Thanks a lot for providing extra context on the issue and explaining your scenario.
Do you have any other issues except this one with the unstable write performance? How is the Memgraph experience in general?
from memgraph.
Related Issues (20)
- Memgraph can't start with volume in bind mode HOT 7
- OR evaluator expression does not early exit HOT 1
- Add support for a decompression of streaming on consumer level
- If server listener faced an error it stops to accept new connections
- Java driver causes exception for LocalDateTimeValue parameters before 1970 HOT 3
- Schema.assert() not working as intended
- Query causes a big Memory spike and kills Memgraph (IN_MEMORY_ANALYTICAL)
- Implement index statistics
- Create a flag to automatically generate indices HOT 2
- Fetch edge by ID
- Replication does not work on 3 freshly started VMs with memgraph 2.15.0-1 HOT 15
- Make sure all import paths including Unicode are supported
- Enable operations between different temporal types
- Memgraph regex compatibility support HOT 1
- Implement toStringOrNull function
- Expand, collapse and hide buttons does not work HOT 3
- Hyperlinks to Lab HOT 1
- Add support for export db to CSV files (nodes, edges, indexes, constraints)
- Durability issue with on-disk storage mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memgraph.