What can I do in a case of low performance?

My database is performing poorly, what is going on?

When your deployment faces performance issues such as high loads, slow request processing, or Out Of Memory errors, it’s crucial to adopt a systematic approach to troubleshooting and resolving these problems effectively. Understanding the underlying causes and implementing targeted solutions can help restore optimal performance and ensure smooth operation of your system.

Performance monitoring and analysis

Begin by closely monitoring your system’s performance metrics, including CPU usage, memory utilization, disk I/O, and network traffic. Use monitoring tools provided within your database management dashboard in Insights tab, to identify patterns, trends, and anomalies that may indicate performance bottlenecks or resource constraints.

Free some memory by removing unused plugins

Identify and remove unused Plugins to free up memory. As an example, if you have APOC-full installed but aren’t utilizing all its procedures, switch to APOC-core. You can find the compatible version for your database and download it from the official repository:

Keep in mind that above mentioned repository is related to Neo4j v4 compatible APOC, while for v5 please refer to our documentation, as there are major changes in APOC when it comes to v4 vs v5.

Work on batching writes/deletes

One effective strategy is to implement batching for write and delete operations, therefore reducing concurrency issues. By batching these operations, the system can process multiple requests in a single operation, which can significantly improve efficiency and reduce overhead.

Additionally, simplifying requests or optimizing them where feasible can further enhance performance. This can involve streamlining the data sent in each request, reducing unnecessary metadata or redundant information, and optimizing algorithms and processes to minimize resource usage and improve response times.

By adopting these measures, the system can operate more smoothly, handle higher loads with greater ease, and deliver improved performance. It’s essential to continuously monitor and fine-tune these optimizations to ensure ongoing efficiency and effectiveness in managing system resources.

Upgrade plan and get more memory that way

One option to consider for enhancing your system’s performance is to upgrade your database plan to access additional memory resources. This upgrade can provide your system with the necessary resources to handle increased loads more effectively, reducing latency and improving overall responsiveness. By scaling up your database plan, you can ensure that your system has ample memory to accommodate growing data volumes and concurrent user requests, leading to a smoother and more efficient user experience.

Alternatively, if a permanent upgrade is not feasible or cost-effective, you may opt for a temporary upgrade. This temporary upgrade can be utilized specifically for working on request optimization and performance enhancements. During this period, you can leverage the additional resources to fine-tune your system, optimize queries, and implement caching mechanisms to improve response times and reduce resource usage.

Once the optimization work is complete and you have achieved the desired performance improvements, you can then consider downgrading to your original database plan. This approach allows you to benefit from the temporary boost in resources without committing to a permanent upgrade, making it a cost-effective and strategic solution for addressing short-term performance challenges while maintaining long-term scalability and affordability.

It’s important to assess your system’s specific requirements, performance goals, and budget constraints when deciding between a permanent or temporary upgrade. Regular monitoring and analysis of system performance metrics can also help determine the most suitable approach for optimizing your database resources and ensuring optimal performance for your application or platform.

Try out today and get $50 in CreditsTry out today and get $50
Evaluate for free
Pay as you go
No hidden costs