question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance PyOrient x Console

See original GitHub issue

Hello, when I run directly on ./console.sh a query, this one actually is taking

“87599 item(s) found. Query executed in 0.426 sec(s).”

And when I run using pyorient with that config:

db_name = "dbdbdb"
client = pyorient.OrientDB("192.168.1.175", 2424)
client.db_open(db_name, "root", "root")


start = time.time()
my_select = client.command("SELECT test FROM Test")
done = time.time()
elapsed = done - start

the exactly same query takes almost 4.60731482506 seconds. Am I missing something? Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
Osticocommented, Jun 5, 2018

You can try with pyorient_native as decoder. and binary serialization.

1reaction
marcoaleixocommented, Jun 5, 2018

Hi @Ostico And do you know any way to increase that, like using another way to connect to Orientdb using python?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyOrient · OrientDB Manual
OrientDB supports all JVM languages for server-side scripting. Using the PyOrient module, you can develop database applications for OrientDB using the Python ...
Read more >
PyOrient Client - query() · OrientDB Manual
PyOrient Client - query(). This method issues a synchronous query to the open OrientDB database. Querying Records. In the event that you're more...
Read more >
orientechnologies/orientdb-docs: Repository of the ... - GitHub
Welcome to OrientDB - the first Multi-Model Open Source NoSQL DBMS that brings together the power of graphs and the flexibility of documents...
Read more >
OrientDB - Quick Guide - Tutorialspoint
OrientDB console v.2.1.9-SNAPSHOT (build 2.1.x@r; 2016-01-07 10:51:24+0000) www.orientdb.com Type 'help' to display all the supported commands.
Read more >
How to find out if a class exists on an OrientDB using PyOrient?
I have seen the following Question, which gives answers in Java and SQL. I'm looking for the Python equivalent. python-3.x · orientdb ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found