Comments (7)
Hi @ludovic-pl!
I suspect it’s not a problem in the library, as that specific query would be sent as a whole and returns only a single value. There’s not much for the library to do.
Let’s confirm that though. Can you run the query again using -vvv
, which will enable trace logging, and send the output?
Chris
from libneo4j-client.
Use:
echo "MATCH (n:NODE_LABEL) RETURN count(n)" | \
neo4j-client -vvv -u neo4j -P localhost
Or similar.
from libneo4j-client.
Hello @cleishm ,
I run your command as you ask and there is the output:
DEBUG [connection]: attempting connection to 172.31.3.28 [7687]
TRACE [connection]: opened socket to 172.31.3.28 [7687] (fd=4)
TRACE [connection]: initialiting TLS (fd=4)
DEBUG [tls]: server cert fingerprint: XXXXX
DEBUG [tls]: TLS certificate verification failed: self signed certificate
INFO [connection]: connected (0x56115bf96350) to 172.31.3.28:7687
DEBUG [connection]: connection 0x56115bf96350 using protocol version 1
Password:
TRACE [connection]: enqu INIT{"libneo4j-client/2.2.0", {scheme: basic, principal: "neo4j", credentials: ****}} (0x56115bf96bc0) in 0x56115bf96350
DEBUG [connection]: sent INIT (0x56115bf96bc0) in 0x56115bf96350
DEBUG [connection]: rcvd SUCCESS in response to INIT (0x56115bf96bc0)
TRACE [connection]: SUCCESS in 0x56115bf96350 (response to INIT): {server:"Neo4j/3.4.0"}
TRACE [connection]: enqu RUN{"MATCH (n:Entry) RETURN count(n)
", {}} (0x56115bf96ca0) in 0x56115bf96350
TRACE [connection]: enqu PULL_ALL (0x56115bf96d80) in 0x56115bf96350
DEBUG [connection]: sent RUN (0x56115bf96ca0) in 0x56115bf96350
DEBUG [connection]: sent PULL_ALL (0x56115bf96d80) in 0x56115bf96350
DEBUG [connection]: rcvd SUCCESS in response to RUN (0x56115bf96ca0)
TRACE [results]: SUCCESS in 0x56115bf96350 (response to RUN): {result_available_after:0,fields:["count(n)"]}
"count(n)"
DEBUG [connection]: rcvd RECORD in response to PULL_ALL (0x56115bf96d80)
28052
DEBUG [connection]: rcvd SUCCESS in response to PULL_ALL (0x56115bf96d80)
TRACE [results]: SUCCESS in 0x56115bf96350 (response to PULL_ALL): {result_consumed_after:0,type:"r"}
INFO [connection]: disconnected 0x56115bf96350
When i run the command as you ask, the request end nearly instantly, but when i run it interactively, it take forever.
from libneo4j-client.
Hello @cleishm sorry to bother you with this issue, but do you have some idea on how i can help you to resolve this problem ?
When I use the API in C++ I have also slow execution time. But when i try the same kind of request (same request with the same parameters) using the python API, i don't have this kind of slowness.
from libneo4j-client.
Hi! I cannot help too much until we can reproduce the issue.
Can you reproduce it easily, in an environment you can share or provide access to?
from libneo4j-client.
Hi @ludovic-pl! Any progress on building an environment (e.g. docker image?) where we can reproduce your issue?
from libneo4j-client.
I am unable to reproduce this issue, despite trying a few different things. I'm closing it now.
If you can reproduce the error in a way that can be replicated, I'll happily re-open it.
from libneo4j-client.
Related Issues (20)
- error: -Werror=stringop-truncation: no option -Wstringop-truncation HOT 5
- DateTime not working due to outdated Bolt Driver HOT 1
- Deleting nodes via neo4j_client libraries doesn't work HOT 2
- relationship_start_node_identity() always returns an empty value struct HOT 1
- Neo4j 4 compatibility? HOT 29
- ]Undefined symbols for architecture x86_64: HOT 5
- Issue while making package
- Open source version of Neo4j does it have c++ driver support? HOT 1
- cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation HOT 1
- Brew tap issue HOT 1
- Doesn't work in emacs shell
- openssl_iostream.c error HOT 2
- Embedded database?
- DateTime support
- Double vs. single quoting
- What is the format the neo4j client returns data in? HOT 3
- How to run the example code with vscode
- Is this library still maintened? HOT 2
- Could not agree on a protocol version HOT 1
- windows users HOT 4
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 libneo4j-client.