Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issues regarding psycopg2 vs psycopg3 benchmark #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

semabtariq1
Copy link

  • Updating dependencies versions
  • A hack to overcome out of index error while running psycopg3 batch inserts benchmark
  • Adding conn.commit() so that we can commit data into PostgreSQL
  • Adding python-psycopg2 and python-psycopg3 keywords so that they can be run from pgbench utility as well

- A hack to overcome out of index error while running psycopg3 batch inserts benchmark
- Adding conn.commit() so that we can commit data into PostgreSQL
- Adding python-psycopg2 and python-psycopg3 keywords so that they can be run from pgbench utility as well
@@ -247,7 +250,8 @@ def sync_worker(executor, eargs, start, duration, timeout):
max_latency = req_time
if req_time < min_latency:
min_latency = req_time
latency_stats[req_time] += 1
if req_time <= 200000:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silently truncating latencies like that does not seem right. Why is this change necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants