GithubHelp home page GithubHelp logo

Comments (3)

SimonCigoj avatar SimonCigoj commented on May 28, 2024

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>

@antejavor

from memgraph.

antejavor avatar antejavor commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.