Comments (6)
Yes, at the moment mgconsole
is just printing out the "wall_time" in the following format:
N rows in set (0.001 sec)
While the underlying client actually has the following info available:
cost_estimate
parsing_time
planning_time
query_execution_time
I think the mgconsole
should be extended in two ways:
- By default, the output should be
N rows in set (round trip in 0.001 sec)
(to make it clear what is the time about) - Add, e.g.,
--varbose-query
flag where the other stuff would also be printed out
from mgconsole.
There is also another angle, from the client's perspective there are many viable times to present:
- round trip or time for the results being available
- time to make data consumable
- time to consume the data (in this case, printing them out)
from mgconsole.
That seems like useful information! However, from the benchmarking perspective, there is currently no way to measure performance from client. Adding that in some way would help me as a developer to better understand queries.
from mgconsole.
That seems like useful information! However, from the benchmarking perspective, there is currently no way to measure performance from client. Adding that in some way would help me as a developer to better understand queries.
What exactly would be helpful to measure and print out?
from mgconsole.
That seems like useful information! However, from the benchmarking perspective, there is currently no way to measure performance from client. Adding that in some way would help me as a developer to better understand queries.
What exactly would be helpful to measure and print out?
The pure query execution time, and planning time. The closest information to this is a PROFILE query that breaks that information by different execution cursors.
from mgconsole.
Done in #36
from mgconsole.
Related Issues (20)
- Add the ability to suggest what's the next available clause
- can't compile mgconsole on Fedora 37 HOT 1
- Enable to execute single query without entering into interactive mode and return results. HOT 3
- CYPHERL output format
- Change the order of execution times info
- Debug and improve mgclient session inside mgconsole
- Try to create a generic statically linked Linux mgconsole binary
- Importing large cypherl dataset using mgconsole in batch mode is giving: Rollback transaction because nodes+edges=999 batch index: 6 batch size: 1000 HOT 2
- Building from source error HOT 5
- Handle partial results on timeout HOT 1
- Triggers does not get backuped on database dump HOT 7
- Give/update the recommendation on how to work with the DUMP DATABASE HOT 1
- minor: autocomplete is not working for some words HOT 4
- build failed. extra semi-colon HOT 4
- '--output-format=cypherl' seems broken HOT 10
- Batched parallel not working with UNWIND HOT 1
- Add standalone mgconsole Docker container
- Add spatial formatting support
- Implement v2 of the UX AKA make mgconsole fucking awesome
- Unable to run queries from files but can interactively 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 mgconsole.